CIS 554 Haskell Adventure
Fall 2015, David Matuszek

Purposes of this assignment

General idea of the assignment

I am providing a small adventure game, written in Prolog: Your job is to reimplement this game in Haskell.

You should have a "main" function, main :: IO (String). Input to the program should be in the form of one- or two-word commands, such as look or take flashlight.

You will probably find it easiest to use basically the same division into functions as the provided program, but this is not a requirement. In particular, the provided program contains predicates dump and retractall which you probably don't need.

There are two other files you may find helpful:, which is a small adventure game written in Prolog, and spider.hs, which is essentially the same game written in Haskell. You are welcome to use large chunks of spider.hs in writing your adventure game; no attribution is required.

Due date

Turn your assignment in to Canvas before 6am Wednesday, November 4.