██████╗ ██████╗ ███╗ ██╗███╗ ██╗███████╗ ██████╗████████╗ ███████╗ ██████╗ ██╗ ██╗██████╗
██╔════╝██╔═══██╗████╗ ██║████╗ ██║██╔════╝██╔════╝╚══██╔══╝ ██╔════╝██╔═══██╗██║ ██║██╔══██╗
██║ ██║ ██║██╔██╗ ██║██╔██╗ ██║█████╗ ██║ ██║ █████╗ ██║ ██║██║ ██║██████╔╝
██║ ██║ ██║██║╚██╗██║██║╚██╗██║██╔══╝ ██║ ██║ ██╔══╝ ██║ ██║██║ ██║██╔══██╗
╚██████╗╚██████╔╝██║ ╚████║██║ ╚████║███████╗╚██████╗ ██║ ██║ ╚██████╔╝╚██████╔╝██║ ██║
╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝
A rendition of the classic 6 x 7 Connect Four game built with vanilla JavaScript, CSS, and HTML. The Board can be generated dynamically so that the game can be played on a custom board matrix.
The game can be played here:
https://devinfiachra.github.io/connect-four/
Git fork or Git clone the repo. Everything should work out of the box.
git clone https://github.com/devinfiachra/connect-four.git- generate more of the html using javascript
- implement custom board size mode
- add player class
- implement soundtrack function
- make mobile friendly
- improve design of board
- Add power-up pieces/ new rules for the game
- improve functionality for mobile/tablet devices
- implement basic AI competitor for single player mode
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.