Repository files navigation
This is a javascript recreation of the classic game, "Connect 4" with an updated look.
The is a two-player game in which players (yellow and red) take turns
dropping tokens into a 6-row, 7-column grid.
Tokens drop to the lowest available position within the column
and begin to stack as players alternate turns.
The first player to form a vertical, horizontal, or diagnal line
with their (yellow or red) tokens, wins!
HTML
Javascript
CSS
ThreeJS
Webpack
NodeJS
NPM
Getting Started & Live Game Link
To run locally, clone the repository and open the project in your editor
In the project directory, you can run:
Cache the player's moves in a hashmap so the checkWinner function has a better time complexity
Implement a 1-player option that challenges a computer based on difficulty level
Animate token dropping onClick
About
GA project 1. Connect 4 Vanilla Javascript
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.