1. Random
DrRacket provides a library function for generating random numbers. The function is called random.
Randomness makes testing a little harder since our function may generate a result that is random. DrRacket also provides check-random which is a special function like check-expect
but knows how to deal with calls to random.
2. Snake Game Extensions.
You may use the code from last lecture for the Snake Game in order to design the following extensions to the game.