Connect Four Game
Welcome to the Connect Four Game repository! This project aims to implement the classic Connect Four game in Java.
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.
- 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
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.
To clone this repository to your local machine, use the following command:
git clone https://github.com/your-username/connect-four-game.git
- Navigate to the project directory:
cd connect-four-game
- Compile the source code:
javac engine/*.java model/*.java client/*.java
- Run the server:
java engine.ConnectFourServer
- Run the client:
java client.ConnectFourClient
We welcome contributions from the community to improve the Connect Four game. To contribute, follow these steps:
-
Fork the repository by clicking on the "Fork" button on the top right corner of this page.
-
Clone your forked repository to your local machine:
git clone https://github.com/your-username/connect-four-game.git
- Create a new branch for your changes:
git checkout -b feature/new-feature
-
Make your desired changes to the codebase.
-
Commit your changes with a descriptive commit message:
git commit -m "Add new feature: your-feature-description"
- Push your changes to your forked repository:
git push origin feature/new-feature
- Finally, open a pull request from your forked repository to the original repository, describing the changes you've made.
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!