Skip to content

The Connect Four Server is a Java application responsible for managing the gameplay of the Connect Four game in a multiplayer environment. It acts as a central hub, coordinating the interactions between multiple clients, handling game state transitions, and facilitating communication between players.

Notifications You must be signed in to change notification settings

michel-j-j/Connect-Four

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Connect Four Game

Welcome to the Connect Four Game repository! This project aims to implement the classic Connect Four game in Java.

Table of Contents

Introduction

Connect Four is a two-player game in which the players take turns dropping colored discs into a grid. The objective is to be the first to form a horizontal, vertical, or diagonal line of four discs of your color.

This repository provides a Java implementation of the Connect Four game. The project consists of both server and client components. The server manages the game state and coordinates the actions of the players, while the client allows players to connect and play the game.

Features

  • Server-client architecture for multiplayer gameplay
  • Interactive console-based user interface
  • Fully functional Connect Four gameplay
  • Clear and concise codebase for easy understanding and extension

Getting Started

Prerequisites

To run this project, you need to have Java Development Kit (JDK) installed on your system. You can download and install the latest JDK from the official Oracle website.

Clone the Repository

To clone this repository to your local machine, use the following command:

git clone https://github.com/your-username/connect-four-game.git

Setup and Build

  1. Navigate to the project directory:
cd connect-four-game
  1. Compile the source code:
javac engine/*.java model/*.java client/*.java
  1. Run the server:
java engine.ConnectFourServer
  1. Run the client:
java client.ConnectFourClient

Contributing

We welcome contributions from the community to improve the Connect Four game. To contribute, follow these steps:

  1. Fork the repository by clicking on the "Fork" button on the top right corner of this page.

  2. Clone your forked repository to your local machine:

git clone https://github.com/your-username/connect-four-game.git
  1. Create a new branch for your changes:
git checkout -b feature/new-feature
  1. Make your desired changes to the codebase.

  2. Commit your changes with a descriptive commit message:

git commit -m "Add new feature: your-feature-description"
  1. Push your changes to your forked repository:
git push origin feature/new-feature
  1. Finally, open a pull request from your forked repository to the original repository, describing the changes you've made.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Feel free to contribute to this project and make Connect Four even better! If you encounter any issues or have suggestions for improvements, please open an issue on the GitHub repository. Thank you for your interest and happy gaming!

About

The Connect Four Server is a Java application responsible for managing the gameplay of the Connect Four game in a multiplayer environment. It acts as a central hub, coordinating the interactions between multiple clients, handling game state transitions, and facilitating communication between players.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages