Only capture valid keyboard input #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
At a crucial moment with robots next to the player and you accidentally pressed
rinstead oftyou die.Potential solution: Build a parser that validates input by looping through
<-game.keypressesuntil it founds something that is acceptedPEBKAC 😒