Created
July 25, 2018 15:23
-
-
Save cazala/9720b7650f191dc6c41e8015358c8cb5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (amountOfValidMoves === 0) { | |
if (store.getState().match.status === 'started') { | |
next(checkmate()) | |
setTimeout(() => next(initSquares()), 10000) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment