32 lines
937 B
Plaintext
32 lines
937 B
Plaintext
Tic-Tac-Toe is a two-player game played on a 3X3 grid
|
|
where players alternate placing 'X' or 'O' in an empty
|
|
space in the grid. The first player to lineup three marks
|
|
in a row, column, or diagonal wins. X goes first,
|
|
players alternate turns, and only one player can have
|
|
a winning line (or no one). If a player has won, the game
|
|
ends immediately, and no more moves can be made.
|
|
|
|
considering players
|
|
3x3 = 9
|
|
X has 5 moves.
|
|
O has 4 moves.
|
|
|
|
Project is build as gradle root and child projects.
|
|
Gradle handles build and run of program using AspectJ Java runtime.
|
|
|
|
Build Environment:
|
|
JDK25,
|
|
VSCode with Edwin's Pack: Java
|
|
Or Eclipse 4.38 with Gradle Buildship
|
|
AspectJ 1.9.25+
|
|
|
|
In Eclipse import project as an Gradle Project.
|
|
|
|
Tests with ASPECTJ:
|
|
on windows:
|
|
./gradlew.bat edu.tictactoe:run
|
|
|
|
/ or on linux:
|
|
sh ./gradlew edu.tictactoe:run
|
|
AspectJ Referee component will call the Game plays.
|