Graph The Wumpus
A collaborative Hunt The Wumpus remake using a custom graph, with hazards, arrow behavior, and dynamic Wumpus movement across 20 rooms.
Graph The Wumpus is a collaborative C++ console game built with a classmate for our Data Structures course. The project centered around designing and implementing a custom graph to control all gameplay logic. The cave is represented as a 20-room graph where each room connects to 2-4 others, with hazards (a bottomless pit, a bat colony, and the Wumpus) randomly assigned at the start.
Players can move, shoot arrows, or observe tunnels for warnings. Every action interacts meaningfully with the underlying graph structure:
Observing tunnels gives hazard feedback on adjacent vertices
Moving triggers room effects likes pits or bat teleports
Attacking fires an arrow that travels through the graph without revisiting previous nodes
The Wumpus relocates after missed attacks, avoiding the player.
Together, we built the entire system from scratch: the graph adjacency rules, hazard placement, traversal, randomization, arrow logic, and the text-based UI that communicated room options and warnings.