Write a character controller that maps keystrokes to the different character abilities described.