Here I have created a tic-tac-toe 2 player game as an iphone application.