Information
It's been a little while since I produced a CSS game and a friend bet me it couldn't be done, so here it is, a CSS version of 'noughts and crosses' or 'tic tac toe'.
A small javascript routine is used to read the mouse clicks and hovers but all the logic is down to CSS.
You always get first go playing noughts and there are two possible ways for you to win, this has been built into the game as strictly speaking it should always end in a draw.
I know that this is not what CSS is for but it may inspire some other demonstration that has a purpose.
GOOD LUCK.
Copyright
Please ask permission before using or copying this example to your own web site.
If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.







