Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Homework 12: Zork - Data Structures I | COMP 380, Assignments of Data Structures and Algorithms

Material Type: Assignment; Class: DATA STRUCTURES I; Subject: Computer Science; University: Wentworth Institute of Technology; Term: Spring 2006;

Typology: Assignments

Pre 2010

Uploaded on 08/18/2009

koofers-user-1xm
koofers-user-1xm 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Wentworth Institute of Technology
Division of Professional and Continuing Studies
COMP380 Section 71 - Data Structures I - Spring, 2006
Homework 12 – Zork
Instructor: Bob Goldstein (617) 912-2512
bobg@vision.eri.harvard.edu
http://webpages.charter.net/tlgcreations/Courses/index.html
http://goldstein.eri.harvard.edu/courses/index.html
http://myweb.wit.edu/goldsteinr/Courses/index.html
Due Date: May 4, 2006
Hand In: Printout of program code and dialogue of how it runs.
Purpose: Get experience using Graph Operations.
1. download and experiment with the real zork game at
http://www.infocom-if.org/downloads/zork1.zip
2. Start with Zork1 on the Class website and Add a few more rooms and paths to the ZorkData.txt
file. Test them.
3. Implement the I (inventory) command that prints out the contents of the knapsack.
4. Implement the D(drop) command that takes an item out of the knapsack and places it in the
current room
/app/work/qkd3ez-437664-2765017-homework12-doc.doc 1 11/29/2020 11/29/2020

Partial preview of the text

Download Homework 12: Zork - Data Structures I | COMP 380 and more Assignments Data Structures and Algorithms in PDF only on Docsity!

Wentworth Institute of Technology

Division of Professional and Continuing Studies

COMP380 Section 71 - Data Structures I - Spring, 2006

Homework 12 – Zork

Instructor: Bob Goldstein (617) 912- bobg@vision.eri.harvard.edu http://webpages.charter.net/tlgcreations/Courses/index.html http://goldstein.eri.harvard.edu/courses/index.html http://myweb.wit.edu/goldsteinr/Courses/index.html Due Date: May 4, 2006 Hand In: Printout of program code and dialogue of how it runs. Purpose: Get experience using Graph Operations.

  1. download and experiment with the real zork game at http://www.infocom-if.org/downloads/zork1.zip
  2. Start with Zork1 on the Class website and Add a few more rooms and paths to the ZorkData.txt file. Test them.
  3. Implement the I (inventory) command that prints out the contents of the knapsack.
  4. Implement the D(drop) command that takes an item out of the knapsack and places it in the current room /app/work/qkd3ez-437664-2765017-homework12-doc.doc 1 11/29/2020 11/29/