Tic-Tac-Toe game in Java using JavaFX