Skip to content

TheShoutingParrot/vgcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Victor's Graphical Chess Program

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.

Usage

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.

Without Installation

To compile this program, run make on the vgcp/ directory. To run the program simply run ./vgcp.

Installation

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.

Features

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.

Screenshots

vgcp on GNU/Linux

Screenshot of vgcp on Arch Linux (i3), Pentti Sola - Osmo Kaila 15.12.1934 Screenshot of vgcp on Ubuntu (GNOME), italian game Screenshot of vgcp on Ubuntu (GNOME), fool's mate

vgcp on MacOS

Screenshot of vgcp on MacOs

Credits

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

About

A simple graphical chess program

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published