This is a CLI, 2-player connect four game implemented in C++ for practice reasons.
-
Download a C++ compiler.
-
Extract the downloaded file.
-
Locate the bin folder and add it to PATH environemnt variables.
-
Open terminal then run:
g++ ConnectFour.cpp -o ConnectFour.exe
And voila, there you have it (game's executable) in the folder where you cloned this repo.
- To run it, in terminal run:
or use the one liner to compile and run at the same time:
./ConnectFour.exe
g++ program.cpp -o program.exe && ./program.exe
Feel free to contribute/ suggest any improvements to my simple game.
Learn more about algorithms and AI to improve the bot's playing strength(for now as a challenge try to lose against it)
Thank you!!!!!
This project is licensed under the MIT License.