Connect-4 is an implementation of the classic Connect 4 game with a JavaFX frontend for the client.
This distributed system is built on a server-client architecture where the server manages the game board,
and clients communicate with the server via sockets.
Download the following files and run them via:
java -jar <jar_name>
Client: Connect4Client_WINDOWS.jar or Connect4Client_MACOS.jar
Server: Connect4Server.jar
Before you can run the Connect 4 application, you need to have the following software installed on your machine:
- Java Development Kit (JDK) 17 or later
- Apache Maven 3.9.4 or later
- optional: JavaFX Runtime
Clone this repository:
git clone https://github.com/DT1337/Connect-4 && cd Connect-4
cd Connect4Client && mvn clean javafx:run
- Build the JAR using Maven:
cd Connect4Client && mvn clean package
- Run the JAR file:
java -jar target/Connect4Client-1.0-SNAPSHOT.jar
- Build the JAR using Maven:
cd Connect4Server && mvn clean package
- Run the JAR file:
java -jar target/Connect4Server-1.0-SNAPSHOT.jar