🎮 Connect Four Game Repository
Welcome to the Connect Four Game repository! Enjoy this fun, interactive project where the classic Connect Four game meets modern web technologies. Whether you’re a developer looking to learn or a casual player wanting a quick game, this project has something for everyone.

🌟 Features:
🎲 Two-Player Mode: Challenge a friend in a battle of strategy and wit.
✨ Interactive Gameplay: Drop discs with a simple click and enjoy smooth animations as the game unfolds.
🧠 Win Detection: Automatic checks for horizontal, vertical, and diagonal victories, ensuring fair play.
📂 Project Highlights:
-
Game Logic Implementation: A robust JavaScript-powered backend ensures accurate gameplay with efficient win detection and draw recognition.
-
Dynamic UI: Eye-catching CSS styles and responsive design principles make the game visually appealing and functional on any device.
🛠️ Getting Started:
-
Clone the Repository:
git clone https://github.com/chedelino/connect4Game.git
-
Open the Project: Navigate to the directory and open
fichier.html
in your browser:cd connect4Game open fichier.html
-
Start Playing! Enjoy a quick game or explore the source code to see how everything works.
📁 Repository Structure:
connect4Game/
├── fichier.html # Main game interface
├── style.css # Styling for the game board and UI
├── fichier.js # Core game logic and interactivity
└── README.md # Project documentation (you are here!)
💡 How to Play:
- Select a column to drop your disc by clicking on it.
- Players alternate turns, aiming to connect four discs in a row.
- The game announces the winner or a draw when the board is full.
- After the game ends, you will be asked if you want to continue:
- Yes: The game restarts.
- No: A report is displayed showing the total number of wins for each player.
🌟 Future Enhancements:
- 🤖 AI Opponent: Play against a computer with varying difficulty levels.
- 🌐 Online Multiplayer: Challenge friends across the globe.
- 🎶 Sound Effects: Add immersive soundscapes to enhance gameplay.
🎉 Enjoy Playing!
Whether you're here to play, learn, or contribute, we hope you have a fantastic experience. Feel free to reach out with questions, suggestions, or just to say hello!