Awesome idea! One change might be to make it so the keys can't change when you're really close to an obstacle, just so that it doesn't feel unfair to have them change right as you're going through and taking a hit. This is definitely one of the more unique ideas I've seen thus far.