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

https://github.com/axelvazslima/chess-java

Repository for a Java Chess Game project
https://github.com/axelvazslima/chess-java

backend chess chess-game game java project student-project

Last synced: about 1 year ago
JSON representation

Repository for a Java Chess Game project

Awesome Lists containing this project

README

          

# Chess Game in Java
Repository for Java Chess project

This project is a chess game implemented in Java. It serves as a practice ground for honing Java programming skills and is inspired by Nelio Alves's Udemy Java course.

## Getting Started
Follow the steps below to set up and run the chess game on your local machine.

## Prerequisites
Ensure you have the following installed on your system:

Java Development Kit (JDK) - version 8 or above
Git (optional, for cloning the repository)

## Installation
1. Clone the repository to your local machine using the following command:

`git clone https://github.com/Axelvazslima/chess-java.git`

2. Compile the project using the Java compiler:

`cd chess-java` then `javac Main.java`

## Usage
Run the programm in a colorized terminal to see the movements effects in the screen

`java Main`

## Gameplay
Once the game starts, you can use the standard algebraic notation to make moves. For example, to move a pawn from e2 to e4, type e2 press ENTER then type e4 and press ENTER.
Don't worry the game will notify you of illegal moves and handle the rules of chess.

## Some Features
1. Basic board setup
2. Move validation for all pieces
3. Capturing opponent pieces
4. Check and checkmate logic
5. En passant
6. Castling
7. GUI Interface

## Acknowledgments
Thanks to Nelio Alves for the inspiration and guidance through the Udemy Java course.