// test the move method
 void testMove(Tester t) {
   player.move(500, 30);
   t.checkExpect(player.loc, new Posn(500, 350));
 }