Skip to content

twogrey/connect4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo

You can play at http://twogrey.github.io/connect4/

About

This project is a Pure* CSS Connect Four, made with JADE & SASS.

Pure ?

The cake is a lie ! Unfortunately, I have not been able to do it without a litte piece of javascript. I just used JS for one only thing : to know the current turn. I count the numbers of slots checked : if it's odd, the #1 player plays. Its it's even, it's the #2 player's turn.

Otherwise, all the other features of this game are pure CSS : the generation of the grid, the cursor behavior, the victory conditions, etc...

Contact

A question ? [email protected]

About

Connect4 in pure CSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published