A simple Tic-Tac-Toe game in Java using Swing