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
- Host: GitHub
- URL: https://github.com/axelvazslima/chess-java
- Owner: Axelvazslima
- Created: 2023-07-12T17:44:50.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-20T03:30:11.000Z (almost 3 years ago)
- Last Synced: 2023-07-20T04:29:46.750Z (almost 3 years ago)
- Topics: backend, chess, chess-game, game, java, project, student-project
- Language: Java
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.