Skip to content

Justin-Jewei-Lin/Dark-chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dark chess

A chess game written in C++ and Qt.

  • How to compile and run in cygwin
$ startxwin
$ export DISPLAY=:0.0
$ make
$ make clean
$ ./project.exe
  • How to play

    • Press START in the menu to start the game.
    • Flip, drag, capture the chess by your mouse.
    • Make a move within 15 seconds.
    • It would be tie if there is no capture in 15 rounds. image
  • How it works

    • Setup image

    • mousePressEvent() image

    • pressAction() image

    • machinePlaying() image