Student Corner:
[Submit Sec3]

[Lecture Notes]
[Discussion Board]

Course Info:
[Description]
[Course Outcomes]
[Outcomes Matrix]
[Course Schedule]
[Requirements/HW/Quizzes]
[Class Protocols]
[Exam Info]
[University Policies]
[Announcements]

HW Assignments:
[Hw1] [Hw2] [Hw3]
[Hw4] [Hw5] [Quizzes]

Practice Exams:
[Midterm] [Final]

Due date: Dec 6

Files to be submitted:
Hw5.zip

Purpose: To gain more experience with functional program and with logic programming.

Related Course Outcomes:

The main course outcomes covered by this assignment are:

CLO11 -- Produce programs in a functional programming language.

Description:

For this homework you will write two text-based adventure games - one in Scheme and one in Prolog. As a model for what a text based adventure game is, check out the Wikipedia page for Zork and maybe try to Play Zork Online. The actual subject matter of the text based adventure game you write is up to you (have fun!), however, your programs must meet the following constraints that the grader will use for grading:

1. You should have a readme.txt file indicating team mates on your project. It should also indicate where in your programs you satisfy the remaining criteria.
2. Name your Scheme program adventure1.scm and your Prolog program adventure2.P. The Prolog program should be a sequel to the Scheme program. The grader will use Chez-Scheme to test your Scheme program and SWI-Prolog to grade your Prolog program. Programs will be launched from a terminal window using the following commands respectively:
chez adventure1.scm