Last active
December 21, 2016 22:36
-
-
Save weslleyaraujo/9553fda39c0982ee665435e63e93dd78 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
const { guessed, all } = getState().match; | |
console.log(all, guessed) // ['red'] ['red'] | |
if (guessed[0] === all[0]) { | |
// keep going from here, guesses are correct | |
return; | |
} | |
// player didnt guessed properly, do something about it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment