[Tutor] spam, eggs, and my text adventure

david din22 at earthlink.net
Sat Dec 3 05:20:34 CET 2005


hello :)
i have some questions that are more about programming in general than python specifically.
suppose, for whatever reason, you had a burning desire to write a simple text adventure.
how would you start? would you just start writing some code?
i knew i wanted a room structure or object and that i wanted to be able to create the rooms
from within the game. so i thought i will keep track of rooms in a dictionary and use xy coordinates
as keys and rooms as values. and rooms can keep track of their exits in a dictionary too.
then all i would have to do is write some code to create rooms and move through them.
anyway i am stuck so please find a question in there somewhere.
hello :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20051202/2952a065/attachment.htm


More information about the Tutor mailing list