Tom Murphy’s
COMP-260
Introduction to Programming: Lisp
Course Material

¨      Syllabus - COMP-260

¨      Class Mailing List

o     Sign up for newsgroup http://groups.yahoo.com/group/CCC-ComputerScience
by emailing
CCC-ComputerScience-subscribe@yahoogroups.com

¨      Dr Scheme

o     When you download Dr Scheme (http://download.plt-scheme.org/drscheme/), start it up and select the correct language, namely “Standard (R5RS)”, the Revised(5) Report on the Algorithmic Language Scheme from 1998.

o     More on the above. When you reach a point in the homework and it says a timing command is available on most versions of Scheme, guess what?

1.     So please, select the Language PLT->Textual, which includes the above R5RS

2.     (time (* 1 2)) gives a very coarse timing for this course, i.e. everything times to zero

3.     You can build your own timing function by running (current-process-milliseconds) before and after that which you are timing

¨      Lab Assignments
You have two labs. They are constructed to be open ended, i.e. there is a minimum you can do and then a whole lot more.

¨     BlackJack (details of the game)

o     You only need to have one player and a computer dealer

o     You only need to have one deck which is shuffled when the deck is used up

o     The only player choices you must have are Stand and Hit

o     You don’t have to support betting

o     You don’t need to use graphics; it can be all text based

o     Extra credit for successfully adding any of the above optional  features

o     BTW MIT students have a variant of this as one of their weekly assignments. It might give you some ideas

¨     Adventure is the text based game launching many variants (example game: “Colossal Cave Adventure”, there is Wikipedia article that might be useful)

o     You only need to support one player

o     You need to model at least 10 “rooms”  and at least 30 connections between rooms

o     The command structure must be as sophisticated as “Command” and “Command Object”, including at least 4 directional commands and 5 other commands

o     The player must be able to pick up, drop and “use” at least 5 objects, which affect passage through at least 5 room connections

o     There must be a achievable goal and at least 5 wrong situations that cause a game restart

o     You don’t need to use graphics; it can be all text based

o     Extra credit for successfully adding any of the above optional features, or

1.    Game written in two parts: a configuration file, allowing for multiple games, and a game engine

2.    Ability to save and restart game

o     BTW MIT students have a variant of this as one of their weekly assignments. It might give you some ideas

o     BBTW It would amuse me if the world of your adventure was the CCC campus