A simple web-based implementation of the classic Connect Four game using HTML, CSS, and JavaScript.
Demo Link: https://jmrashed-game.vercel.app/
-
Open the
index.html
file in a web browser to start the game. -
Players take turns dropping their pieces into the columns of the game board.
-
The first player to connect four of their pieces vertically, horizontally, or diagonally wins the game.
-
Click on any column to drop a piece. The piece will fall to the lowest available position in the column.
-
The game ends when one player wins or the entire board is filled with pieces.
- Two-player gameplay.
- Visual indication of player turns using red and yellow pieces.
- Dynamic game board that updates with each move.
- Win detection for vertical, horizontal, and diagonal connections of four pieces.
- Prevents further moves once a player wins.
- HTML: Structure of the game board and user interface.
- CSS: Styling and visual presentation of the game.
- JavaScript: Game logic, interactivity, and win detection.
This Connect Four game is inspired by the classic board game. It was developed as a simple project to practice web development skills.
Developed By Md Rasheduzzaman
This project is licensed under the MIT License.