An open API service indexing awesome lists of open source software.

https://github.com/brenimcode/chess-system-java


https://github.com/brenimcode/chess-system-java

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# Chess System in Java ☕

Welcome to the Chess System in Java! This project is an implementation of a chess game using Java. It provides a comprehensive framework for playing chess, including all the standard rules and functionalities expected in a chess game.
## 🚀 Demonstration
![chess system git bash](https://github.com/brenimcode/chess-system-java/assets/127551374/debac4ba-4bd6-42b5-a593-80dd5e92c3f2)

## Table of Contents

1. [Introduction](#introduction)
2. [Features](#features)
3. [How to Use](#how-to-use)
4. [Contributing](#contributing)

## Introduction

Chess is an ancient game that challenges players' strategic thinking and tactical skills. This project was done using Java, Object Oriented Programming, UML, GIT.

## Features

- **Complete Chess Game**: Enjoy a full-fledged chess game with all standard rules and moves.
- **Interactive Console Interface**: The game features a user-friendly console interface for ease of interaction.
- **Player vs. Player**: Play against another human player on the same machine.
- **Player vs. AI**: Test your skills against a computer-controlled opponent with adjustable difficulty levels.
- **Move Validation**: Ensure that all moves adhere to the rules of chess.
- **Check and Checkmate Detection**: The game accurately detects check and checkmate situations, ensuring a fair and challenging experience.
- **Piece Promotion**: Experience the excitement of promoting a pawn to a more powerful piece upon reaching the opponent's back rank.
- **Undo Move**: Correct mistakes or explore different strategies with the ability to undo moves.
- **Save and Load Game**: Save your progress at any point and resume the game later.

## How to Use

To use the Chess System in Java, follow these steps:

1. **Clone the Repository**: Clone this repository to your local machine using:

```bash
git clone https://github.com/brenimcode/chess-system-java.git
```

2. **Compile the Code**: Navigate to the project directory and compile the code using:

```bash
javac application/Program.java
```

3. **Run the Game**: Run the compiled program using:

```bash
java application.Program
```

4. **Play Chess**: Follow the on-screen instructions to start playing chess. Use algebraic notation to make moves (e.g., "e2e4" to move the pawn from e2 to e4).

## Contributing

Contributions to the Chess System in Java are welcome! If you find any bugs or have suggestions for improvements, please open an issue on the GitHub repository. Additionally, if you would like to contribute directly, feel free to fork the repository and submit a pull request with your changes.

---

Thank you for using the Chess System in Java! Enjoy playing the timeless game of chess with a modern twist. If you have any questions or need assistance, don't hesitate to reach out. Happy gaming!