Create project

This commit is contained in:
Loic Guegan 2022-02-12 19:13:34 +01:00
commit a359219e33
24 changed files with 2152 additions and 0 deletions

17
README.md Normal file
View file

@ -0,0 +1,17 @@
# cgeditor: Chess Game Editor
cgeditor is a dependency-free chess game editor written in C++. It can be used with any library that provides 2D canvas drawing and mouse inputs features.
# Features
- Show move,move number, variations, comments etc.
- *Delete*, *Promote* and *Set as main line* features
- Handle pieces icons
- Its graphical appareance is entirely customizable
# Architecture
To run cgeditor you need to extend 2 classes:
- CGEditor (To draw and handle events)
- CGEHalfMove (The data structure displayed by the editor)
# Example
An example based on *wxWidgets* is available in the `examples/` folder:
![wxWidgets](examples/wxWidgets/demo.gif)