TicTacToe-java
TicTacToe game for SFCC CS141
Has three UI:
- text only console
- GUI using swing
- web using Jakarta servlets run by TomCat
Source code is split between two sub-projects TicTac and TicTacTom
- TicTac has io.github.pollei.ticTac package with four classes
- BaseTicTacGame has core of the game
- RobotFactory has several nemesis available
- Randy is equal probability to randomly choose an empty square
- Bob has weighted probability that favors blocking and winning
- Emily has weighted probability that should make her an expert TODO
- ConsoleGame
- SwingGame
- TicTacTom has io.github.pollei.ticTacTom package
- WebGame is a HttpServlet TODO
- XmlUtil TODO
- RobotList is a HttpServlet that reports available foes
- ttt.html TODO
- more to come to support xml serialization, concurrency, and other aspects TODO
The project uses: