Closed daburch closed 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
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