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.
Recommended Sites
- Create Free Flash website
Create amazing websites with Wix.com - web hosting, dedicated servers
web reseller, managed servers - Web design in Dorset
Bournmouth based web design agency - CSS Menus
A CSSplay develoment - VPS Hosting
Virtuozzo VPS Hosting - $19.95/mo - SEO
First Rate - Australian SEO Company
"The
web site uses
CSS Play code for the site drop down menus.
This code works seamlessly in IE 6 & 7, and is an excellent solution to the Creative requirements of the site."
Damon Clark - Brandwidth
CSS play pages




