A multiplayer terminal-based hunting game, forked from hunt
.
MegaHunt is a classic terminal-based game where players navigate through a maze and hunt each other down. It was forked from hunt
a long time ago by Alan Klietz (whom you may recognize as quite possibly the progenitor of the MMORPG).
I used to play this a lot in the 1990s on SPARCStations running SunOS 4.1. I'm not sure if it was originally on jacobs.csos.orst.edu, my UMN-adjacent friends' machines, or Kansas State University originally (I was quite the enthusiastic 'borrower' of shell accounts back then), but it is also certain that in 1993 when the Internet provider that I helped to start purchased its first SPARCStation 2, one of the first things we did was play megahunt
with dumb terminals. Even then, however, I only had a binary, no source code.
It was my great fortune to track down Alan on LinkedIn, and he was happy to provide the source code. Me and Claude Code proceeded to update it from K&R C and termlib, to C99-compliant and ncurses. It now builds on MacOS.
As of May 23, 2025, it appears to work as intended on MacOS Sequoia 15.5, and Linux 5.10.103 on a Raspberry Pi 4. It will probably work elsewhere, but isn't thoroughly tested.
Pull requests and forks are of course always welcome. Note that the original
branch of the repository has the unmodified source code (for flux to run on the SS20 running SunOS 4 in his garage).
make
Start the server:
./hunt.driver
Run the client:
./hunt
- Multiplayer gameplay
- Terminal-based interface
- Maze navigation
- Various weapons and power-ups
This project is licensed under the BSD License - see the LICENSE file for details.