<div dir="ltr">Okay, I'm resurrecting this project. I did a little more work on it
then what you see here, but that ended up getting accidentally deleted,
and I haven't done anything with Python since.<br><br>I'm running into
one problem already, and I haven't really added any extra code. In the
content (at this point, the rooms still have Bob's descriptions), the
very first line of actual code (third line in the program) is returning
an error.<br>
<br>Offending code:<br><br># Content<div class="Ih2E3d"><br># retrieve data for current room<br></div>room == start<br>while true:<br> if room == start:<br> desc = "Ahead of you, you see a chasm."<br>
ques = "Do you wish to try jumping over it? Y/N"<br>
destY = 2<br> destN = 3<br><br>Error:<br><br>Traceback (most recent call last):<br> File "samplegame.py", line 3, in <module><br> room == start<br>NameError: name 'room' is not defined<br>
<br><br>What's going on here?</div>