Welcome to the Connect Four game implementation in C++!
Connect Four is a two-player connection game in which the players take turns by slecting column occupying the lowest available space within the column. The object of the game is to connect four of one's own symbol vertically, horizontally, or diagonally before your opponent.
-
Run the program.
-
Choose an option from the main menu:
- Play: Start a new game.
- Exit: Quit the game.
- Credits: View credits.
- Instructions: Learn how to play.
- Record: View game records.
-
If you choose to play:
-
Players take turns dropping by selecting one of seven columns into a 6x7 Board.
-
The goal is to connect four 'X' or 'O' in a Board.
-
Connections can be horizontal, vertical, or diagonal.
-
The first to achieve this wins, or it's a draw if the Board is full.
- Two-player turn-based gameplay.
- Toss to determine the starting player.
- Keep track of scores for Player 1 and Player 2.
- Record and view game results.
- Simple console-based user interface.
- main.cpp: The main C++ source code.
- Scores.txt: File to store game records.
Compile and run the ConnectFour.cpp
file using a C++ compiler.
g++ main.cpp -o main
./main
- This game was created as a collaborative project by Usman Dilbar and Ajmal Razaq.
- For more information, check the game credits and instructions within the program.
Game made by:
- Usman Dilbar
- Ajmal Razaq
Feel free to customize and expand this README to include more details about the game, how to compile/run it, or any additional features you'd like to highlight.