X and O

Was looking for X and O(Noughts and cross/tic Tac toe) on the App Store and I did find some but there wasn’t any which had the 2d version of the game. So tried to make it.
Here’s a video: http://m.youtube.com/watch?v=9QodKH5hUVg
Here’s the code: https://gist.github.com/Saurabh96jun/5944485
And The Images You’ll need: https://www.dropbox.com/s/gb0lxgj64kqrpsz/IMG_0188.png and https://www.dropbox.com/s/xyvd9qo0wdbzj5n/IMG_0187.png
The computer in 1D isn’t that smart but I’m trying to improve it.

That looks great! I’ve been wanting to play this variation on Noughts and Crosses ever since I read about it recently.

Heck throw that up on the App Store. I love the visual appeal!

Love the way the shader effect works on the O, thanks for sharing :slight_smile:

Thanks!! I am not sure if there are some bugs in it yet. i couldnt find any so if you do find some, post it out here.

Really nice look! Well done!

Update: 1) Corrected,The Game Result would be draw in 1D mode if the player wins in the last move.
2) Added the Possibility of Draw in 2D mode. Earlier you had to quit.
3) Fixed a bug in 2d mode wherein if you end up on a small square in which all the
Tiles are used up(result is a draw in that square) then the game would not move ahead and you
will have to quit. The gist above is updated.