A modern desktop version of the classic Connect 4 game, built with .NET MAUI for a sleek and responsive experience on Windows. The game supports local multiplayer and includes fun sound effects — including a custom intro narration recorded by the developer! Future versions will allow you to play against an AI opponent.
- ✅ Built using .NET MAUI for cross-platform desktop development
- ✅ Fully interactive 6x7 Connect 4 game board
- ✅ Player turn indicator (Player 1 = 🔴 Red discs)
- ✅ Local two-player mode (hotseat play)
- ✅ Win condition detection: horizontal, vertical, diagonal
- ✅ Restart/reset functionality
- ✅ 🎧 Sound effects, including a custom intro voiceover by the developer
- ✅ Simple, intuitive user interface
Future versions will include a CPU opponent with smart gameplay logic.
- Heuristic Board Scoring – Smarter AI strategy beyond random moves
- AI Difficulty Levels – Easy, Medium, Hard (tuned by depth and scoring)
- Game Mode Selector – Toggle Human vs Human or Human vs AI
- Optional Voice Feedback – Add fun voice lines when AI wins/loses
Check out the gameplay demonstration of Connect Four:
- .NET 8 SDK or newer
- Visual Studio 2022+ with .NET MAUI workload installed
-
Clone the repo:
git clone https://github.com/jeromecagado/Connect4Game.git cd Connect4Game