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: about 2 months 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.
- Host: GitHub
- URL: https://github.com/alleycaaat/connect-four
- Owner: alleycaaat
- Created: 2022-08-23T17:20:34.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-09T19:30:59.000Z (over 3 years ago)
- Last Synced: 2025-03-30T17:23:02.936Z (about 1 year ago)
- Topics: foreach-loop, html, javascript, js, scss, ternary-operator, web-game
- Language: JavaScript
- Homepage: https://achulslander-connect-four.netlify.app
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.