Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/abdellahdev01/chess-game-java-swing

Chess Game is a Java application that allows users to play the classic game of chess. It provides a graphical interface for playing the game and follows the standard rules of chess. Java Swing
https://github.com/abdellahdev01/chess-game-java-swing

chess java javafx javafx-gui swing-gui

Last synced: 4 months ago
JSON representation

Chess Game is a Java application that allows users to play the classic game of chess. It provides a graphical interface for playing the game and follows the standard rules of chess. Java Swing

Awesome Lists containing this project

README

        

# Chess Game

Chess Game is a Java application that allows users to play the classic game of chess. It provides a graphical interface for playing the game and follows the standard rules of chess.

![1696459008676](https://github.com/ABDELLAHdev01/Chess-Game-Java-Swing/assets/112889104/0b6610bf-f46e-47b3-8b34-fa4dadb268a2)

## Table of Contents

- [Introduction](#introduction)
- [Features](#features)
- [Requirements](#requirements)
- [Getting Started](#getting-started)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

## Introduction

Chess is a two-player strategy board game played on a checkered gameboard, with each player controlling an army of pieces. The objective is to checkmate the opponent's king, where the king is under attack and cannot escape capture.

This project implements a graphical version of chess using Java, allowing players to make moves and enjoy the game interactively.

## Features

- Graphical user interface for playing chess.
- Standard chess rules implemented, including piece movements and captures.
- Interactive gameplay with mouse-based moves.

## Requirements

- **JDK 20 or later:** Ensure you have JDK 20 or a newer version installed.
- **Java Swing Library:** Utilizes Java's Swing library for GUI components.

## Getting Started

1. **Clone the Repository:**

```bash
git clone https://github.com/your-username/chess-game.git
cd chess-game

## Compile and Run the Game:

```bash
javac ChessGame.java
java ChessGame
```

## Usage

- Launch the application and start a new game.
- Use the mouse to select and move chess pieces according to the game rules.

## Contributing

We welcome contributions from the community! If you'd like to contribute to this project, please follow our [Contribution Guidelines](CONTRIBUTING.md).

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.