CPSC 240 - OOA&D - Fall 2024
Due: Friday, Dec 6rd, midnight
For Zork++ phase 3, your team will fully implement (code) and debug your game engine's supplementary features. You'll be code complete. Yay!
I will obviously not post a test .zork
file that is compatible
with your supplementary features, because this is the point where every team's
project is going to diverge from the others — different features will
often result in different syntactic elements in the dungeon file.
In addition to working code (duh), there are three files I
require, all of which should be put in the "files
" directory of
your git repo:
featureList.txt
". This file should
list of all your supplemental features, along with idiot-proof instructions for
how I can see them in action in your phase 3 dungeon. (Note that you can
and should use vim
to edit this file, just like you do to edit
.java
, .zork
, and .sav
files.)
featureList.txt
file, to show you what I'm looking for:Note that your dungeon will contain random components that make each play of the dungeon different. (At the very least, your teleport event(s) will put the adventurer in a random location each time. Also, NPCs may choose to move to different rooms, combat may resolve differently, etc.) You will want to make this deterministic for purposes of testing, so that your walk-through will always "work" in the same way. To accomplish this, your team should do the following in your game engine:
After doing this, you should discover that your game runs the same way every time you play it.
To turn in this assignment, one team member send an email to cpsc240submissions@gmail.com with subject line "CPSC 240 Zork++ phase 3 turn-in", Cc:'ing the other team members. There should be no attachments, and the body of this email should simply say, "Have at it, Stephen!" I will clone your github repo to read your featureList.txt and sampleDungeonWalkthrough.txt, and to test your latest committed-and-pushed code.
Come to office hours, or send email with subject line "CPSC 240 Zork++ phase 3 HELP!!!"