The Game of Twenty-One


Relevant section in text: 1.3

This assignment presents a simple game-playing program, in which strategies are represented as higher-order procedures. The prisoner's dilemma assignment takes a similar approach.

Files for download:

ps2tw1.tex TeX source for the assignment.
ps2tw1.scm Scheme source code required for this assignment.
ps2tw1.ps Postscript file for printing the assignment

To download files, hold down shift while clicking on the appropriate link.
To view files, click on them.
To see directory listing, click here.


Copyright © 1985-1996 Massachusetts Institute of Technology.
The material in these problem sets may be duplicated, modified, and redistributed for any non-commercial use in conjunction with the book Structure and Interpretation of Computer Programs.


Return to sample assignment page

Return to SICP page


Last modified: Tue Oct 8 17:20:27 1996