A simple program for TicTacToe which you can only play in the console.
Tic-tac-toe, is a game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a diagonal, horizontal, or vertical row is the winner. It is a solved game with a forced draw assuming best play from both players.
Either you clone or you download the java file.
If your editor doesn't have an integrated terminal, open the cmd, navigate with "cd" to the folder where the file is stored and type "javac TicTacToe.java" + Enter. Then "java TicTacToe".
But be careful, you still need the Java JDK to use this. You can download it here.
How to reach me:
Send me a DM via
Or visit my website