Programming guides for beginner...
Any comments are welcomed....
I hope it helps!!! Thanks for drop by...

Tuesday, January 1, 2013

Simple Tic Tac Toe game for Gadget

As you can see from my Gadget sidebar, there is a Tic Tac Toe game. Anyone of you can have it now.
Just follow the following guide.

1) Add a html/javascript gadget to your sidebar. (or anything that can used for javascript)
2) Add this line into it :

3) Save and it all done, a tic tac toe game in your sidebar for others to play.

This tic tac toe game did not have a pro computer. All steps are randomly pick by computer and it did not store any scores after you refresh the page. It only store the scores in client's browser (the one that playing the game) and it reset after refresh.
Besides that, this tic tac toe game can only be used once in a page. I didn't manage it to be multiple. If multiple in a page, there might be some problems.

Please feel free to update it to your blog/website. Please leave a comment if you like this.

No comments:

Post a Comment