This repository is a small version of Snake that I created to put into practice the knowledge I acquired in the CPSC110 course by the University of British Columbia.
- UBC's Racket installation of Dr. Racket (or equivalent).
You can use the project following these steps:
- Download "racket.rkt".
- Open "racket.rkt" in Dr. Racket.
- Run the file.
- In the interactions area, run
(main (create-game DF-FOOD-NUM))
.
- This sets the amount of food in the game to the default (3). To play with, say, 5 pieces of food, run
(main (create-game 5))
instead.
This work is licensed under a Creative Commons Attribution 4.0 International License.