By Julia Yi
Connect Four is a two-player game in which each player takes turns dropping a colored disc into a 6 x 7 grid. Each disc is dropped down the grid and the pieces are stacked vertically over time.
The objective of the game is to place four discs in a row horizontally, vertically or diagonally, while trying to block the other player from doing the same.
The first player to place four of their discs in a row wins the game. If the entire grid has been filled and neither player has placed four consecutive discs, the game is tied.
- HTML
- CSS
- JavaScript
- Google Fonts
Connect Four can be played here.
In order to improve my game, I would add the following features:
- Animations to show discs sliding down a column
- Sound of discs stacking over the course of the game
- Score keeper to keep track of wins and losses
- Ability to play against the computer
- Choice of difficulty level when playing against the computer
- Customizable disc colors