TicTacToeGame
: the game controller and managing the flow of the gameBoard
: the board state and logicPlayer
: tbstract base class for all player classesHumanPlayer
: tandle console input for human playersAIPlayer
: trtificial intelligence player that uses minimaxGameStats
: gather, show, and store game statistics
src/main/java/main/artfix/
βββ Main.java # Main entry point of the game
βββ TicTacToeGame.java # Handle game play
βββ Board.java # Handle game board logic
βββ Player.java # Abstract player
βββ HumanPlayer.java # Handle human player
βββ AIPlayer.java # Handle AI player using minimax
βββ Position.java # Handle board location
βββ GameSymbol.java # X, O, Empty
βββ GameState.java # Win/Draw/Playing
βββ GameStats
Arthur Stepanyan
- GitHub: ArthurStep
- Version: 2.0
This project is open source and available under the MIT License.
Built with β and lots of strategic thinking!