/TicTacToe-Java

TicTacToe implemented in Java using a single framework

Primary LanguageJava

TicTacToe-Java

Create a TicTacToe game following the pattern of the example game. In particular, make sure you call your main game class TicTacToeGame and the widget class TicTacToeWidget. Your game should have the following features:

Image from Gyazo

Players are black and white. Background of board is uniform. Spots are highlighted when entered only if clicking on them is a legal move (i.e., spot not already selected). Start of game should have welcome message and indicate that white goes first. After a game winning move, message should indicate who won and spot highlighting should stop. After a game drawing move, message should indicate that game is a draw. After a move that neither wins or draws, message should indicate who goes next. See here for a demonstration: https://youtu.be/--5YJ4g1Pik