Knowhere-coding / Connect-4

Assessment - Software-Architectures

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connect 4

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.

image


Start Playing Right Away

Download the following files and run them via:

java -jar <jar_name>

Client: Connect4Client_WINDOWS.jar or Connect4Client_MACOS.jar
Server: Connect4Server.jar


Table of Contents

Prerequisites

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

Usage

Clone this repository:

git clone https://github.com/DT1337/Connect-4 && cd Connect-4

Client

Running the Client with Maven

cd Connect4Client && mvn clean javafx:run

Running the Client JAR

  1. Build the JAR using Maven:
cd Connect4Client && mvn clean package
  1. Run the JAR file:
java -jar target/Connect4Client-1.0-SNAPSHOT.jar

Server

Running the Server JAR

  1. Build the JAR using Maven:
cd Connect4Server && mvn clean package
  1. Run the JAR file:
java -jar target/Connect4Server-1.0-SNAPSHOT.jar

About

Assessment - Software-Architectures


Languages

Language:Java 96.0%Language:CSS 3.8%Language:Dockerfile 0.2%