(play-with-turns (make-game-state 5 8) 'human)Q: Why the single quote? What would happen if we did just:
(play-with-turns (make-game-state 5 8) human) ?A: Error message from Racket: reference to undefined identifier: human
The quote's function is to prevent evaluation of the next expression.
A quote before a name causes the name itself
to be used, not what it is a name of:
> (define x 13)
> x ⇒ __?__