Skip to content

Check if your in a Check or a Checkmate! position and suggest the next move for the king ♛

Notifications You must be signed in to change notification settings

XD-OB/Checkmate_Detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Checkmate detector

Your King is alone with a banch of differente ennemies,

  • he is done? (checkmate)
  • or he is in danger (check move) and what's is the possibles moves and the better ones, or he is safe?

Usage:

./check [Each line of the board as argument]

  • (ex: .K P.)

H: Horse

. x . x .

x . . . x

. . H . .

x . . . x

. x . x .

Q: Queen

x . x . x

. x x x .

x x Q x x

. x x x .

x . x . x

B: Bishop

x . . . x

. x . x .

. . B . .

. x . x .

x . . . x

R: Rock

. . x . .

. . x . .

x x R x x

. . x . .

. . x . .

P: Pion

. x . x .

. . P . .

About

Check if your in a Check or a Checkmate! position and suggest the next move for the king ♛

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published