CChess is simple desktop application made with C and SFML.
- GCC 13.2.0
- CSFML 2.5.1
- VSCode 1.88.1
-
Use the official SFML binding for the C language from SFML project website.
-
Move files from SFML/bin/ to project directory.
-
(If VSCode) link SFML/bin, /include, /lib and your compiler inside files: tasks, launch, c_cpp_properties
- Complete chess experience
- Implemented every chess rule
- Graphic representation of chessboard, chess pieces and game informations
- Saves
- Icon
Aditionally:
- Source and header files segmentation
- Full comprehensive documentation
- Error free
- In VSCode compile with Run and Debug menu
- Launch game with CChess.exe
- Select figure with left-click, then click highlighted square
- Save or load using down right corner buttons
- Quit with close bar button, or ESC
- actions
- Actions on pieces like normal move, en passant or pawn promotion
- chess_events
- Handling check, check mate and stale mate
- chessboard
- initialization and drawing empty chessboard
- clashing
- Handling king - rook clashing
- include_define
- Include SFML library
- Define game and figure structure
- moveboard
- Check and draw every legal move
- moves
- Chess pieces moves
- save_load
- Save current game state to file
- Load game from file
- sprites
- Handling sprites of chess figures, save/load buttons and background
- texts
- initialization of game informations texts
- documentation and README page
- icon
- add sounds effect
- improve RAM efficiency
- better interactivity