Capgemini Interview Question

How would you program a tic tac toe game?