All Projects → ufosc → swampymud

ufosc / swampymud

Licence: MIT license
A simple python MUD engine, created by UF students.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to swampymud

Dark-Ages-Private-Server
A Dark Ages Private Server Project
Stars: ✭ 29 (+45%)
Mutual labels:  mud-server
DikuMUD2
DikuMUD II from 1997
Stars: ✭ 24 (+20%)
Mutual labels:  mud-server
simplemud
SimpleMUD from MUD Game Programming book ported to NodeJS
Stars: ✭ 36 (+80%)
Mutual labels:  mud-server
room.js
A node.js MOO server
Stars: ✭ 75 (+275%)
Mutual labels:  mud-server
mud-server
A MUD server written in Java w/basic OLC and a channel-based chat system.
Stars: ✭ 36 (+80%)
Mutual labels:  mud-server
toaststunt
A fork of the LambdaMOO-Stunt server with features found useful during the development of Miriani and ChatMUD.
Stars: ✭ 31 (+55%)
Mutual labels:  mud-server
MoD
MUD on Discord, a MUD framework Bot for Discord
Stars: ✭ 20 (+0%)
Mutual labels:  mud-server
dreamland world
DreamLand MUD: all configuration files, and some areas for local dev
Stars: ✭ 16 (-20%)
Mutual labels:  mud-server
shadowgate
Mirror of ShadowGate code
Stars: ✭ 12 (-40%)
Mutual labels:  mud-server
cwmud
An extendable, modular MUD server.
Stars: ✭ 15 (-25%)
Mutual labels:  mud-server
dumserver
A modern MU* engine re-imagined, actively developed and properly tracked.
Stars: ✭ 54 (+170%)
Mutual labels:  mud-server
guildmud
A SocketMUD-based Multi-User Dungeon built and managed by the members of The MUD Coders Guild.
Stars: ✭ 26 (+30%)
Mutual labels:  mud-server
dreamland code
DreamLand MUD: server code
Stars: ✭ 36 (+80%)
Mutual labels:  mud-server

swampymud

Multi-user dungeons, or "MUDs" are text-based role-playing games, that naturally evolved from the text-based rpg and adventure games of the 1970s. This project aims to introduce a new generation—one that never experienced a world without broadband internet—to this classic game genre. While this code can be adapted for any setting, we intend to render our university in beautiful ASCII.

(Note: this project should be considered an alpha. Expect changes to the API.)

Requirements

Hosting

For hosting a server, Python 3 must be installed on the system (along with an appropriate internet connection.) For help with Python installation, visit https://www.python.org.

This project also requires the packages websockets (>= 8.1) and PyYAML (>=5.3.0).

Connecting

For connecting to an existing server, a simple telnet client is required. However, we recommend using a dedicated MUD client to avoid ugliness like this:

raw_telnet.png

There are many solid MUD clients available. We have been using Mudlet, a completely free and open source MUD client. Here's the same scenario, in Mudlet:

mudlet_client.png

You can now connect to a swampymud in your browser using a websocket. More on this later...

Getting Started

Hosting

I recommend installing this package using pip:

pip3 install swampymud

Alternatively, if you want to install from source, you can clone this repo and install the requirements with pip3 install -r requirements.txt.

Either way, you can launch a Swampy MUD server right away like so:

python3 -m swampymud

By default, this will start a WebSocket server on port 9000. If you want to specify a different port (e.g. 4000), you can run

python3 -m swampymud --ws 4000

To start a plain TCP server instead of a WebSocket server, use the --tcp flag.

python3 -m swampymud --tcp 8333

Why not both? You can provide both the --ws and --tcp arguments to start both a WebSocket server and a TCP server.

# this will start a WebSocket server on port 1234
# AND a plain TCP server on port 5678
python3 -m swampymud --ws 1234 --tcp 5678

For a full list of options, run python3 -m swampymud --help.

If you are hosting a server for other people to connect, you will need to port foward your router. When you port forward, select the TCP protocol and direct traffic towards whatever port the server is listening on.

Connecting

with a Raw Telnet Client

If you want to use an ugly, raw telent client, you can use the following terminal command on *nix systems:

# telnet <ip address> <port>
# if you started a server with the default settings:
telnet localhost 9000

On Windows, a telnet client is not provided by default. One option is to follow this guide to enable the Windows telnet client.

Alternatively, you can install PuTTY, a free and open source telnet and ssh client.

with Mudlet

  1. Run Mudlet. You will be prompted to "Select a profile to connect with".
  2. You must enter a set of required fields:
    • For "Profile name", put whatever you prefer.
    • For "Server address", put the address of the server.
    • For "Port", put the port of the server.
  3. Once all the fields are entered, simply press "connect".
  4. Have fun!
  5. When you exit Mudlet, you will be asked if you want to save the profile. Select "Yes", and simply load the profile next time you play.

Contributing

Please read CONTRIBUTING.md for how to work on the project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].