handlinginput

Handling Input

• This section will handle the keyboard input of the user.

• We create a function called, "on_key_down" which will detect the key and the action to make.

• Here are the inputs that we handle:

• Backspace - Restart the game

• Keyboard Character - Input into user_input

• Keyboard Character - Input into user_input