daburch / react-checkers

checkers
0 stars 0 forks source link

implement game over logic #18

Closed daburch closed 3 years ago

daburch commented 3 years ago

implement game over logic. goes through all of the pieces matching player color and checks if any of the possible moves are valid; if not, you lose. added surrender button refactored cell validation a bit