8000 GitHub - GiovanniCinel/Chess: Project for Laboratorio di Programmazione course, Academic Year 2021/2022.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

GiovanniCinel/Chess

Repository files navigation

Project for Laboratorio di Programmazione course, Academic Year 2021-2022

Authors: Cristian Bassotto, Giovanni Cinel, Gianluca Nordio

The program verifies and respects the official chess rules indicated on the following websites:

Compiling the Executable

Download the file scacchi_definitivo.zip

Requirements:

  • cmake

With CMake

  1. Navigate to the Feild_Progect folder and from the terminal run $cmake -S . -B ./build
  2. Enter the build folder ($ cd build)
  3. Compile with $ make

Running the Executable

  1. Run $ ./Feild_Progect

Project assignment

Assegnamento_scacchiera_Pagina_1 Assegnamento_scacchiera_Pagina_2 Assegnamento_scacchiera_Pagina_3 Assegnamento_scacchiera_Pagina_4

Regarding the player versus computer mode, we have decided to include the following commands.

The possible combinations of letters for moves are:

  • A1 B2: to move a piece from A1 to B2
  • A1 B2 PP: to move a piece from A1 to B2 and propose a draw to the other player
  • A1 MM: to display available moves for A1
  • XX XX: to display the complete chessboard
  • HE LP: to display the commands
  • FF FF: to forfeit the game The letter format does not affect the commands (a = A).

This message can also be viewed within the program by typing HE LP.

About

Project for Laboratorio di Programmazione course, Academic Year 2021/2022.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0