Hunt the Wumpus, Now version 3.0

DarkLizerd
03 Mar 2017, 09:36Back in the 1970's, when people first bought computers, MS DOS came with MS-Basic, so, they also bought Basic game books so that they could type in the games to play...
Here is one of those games...
To give credit where credit is due...
Hunt the Wumpus was originally written by Gregory Yob in BASIC in 1972 or 73.
I have made some changes to what he created.
There are 2 pits, which are quick kills, 2 Super Bats which will transport you to some other room, maybe dropping you in a pit, or in the room with the Wumpus itself!
And, of course, the Wumpus...
To kill the Wumpus, you have 3 arrows to shoot the Wumpus, but only from the safety of an connecting room.
There are 20 rooms to explore, and, as you will notice, the room names can change with every play.
Currently, there is just the one map, but I have it configured where I can add more maps later (Ver. 2.0) and with the re-named room, it will be impossible to guess which map you are in... (Cruel, I know... he, he, he!!!)
http://textadventures.co.uk/games/view/z80i597m50wk__83uezg_q/wumpus

crystalwizard
10 Mar 2017, 16:40Heh. Very good. Now recreate Hack.

DarkLizerd
10 Mar 2017, 19:16Haven't played Hack... I don't have the code...
I've heard of it...

crystalwizard
18 Mar 2017, 01:27if you search for Hack and Nethack, you'll find a lot of links.
here's the wiki:
https://en.wikipedia.org/wiki/Hack_(video_game)
pretty sure you could take the code you used here and mod it.
Basically, it's an oldschool dungeon crawl, and i'm pretty sure there are around 99 levels, though I usually only make it through 4 or 5 before dying. Each level random generates. Nethack came along as an expanded version of Hack.

DarkLizerd
18 Mar 2017, 03:11Nethack did sound like one I heard before...
It falls in the category of ..... hmmm... Can't remember the name...
But basically randomly generated dungeons, usually about 100 levels of pure nightmare of randomly
generated levels with increasingly harder monsters...
Castle of the Winds, was like that, graphic game, top level pre mapped, but the rest random.
!!!... I think they are called "dungeon crawl"!!!

DarkLizerd
18 Mar 2017, 03:22Amulet of Yendor... yep!!!
Actually, I do have a program that generates random mazes that you could print out and solve.
Not the most fun in the age of PCs, but it does generate one way through the maze.
As soon as I could decode how it does it's magic, I was going to do something with it...
(It is from one of my Basic game books)
And another one written in python that generates random graphic maps...
Well, character graphics...
I think it is set-up to be a complete game with monsters and all...

DarkLizerd
18 Mar 2017, 03:23No!!!... Rogelike!!!
I think Rogue was an early version...
Silver
18 Mar 2017, 21:04This game is kinda terrible, yet strangely addictive.

DarkLizerd
19 Mar 2017, 01:44Best of both worlds...
Like an addictive drug that you can't escape...
OK, I've almost got ver 2.0 ready...
You can play the original version, or any of the variations included...
(Just be careful of your choices...)

crystalwizard
19 Mar 2017, 02:49yeah, Roguelike is in that class. But hack, and nethack were BBS doorgames, and frustratingly fun and addictive.

DarkLizerd
19 Mar 2017, 17:02It kinda makes me wonder how many people here know what a BBS is...
I think I have decoded that maze program...
It generates 1 correct path through the maze from top to bottom.
But, just moving room to room in a 10x10 room maze could get boring...
Idea for what to place in the maze???

crystalwizard
19 Mar 2017, 21:27It kinda makes me wonder how many people here know what a BBS is
You'd be surprised. There are still BBSs out there, you just get to them via the internet rather than dialup now.
Idea for what to place in the maze???
well, standard dungeon crawl: monsters, the deeper you go, the harder their are. Treasure: potions for health and mana to restore hit points from running into monsters and magic points from casting spells at said monsters. Food, gold, other objects to use such as weapons, armor, rocks to toss at monsters and so on.
Ever play D&D?

DarkLizerd
20 Mar 2017, 02:41D&D... actually... no...
But I have played a lot of ADnD... (I know, about the same thing and used interchangeably all the time)
AND LOTS of computer versions...
Actually, after my last move, I left all my ADnD books behind because I knew there would not be any players where I was going...
But, Back in my early days, I did pick up a first level D&D box set... I couldn't understand the difference for awhile...
Time to dust off that book...
OK... One dungeon crawl coming up...
Several levels...
And a major prize at the bottom...
(Hmm, that one sounds familiar... Now, where have I heard that before???)
After the internet, I would have thought BBS's were a thing of the past... like public phone booths...

crystalwizard
20 Mar 2017, 04:17Several levels...
procedural maps?
After the internet, I would have thought BBS's were a thing of the past
Not even:
http://telnetbbsguide.com/
http://synchro.net/sbbslist.html
Still got muds going strong out there too:
mudconnector.com

DarkLizerd
20 Mar 2017, 05:09procedural maps?
Once a level is created it does not change if you leave and come back???
That should be doable...
The Pixie
20 Mar 2017, 10:04Like this?
http://textadventures.co.uk/games/view/em15b32xd0o-y-ysvgrtcg/deeper

crystalwizard
26 Mar 2017, 04:16Once a level is created it does not change if you leave and come back???
um, no. levels are automatically created with the code, and each level is different. Meaning, you only create one level, reload it over and over, and because as it increments you get harder and harder mobs, and the layout changes, you can essentially have an infinite number of levels

crystalwizard
26 Mar 2017, 04:16Like this?
yeah. like that.

DarkLizerd
01 Apr 2017, 23:25OK, the long awaited Wumpus 2.0 is now out...
8 different maps for your hunting fun!
3 different room name conventions!
and 5 different level of difficulty!!!
(and a secret "level"...)
Hopefully fully de-bugged and de-misspelled...
As an option for the ones that think this is too easy...
I can expand the width of the maps to have 5 exits instead of the original 3...
http://textadventures.co.uk/games/view/z80i597m50wk__83uezg_q/wumpus-2-0

DarkLizerd
19 Apr 2017, 02:52... Hmmm... no comments about the "Easter egg" in the game... :(

crystalwizard
26 Apr 2017, 02:26Easter egg eh? I've been working 9 hour days for the last 3 weeks. hadn't tried 2.0 until right now.
hunting the easter egg, but um, you need some proofing on your text. Not sure which room this actually is, but hunt for the text:
it flew through several room until
you need an s on the end of room in that sentence.

crystalwizard
26 Apr 2017, 02:27okay, apparently I'm stuck. the bat dropped me in a room i'm calling room 17. The exits are labled room 1, room 2, room 3. But no matter which I click on, I stay in room 17. And trying to shoot through the doors doesn't do anything either.

crystalwizard
26 Apr 2017, 02:31One negative comment. In every room, even though the description says the room numbers, the exits are only labeled room 1, room 2, room 3. This makes it impossible to tell which room you're actually going to. On an ascii map, you'd see the exits and know if you went through the one at the north, or the south, or the west. But in this text version, we really need the exit names to reflect which room we're going to.
FYI, the version of the game I've picked is 1 - standard map - not torment with random rooms... but with the exits labeled as they are now I might as well be trying to play random rooms.
There's a difference between providing a challenge that players enjoy, and forcing a challenge that frustrates. The DM might really enjoy killing off the PCs every chance he gets, but he'll lose his gaming group real fast if he indulges himself.

DarkLizerd
26 Apr 2017, 02:48I wanted to name the exits to the connecting room names / numbers... but...
As far as I can tell, the exit alias has to be a names and cannot be a variable.
As far as the room goes, there is only "one" room that reloads with different exits.
(Easter egg... try option 0... zero)
Thanks for the missing "S"...
And I'll check out about the "bat dropping" error...
I'm using Exits to leave the room, but I'll check about using Commands to do the exits...
I know that some DM may be player killers... but, fortunally, I've never ran into any...
But I do understand the frustration...

DarkLizerd
26 Apr 2017, 06:43My attempt was that the first exit was room1, the second one - room2, and the third one - room3, but the room numbers are listed, in order, in the room description.
Got the "rooms" fixed, thanks...
I can get only this close to what I want:
You can go to room1 (1), room2 (4), room3 (6), or you can shoot through Door1 (1), Door2 (4) or Door3 (6).
But I can't get:
You can go to room1, room4, room6, or you can shoot through Door1, Door4 or Door6.
I can print the text above, but "room1", "room4" and "room6" would not be clickable links.
That is the problem I am having...
(I may have an idea...)... nope... nothing worked!!!

DarkLizerd
26 Apr 2017, 07:02okay, apparently I'm stuck. the bat dropped me in a room i'm calling room 17. The exits are labled room 1, room 2, room 3. But no matter which I click on, I stay in room 17. And trying to shoot through the doors doesn't do anything either.
Did the bat drop you in a pit or on the Wumpus???
(It would be a message after the exit list)
Because, if it did, you died and the game does not take orders from dead players... :)
But the links appear to stay active...

DarkLizerd
04 May 2017, 17:51Update...
I now have a control panel where you can select a lot of the options before entering the game.
AND (!!!!!) I got the room naming part figured out!!!!
No more: "Your can go to room1, room2, room3..."
It will now read: "You can go to room 2, room 5, room 8..."
Or, if select alternative room names: "You can go to room II, room V, room VIII..."
And you can select 3, 4 or 5 connecting rooms.
I will release this as a new game, Version 3.0, to separate it's comments from V. 2.0...

DarkLizerd
09 May 2017, 06:03Version 3.0 is now finished!!!
http://textadventures.co.uk/games/view/g4jaujz2ceipk6vi3cfx0a/wumpus-3-0
Now, I think I'm off to my next creation...
(1 of 4 fighting for attention!)

DarkLizerd
15 May 2017, 20:26OK, more tweaking on V3.0
any ideas???
Failed to load game.
The following errors occurred:
Error: Error adding script attribute 'script' to element 'GetRoomDesc': Missing quote character in switch (player.roomDescNo) {
case (1) {
player.roomDesc1 = " This is the entrance room. There is another etching on the wall that looks like it could be another doorway, but when you touch it, you only feel the cold stone wall. There is a 2 foot high pedistal with a small depresion in the top. You see a black staining ring around the inside about half way up the side. You wonder if this is what is used to open the exit out of the cave."
}
case (2) {
player.roomDesc1 = "You step through the doorway and into another cavernous room. There are staligmites hanging from the roof of the cave that look like they could fall at ant moment. You would call this a cavern of daggers... but quietly!!!"
}
case (3){
player.roomDesc1 = "The 3rd room."
}
case (4) {
player.roomDesc1 = "Other
}
}
???

DarkLizerd
17 May 2017, 17:26Solved...
It needed to be
case (3){
player.roomDesc1 = ("The 3rd room.")
}