Yahoo interview question

Design the game Tic Tac Toe.