TicTacToe using Ruby, Javascript, and jQuery