Luckily, cs101 has this situation all in hand. You calmly pick out a notebook, make a 3x3 grid, and play Tic Tac Toe like the champion you are. Good work! Now you are ready for Vegas.
Write Tic Tac Toe. Tic Tac Toe (or TTT) is an old game that involves two players and a 3x3 matrix. Alternating, each person fills in one of the grid squares with an X or an O (the players choose which one they are beforehand). When one player has three of the same symbol in a vertical, diagonal, or horizontal row, they win. If no one wins, the two players tie and all is well.
Write a human versus human TTT game that makes sure that each player follows the rules and tells you when one player has won or the game is over. Your squares should be able to be clicked on by the player as his "choice".