parameters: (self, event)
docstring: (MazeApp, Event) -> NoneType
  
          React to keystroke event for player 1.
docstring_summary: (MazeApp, Event) -> NoneType
docstring_tokens: ( MazeApp Event ) - > NoneType
function: def rat_1_keystroke(self, event):
          """ (MazeApp, Event) -> NoneType
  
          React to keystroke event for player 1.
          """
  
          self.the_maze.move(self.the_maze.rat_1,
                             RAT_1_KEYS[event.char][0],
                             RAT_1_KEYS[event.char][1])
          self.rat_1_score_var.set(self.the_maze.rat_1.num_sprouts_eaten)
          self.redraw()
function_tokens: def rat_1_keystroke ( self , event ) : self . the_maze . move ( self . the_maze . rat_1 , RAT_1_KEYS [ event . char ] [ 0 ] , RAT_1_KEYS [ event . char ] [ 1 ] ) self . rat_1_score_var . set ( self . the_maze . rat_1 . num_sprouts_eaten ) self . redraw ( )