Interesting idea!
Try to display what the player is typing, it would add a lot to the game experience. I think the game would be very challenging if the typed effect last only few seconds. The idea of typing very fast exactly what you need to get through an obstacle sounds very cool!
Keep it up!