A tic-tac-toe game in iOS