This is a School Homework that asks for implemeting The famous game Tic Tac Toe on JAVA, a simple implementation that runs on console.
This exercice is very helpful to get familiar with java basics (classes, methods, input/output, arrays ...)
A simple image of the output:
- Random choice of the first player (in our case X always starts first)
- Optional: Entering names of players and displaying the player turn by the name
- Adding the possibility to play with the computer
Last but not least, why not coding an other version using graphic interfaces 😜
. . .
To be continued ..