vgcp is a simple graphical chess UI which uses SDL2 and is written in C.
vgcp has been tested on Ubuntu, Void Linux, Arch Linux and MacOS.
Using the actual program is very easy when installed. The game starts automatically. To move a piece you click on the piece click on the tile it should move to.
If you wish to edit the software's (compilation) options then edit the definitions in include/config.h.
To compile this program, run make
on the vgcp/
directory. To run the program simply run ./vgcp
.
To install this program, first edit the include/config.h file and uncomment the _INSTALL
definition (#define _INSTALL
). After doing this, simply run sudo make install
which will install the program to PREFIX/bin
(PREFIX
is defined in the makefile) and the assets to PREFIX/share/vgcp/
. Now you can use this program on any directory by typing vgcp
on the command line or by finding it on your application menu.
Here's a list of currently supported features:
- All chess pieces moving correctly
- Castling
- En Passant
- Player vs player gameplay
- Checkmate and victory
- Draw as a result of...
- a stalemate
- insufficent material
- threefold repitition
- Support for some chess protocol (untested at the moment)
Here's a list of features that will (hopefully) be implemented in the near future:
- Player vs computer gameplay
For a more detailed version of features that should/will be implemented in the near future see the TODO.md file.
The chess pieces were made by the Wikipedia user Cburnett, see assets/pieces/license.txt for details. The font that the game uses was made by Axel Leyer, see assets/font/license.txt and assets/font/readme.txt for details.
The program was tested on MacOS and the MacOS screenshots were provided by Github user kaikkitietokoneista