The Game of Twenty-One
Relevant section in text: 1.3This 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:
TeX source for the assignment.
Scheme source code required for this assignment.
Postscript file for printing the assignment
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