A simple human vs human Connect 4 game, written in java. The game uses X and O's to represent yellow and red checkers. The in-game language is Turkish.
First make sure java is installed (version 8.x.x)
- On Windows: Simply run the
run-jar.batfile - On Linux: Open up a terminal in the
connectfolder and typechmod +x run-jar.sh. Then type./run-jar.sh
Make sure JDK 8 is installed and added to PATH. Then, open a terminal and navigate to where the .java files are:
- Compile the
.classfiles with:javac *.class - (Optional) If you wish to build the
.jarfile as well, you can use this command:
jar cmvf META-INF/MANIFEST.MF run.jar *.class
The MANIFEST.mf file is already set. - To run from source, use the command
java connect.Connect4from up a folder. Running it on where the.classfiles are won't work.
v1.2(2021):
- Added linux executable
v1.1(2019):
- Removed useless IDE files and recompiled classes with
javac - Added an executable
.jarfile. - Added an executable
.batfile for ease of use in windows - Changed package name to 'connect'
- Not changed: Wanted to add an executable
.shfile for Linux but you cannot execute shell files in Linux by double clicking them without giving them the 'executable' permission :/
v1.0(2019):
- Initial release
For the time being I consider this small weekend project done. I may come back to it to add an unbeatable AI (This is possible).
I do not own the concept idea of "Connect 4" or any of its assets. Pls no sue :P