Doing it with style
Who says you cannot do logic with just CSS?
This uses the same principle as the previous Tic-Tac-Toe game but is more complex in its logic handling.
The game is for two players and plays as a standard Connect Four game keeping track of turns, disc positions and winning lines.
Green starts so click any of the green counters across the top of the playing area to drop it into the column below, the top line of counters will then turn red to show that it is now the red turn.
The counters will slide down the columns with animation in all browsers except IE9.
The logic for this is covered by just a handful of lines in the stylesheet and very little code.
Absolutely no javascript or any other scripting language.
Because of all the time and effort spent in producing this demonstration I would ask that you respect my copyright.
This demonstration can be used subject to the following terms and conditions.
Your donations keep CSS PLAY running.
If your donation is for the use of a demo then please email me with the demo url after making your donation.