This is a basic console-based Chess game written in Java.
Currently, the game does not have a graphical interface. Instead, the board is printed to the console using standard Chess notation symbols:
-
White pieces are represented by uppercase letters (e.g., K for King, P for Pawn).
-
Black pieces are represented by lowercase letters (e.g., k for King, p for Pawn).
If you want to change the starting position, you can modify the Board class, inside the Board() constructor. There, you can manually place any pieces you want.
The internal board is an 8x8 grid, with row and column indices from 0 to 7. Positions are read from the bottom-left (0,0) to the top-right (7,7), arranged like this:

When playing the game, however, you will input moves using standard chess notation (for example: e2 e4).
The game will ask you for login or player creation when it is run and will load the player from the database/ add them to the database.
Wins and losses are now being tracked for each player, along with their names, and passwords.
If ia board is left mid-game it will save the board state and you can hop back to where you left off by typing "/continue" instead of "/new_game" in the console (these prompts appear in-game aswell of course)
The games are being saved once when they are started and updated with the winner, time ended and final board states when they end!
To run this program:
-
Use your favorite Java compiler or IDE.
-
The project has been tested on IntelliJ IDEA with the latest version of Java at the time of development.