• Please review our updated Terms and Rules here

Wump.2 game and C++ code

wumpus_byte

Experienced Member
Joined
Jul 8, 2024
Messages
53
Location
Wyoming, US
I've finished creating a redux of Hunt the Wumpus called Wump.2 and am sharing the C++ source. You may remember Hunt the Wumpus, the BASIC version by Gregory Yob from 1973, or the version on the TI-99 cartridge. You play an adventurer in a cave, navigating around pits and super bats, trying to track down and stick an arrow in the smelly Wumpus. I extended the premise:
  • 4 levels
  • Different weapons and enemies per level
  • ASCII art for objects and events, i.e., weapons/enemies/getting eaten by the Wumpus
And if you like C++, I'm sharing the code on GitHub. Development was done on Solaris 11.4 and code compiled with gcc. The classes hopefully are super reusable, and include enemy, weapon, hazard (e.g., pits), relocator (e.g., bats), level, and game. It's less than 900 lines so nothing too fancy, uses basic includes, and would hopefully be straightforward to pick up.

Some gameplay footage is shown here, and the last 8 minutes are an overview of the code

GitHub project is
https://github.com/kmccartn-80486/Wump.2

Enjoy! Suggestions for improvement are very welcome!
 
Last edited:
Tell me about! I spent almost all day yesterday building a machine, only to discover at the very end I'd bought the wrong graphics cards. Still one of the best days I've had in months!
 
Back
Top