 // make an instance of arduboy used for many functions
 Arduboy arduboy;
 
-struct coords
+class coords
 {
+  public:
   int X = 0;
   int Y = 0; 
 };

  int X = 0;
  int Y = 0;
  char dir = 'R';

  Player()
  {
    
  }
};

typedef struct player Player;

  }

  arduboy.drawPixel(p1.X, p1.Y, 1);
  arduboy.drawPixel(foodLocation.X, foodLocation.Y, 1);
  DrawTail();
  LogMove();
  
  arduboy.setCursor(0, 0);  
  arduboy.print("Score ");
  arduboy.print(score);
  

  // then we finaly we tell the arduboy to display what we just wrote to the display
  arduboy.display();
