Gem corresponding to the TicTacToe in Ruby