An implementation of the Tic-Tac-Toe game in Java