Only capture valid keyboard input #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
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
r
instead oft
you die.Potential solution: Build a parser that validates input by looping through
<-game.keypresses
until it founds something that is acceptedPEBKAC 😒