Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alleycaaat/connect-four

A classic game gone digital: Connect Four. This game is pure JavaScript; the board is created with the forEach method, adding an id and aria-label to each spot a puck can occupy. After the seventh turn it uses the forEach method and a While loop to see if a player has won.
https://github.com/alleycaaat/connect-four

foreach-loop html javascript js scss ternary-operator web-game

Last synced: 22 days ago
JSON representation

A classic game gone digital: Connect Four. This game is pure JavaScript; the board is created with the forEach method, adding an id and aria-label to each spot a puck can occupy. After the seventh turn it uses the forEach method and a While loop to see if a player has won.

Awesome Lists containing this project