Created
February 26, 2013 01:22
-
-
Save kanzure/5034972 to your computer and use it in GitHub Desktop.
vba-clojure bug?
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
// let the player control the game until he decides he hates it. This is particularly useful for playing from the repl. | |
void stepUntilCapture() { | |
while (currentButtons[0] != 2048) { | |
/* if (currentButtons[0] != 0) { | |
printf("currentButtons[o] is %d\n", currentButtons[0]); | |
} */ | |
step(); | |
} | |
// reset the buttons so that this function can be called in the future | |
currentButtons[0] = 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment