Skip to content

Ribel78/CPPCourseEGT_ChessBoardGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess Board Generator

Random generation using 75% of all chess pieces with some rules applied.

Requirements - Simple DirectMedia Layer library

Project Summary

  • Random chess board generation
  • Chess pieces must be 75% (24 pieces). No illegal positions allowed. No checks.
  • Buttons to Start/Stop the chess board generation/simulation.
  • Display of time statistics for the board generation part of the code.
  • Click on FEN notation (bottom text) to copy it in clipboard
  • On paused simulation - highlghting of allowed positions when clicked on a chess piece.
  • On paused simulation - pressing down arrow key seeks through the last 20 generated chess boards.

Finished Project

Frame 107

Stills: Start Configuration

Simulation Stats

Highlighting selected piece legal moves Simulation Stats

FEN copied the above chess board to clipboard and then pasted in online chess editor at

356Chess.com

Simulation Stats

Work in Progress

Currently all 32 pieces are displayed. Elimination rules - to be applied

Animated image

In the console is displayed the Forsyth-Edwards Notation (FEN) of each generated position

Static frames:

Frame 9

Frame 84

Frame 95

Frame 107

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages