The Java terminal chess, is a project which serves of study material for Java OOP.
Chess is a two-player strategy board game played on a checkered board with 64 squares arranged in an 8×8 square grid. Played by millions of people worldwide, chess is believed to be derived from the Indian game chaturanga sometime before the 7th century. Chaturanga is also the likely ancestor of the East Asian strategy games xiangqi (Chinese chess), janggi (Korean chess), and shogi (Japanese chess). Chess reached Europe via Persia and Arabia by the 9th century, due to the Umayyad conquest of Hispania. The queen and bishop assumed their current powers in what is now Spain in the late 15th century, and the modern rules were standardized in the 19th century.
To see more about the game, click here.
To run this app, clone this rep into your machine:
$ git clone https://github.com/jonasGN/java_terminal_chess.git
Open the bin folder and run:
$ java application/App
- First class: Position
- Starting to implement Board and Piece
- Chess layer and printint the board
- Placing pieces on the board
- BoardException and defensive programming
- ChessException and ChessPosition
- Little improvement in the board printing
- Moving pieces
- Handling exceptions and clearing screen
- Possible moves of a piece
- Implementing possible moves of Rook
- Printing possible moves
- Implementing possible moves of King
- Switching player each turn
- Handling captured pieces
- Check logic
- Checkmate logic
- Piece move count
- Pawn
- Bishop
- Knight
- Queen
- Special move - Castling
- Special move - En Passant
- Special move - Promotion
To Nelio Alves. This amazing master who teached me so much in this project, about how to implement the OOP logic into my projects.