https://github.com/kach/smudge
Snazzy Multi-User Dungeon (Guaranteed to be Excellent)
https://github.com/kach/smudge
Last synced: about 2 months ago
JSON representation
Snazzy Multi-User Dungeon (Guaranteed to be Excellent)
- Host: GitHub
- URL: https://github.com/kach/smudge
- Owner: kach
- Created: 2017-01-29T23:29:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-30T05:26:15.000Z (over 9 years ago)
- Last Synced: 2025-10-07T03:54:27.751Z (8 months ago)
- Language: C
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
The WORLD is controlled by a thread that iterates state.
Each TELNET connection is controlled by a thread that negotiates terminal
stuff. It relays keypresses to the controller and echoes a rendered screen to
the socket.
To build a game, implement a world according to world.h, then link it to
mudpie.c and execute. mudpie.c is called mudpie.c because you can use a single
compiled copy to bake multiple MUDs. Obviously.
$ gcc -c mudpie.c
$ gcc -c world.c
$ gcc -pthread mudpie.o world.o -o game
$ ./game 1337