This is a simple command-line chess game created using Java and designed to be played on the terminal. The game implements standard chess rules and supports two players taking turns making moves until one of them checkmates the other.
To get started, clone this repository and navigate to the src directory. Compile the program by running the following command in your terminal(preferably a colored one):
java application/App
Once the program has been compiled, run the game by entering the following command:
The game is played using standard algebraic notation. To move a piece, enter the starting square, press enter to see the possible moves, followed by the ending square (e.g. "e2" to "e4" to move the pawn in front of the king two spaces forward).
At the start of the game, the white pieces are placed on the bottom two rows of the board and the black pieces are placed on the top two rows of the board. Players take turns making moves until one of them is checkmated.
This chess game includes the following features:
- All chess gameplay mechanics
- Highlighting of valid moves for the selected piece
- Detection of checkmate and end of game
This game was created by Luiz Filipe as part of a project for "Java COMPLETO 2023 Programação Orientada a Objetos + Projetos".