Skip to content

Instantly share code, notes, and snippets.

@jimmykurian
Created February 3, 2012 21:39
Show Gist options
  • Save jimmykurian/1732837 to your computer and use it in GitHub Desktop.
Save jimmykurian/1732837 to your computer and use it in GitHub Desktop.
A Java program named TicTacToeBoard that prints a tic-tac-toe game board.
//TicTacToeBoard.java - Jimmy Kurian
class TicTacToeBoard {
public static void main(String[] args) {
System.out.println("+---+---+---+");
System.out.println("| | | |");
System.out.println("+---+---+---+");
System.out.println("| | | |");
System.out.println("+---+---+---+");
System.out.println("| | | |");
System.out.println("+---+---+---+");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment