Crates.io | wump |
lib.rs | wump |
version | 0.1.1 |
source | src |
created_at | 2024-05-24 22:27:09.694849 |
updated_at | 2024-05-24 23:12:27.64049 |
description | Hunt the Wumpus |
homepage | |
repository | https://github.com/evanjpw/wump.git |
max_upload_size | |
id | 1251593 |
size | 171,385 |
Hunt the Wumpus
This is a revivification of the ancient & "legendary" computer game, Hunt the Wumpus, which seems to be the only kind of Rust project that I ever actually finish.
The implementation is based loosely on the C version included in the BSD Games package of the Debian Linux distribution. The comments suggest that it was written by Dave Taylor, of Intuitive Systems.
I chose this implementation over the original BASIC version by Gregory Yob because it was more readable (arguably).
This implementation is structured differently , but tries valiantly to work as similarly as possible to the source material. This includes using the text strings from the original & preserving the amusing & sometimes baffling comments.
I had thought about this game for a not insubstantial amount of time, but I didn't have the same happy memories of the game that I did with the Star Trek game.
But, in thinking about it, I kept thinking about the map: a graph equivalent to the vertices of a dodecahedron. When I looked at the BASIC version, they just had a predetermined list of nodes & connections. I thought about writing a map generator, but didn't feel like writing the whole game (see comment above about happy memories).
Eventually, I decided to just make a dodecahedral map generator in Python, & then decided to write one in Rust, & then found myself writing the game.