You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
283 B

  1. #include "Snack.h"
  2. void generateSnack(Point* snack){
  3. // TODO: implement me
  4. // should set a random position for the point, update its character/image and display the point
  5. // x should be between (0, GAME_RIGHT_WALL_X)
  6. // y should be between (0, GAME_BOTTOM_WALL_Y)
  7. }