Yahoo Interview Question

Design the game Tic Tac Toe.