np425 / chess_robot_opencv

0 stars 0 forks source link

Invalid move display on GUI #20

Open np425 opened 3 months ago

np425 commented 3 months ago

game.player_makes_move now returns two values: (move, is_valid)

first value is the move, second represents whether that move is legal (True) or illegal (False)