I have problems with creating the classic game Wumpus. the file: http://esnips.com/webfolder/b71bfe9

Discussion in 'Python' started by conny.ledin@gmail.com, Apr 25, 2006.

  1. Guest

    Im trying to create a version of the game Wumpus. Mine is called
    Belzebub. But im STUCK! And its due tuesday 2 maj. Im panicing! Can
    some one help me??
    here is the file:
    http://esnips.com/webfolder/b71bfe95-d363-4dd3-bfad-39999a9e36d0

    What i have the biggest problems with now is between line 8 and 23. How
    i can move the character trough the game. Other parts of the game that
    have with the movement to do is between line 83-114 and 123-143.

    This is part of the spec:
    "The player walks around in the hallways, finds and tries to kill
    Wumpus (Belzebub). The game finishes when the player or Belzebub dies.
    The player has bombs which he can shoot. When he shoots he can
    controll th ebombs for three moves, north, south, east or west three
    times. If he is not careful he can shoot himself, ex first move: north.
    second move south.
    Let every room be represented by the object room. In the object,
    information of what exists in the room is stored. (Belzebub,
    teleporters, fire traps, acid traps or nothing). and where the halways
    leads. (north hallway leads to room 17, the east to room 2 etc.).
    Create a list of room objects to represent the hallways (every room
    have has a number).
    The content of the rooms shall be randomized in the beginning of
    the program. Aproximatly 20% of the rooms should contain traps, 30%
    should contain teleporters and in one of the rooms is Belzebub. One
    room can not contain more than one danger, no traps and teleporters
    together etc.
    Teleporters transports the player from one room to another random
    room. If the player encounters a trap o Belzebub he is killed and GAME
    OVER.
    The halways should also be randomized in the beginning of the
    program. Like this:

    * Create a list with all the room numbers and shuffle it so all of the
    rooms is in a mixed order. ex. [5 2 12 18 9 1 3 6 14 19 11 7 17 4 20 16
    10 15 8 13]

    * Connect the rooms in east-west direction so that the east hallway
    from room 5 leads to room 2 and the west hallway from room to leads
    back to room 5 etc. The last room in the lest should be connected with
    the first.

    * Shuffle a new list and do the same thing in north-south direction.

    once again the file:
    http://esnips.com/webfolder/b71bfe95-d363-4dd3-bfad-39999a9e36d0
     
    , Apr 25, 2006
    #1
    1. Advertising

  2. Guest

    wrote:
    > Im trying to create a version of the game Wumpus. Mine is called
    > Belzebub. But im STUCK! And its due tuesday 2 maj. Im panicing! Can
    > some one help me??
    > here is the file:
    > http://esnips.com/webfolder/b71bfe95-d363-4dd3-bfad-39999a9e36d0
    >
    > What i have the biggest problems with now is between line 8 and 23. How
    > i can move the character trough the game. Other parts of the game that
    > have with the movement to do is between line 83-114 and 123-143.
    >
    > This is part of the spec:
    > "The player walks around in the hallways, finds and tries to kill
    > Wumpus (Belzebub). The game finishes when the player or Belzebub dies.
    > The player has bombs which he can shoot. When he shoots he can
    > controll th ebombs for three moves, north, south, east or west three
    > times. If he is not careful he can shoot himself, ex first move: north.
    > second move south.
    > Let every room be represented by the object room. In the object,
    > information of what exists in the room is stored. (Belzebub,
    > teleporters, fire traps, acid traps or nothing). and where the halways
    > leads. (north hallway leads to room 17, the east to room 2 etc.).
    > Create a list of room objects to represent the hallways (every room
    > have has a number).
    > The content of the rooms shall be randomized in the beginning of
    > the program. Aproximatly 20% of the rooms should contain traps, 30%
    > should contain teleporters and in one of the rooms is Belzebub. One
    > room can not contain more than one danger, no traps and teleporters
    > together etc.
    > Teleporters transports the player from one room to another random
    > room. If the player encounters a trap o Belzebub he is killed and GAME
    > OVER.
    > The halways should also be randomized in the beginning of the
    > program. Like this:
    >
    > * Create a list with all the room numbers and shuffle it so all of the
    > rooms is in a mixed order. ex. [5 2 12 18 9 1 3 6 14 19 11 7 17 4 20 16
    > 10 15 8 13]
    >
    > * Connect the rooms in east-west direction so that the east hallway
    > from room 5 leads to room 2 and the west hallway from room to leads
    > back to room 5 etc. The last room in the lest should be connected with
    > the first.
    >
    > * Shuffle a new list and do the same thing in north-south direction.
    >
    > once again the file:
    > http://esnips.com/webfolder/b71bfe95-d363-4dd3-bfad-39999a9e36d0


    Uh...that's not a file.
     
    , Apr 25, 2006
    #2
    1. Advertising

  3. Guest

    the file is on that side. But apparently you have to register to
    download it.. =( But i can send it to anone who is willing to look
    trough it. just send me an email
     
    , Apr 25, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. NextOne
    Replies:
    0
    Views:
    367
    NextOne
    Oct 28, 2005
  2. Replies:
    0
    Views:
    327
  3. Replies:
    1
    Views:
    493
    Cowboy \(Gregory A. Beamer\)
    Sep 12, 2006
  4. Shane Holder

    WebFolder permissions reset with application restart?

    Shane Holder, Jun 22, 2005, in forum: ASP .Net Security
    Replies:
    0
    Views:
    131
    Shane Holder
    Jun 22, 2005
  5. seansan

    perl v-drive/webfolder program

    seansan, Feb 2, 2004, in forum: Perl Misc
    Replies:
    2
    Views:
    114
    Joe Smith
    Feb 2, 2004
Loading...

Share This Page