Page 1 of 1

Game: Hunt the Wumpus

Posted: Sun Aug 26, 2012 2:12 pm
by eturnerx
This week I recreate an old text game that I remember as a kid in the '80s: Hunt the Wumpus. It apparently started in 1971. Basically you wander around a map trying not to fall into a pit trap or get eaten by the wumpus. You win by shooting the wumpus - but don't shoot yourself!

I use a "struct" to create a datatype for each of the rooms in the map. Also; a giant switch...case block controls the whole thing. The video is a much shorter 3 and a half minutes.

Video: http://youtu.be/_nOYWH1YqFs
Code: http://pastebin.com/WZmKnt95

Re: Game: Hunt the Wumpus

Posted: Mon Aug 27, 2012 2:40 am
by tronixstuff
Once again - Well done! And thank you for sharing that with us.
:)

Re: Game: Hunt the Wumpus

Posted: Mon Aug 27, 2012 2:44 am
by jonoxer
Do you have a blog or somewhere more permanent than PasteBin where you could write this up? I'd like to add a link to it from the Hunt the Wumpus article on Wikipedia.
--
Jon

Re: Game: Hunt the Wumpus

Posted: Thu Aug 30, 2012 10:44 pm
by eturnerx
jonoxer wrote:Do you have a blog or somewhere more permanent than PasteBin where you could write this up? I'd like to add a link to it from the Hunt the Wumpus article on Wikipedia.
--
Jon
:oops: Okay, I'll move it to my own site. I used Pastebin for the syntax highlighting and ability to dl in raw txt etc.

Re: Game: Hunt the Wumpus

Posted: Fri Aug 31, 2012 4:50 pm
by eturnerx
I've moved code for the 3 arduino + freetronics 16x2 LCD shield videos onto my own domain. The Wumpus code is available as a link from:

http://eturnerx.blogspot.com/2012/08/ar ... rsion.html

I'd probably not share a direct link to the actual code since it kinda needs the blog post / video to contextualise it. Maybe I should write better comments :)

Thanks for considering this for Wikipedia.

Re: Game: Hunt the Wumpus

Posted: Tue Sep 18, 2012 10:42 am
by jonoxer
I added a link to it from the Wikipedia page :-)
--
Jon

Re: Game: Hunt the Wumpus

Posted: Fri Sep 21, 2012 9:13 pm
by eturnerx
Sweet! I won't forget you all when I get famous. :P

Re: Game: Hunt the Wumpus

Posted: Wed Jul 12, 2017 3:37 am
by harry56

Re: Game: Hunt the Wumpus

Posted: Fri Sep 01, 2017 7:15 pm
by jhonlee2050
one of my favorite childhood game and thanks for sharing it with us you have done a good job
https://plasmacutteradvisor.com/lotos-l ... er-review/