Task: Write a procedure display-game-state
that takes a game state as an
argument and has behavior like:
(display-game-state (make-game-state 5 8))
Pile 1: 5
Pile 2: 8
This output is a side effect, not a value of the
display-game-state expression.
Use the Racket procedure display:
(display object)
which displays object on the screen, and
(newline)
which causes the output to go to a new line.
To get information about Racket built-in procedures, use Racket's Help → Racket Documentation option to get a help page in your browser.