Gem containing the core functionality of a Tic-Tac-Toe game