This is a Unity project, where I recreated the game of chess using the C# language and Unity Gaming Services.
- Online connection with another player
- Ability to connect using an IPv4 address or a short 6 character code
- Highlighting of possible moves
- Display of past moves in algebraic notation
- Ability to save a finished game into a PGN format
To play the game, download it from the releases tab on the right or click here. Then unzip the downloaded file and launch ChessOnline.exe
In order to inspect the game, you need to have Unity installed on your computer. You can download it from here. Once you have Unity installed, open the cloned project folder and select StartingScene.unity from the Scenes folder. Lastly, click on the Play button to start the game. You can also build the game for different platforms using the Build Settings menu.
Once you launch the game client, you can proceed as follows:
- Input your nickname and click
Login - In the bottom left corner, choose whether to connect using an IPv4 address or a 6 character code (connecting through code is the default)
- As a host player, click the
Start Hostbutton and give parameters for connecting to another player (the parameters will be displayed once you create the lobby) - As a client player, input the connection parameters received from the host player into an input field in the center and click
Connect. - Once both players connect, each player can press the
Readybutton to declare their readiness to start the game. - When both players are ready, the host player can click the
Start Gamebutton in order to start the game. - The game will start and players will be able to make their moves on their respective turns.
- Once one player checkmates another or a stalemate occurs, the game will end and a summary screen (with the option to save the game) will be displayed.
- If one of the players wants to surrender the game to the opponent, they can do so by pressing the 'Esc' key and confirming their choice.
- If you wish to play another game, repeat the steps 2 - 9, otherwise press the
Esckey and clickConfirmto close the game.
During the development of the game, the following assets were used:
- Game icon: Chess icons created by Freepik - Flaticon
- Login screen background video: Pawn, Knight, Bishop, Rook
- Login screen background music Stockfish Chess music