Giter Site home page Giter Site logo

gabereiser / swr Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 2.0 19.72 MB

SWR MUD - A space text based adventure

License: GNU General Public License v3.0

Makefile 0.28% Go 99.72%
cli d20-game mud mud-server role-playing-game roleplaying roleplaying-game server starwars starwarsrpg telnet telnet-bbs text yaml star-wars hacktoberfest

swr's Introduction

SWR

Build

Building

After cloning the repository, make all will download dependencies and build the server.

Running

Once built, the executable server will be in the bin directory. Simply run it from the root of the repo with ./bin/server on POSIX or bin\server.exe on Windows.

History

Growing up I used to play muds. I loved them. There was a mud called SWR based on SMAUG (which in turn was a merc/diku derivative) that recreated the Star Wars universe in text based form. It was pretty good and other muds formed by forking the source and adding their contributions.

SWR is a reimagining of that codebase without the merc/diku/smaug legacy. Instead, it's a pure go mud with some javascript for scripting that is more flexible and robust than the C mud engines of old.

Features

  • TELNET echo/no-echo
  • ANSI Colors
  • Color Codes in MERC/DIKU/SMAUG style (ex: &WThis is White&d) 'This is White' in โฌœ text #ffffff
  • Fuzzy Matching. Commands in the mud are fuzzy matched. Which means the command LOOK can be called using just l or look. Similarly the command SCORE can be called with just sc. This makes it quick to execute commands with shortcuts.
  • YAML based areas. Easy to edit.
  • Progressive Language system with alphabet support.
  • Scheduled Function calling.
  • Scheduled Backups using tar shell command.
  • Multi-threaded using go routines.
  • Abstract command system makes it easy to add commands.

Planned

  • Area Resets / Mob Resets
  • Browser based area editor
  • Spaceships
  • Crafting
  • Combat
  • Starting Newbie Area
  • Training Skills
  • Skill Tree
  • Cargo/Trade
  • Guilds/Clans
  • Factions
  • Space Combat
  • Dungeons
  • Raids
  • Quests

swr's People

Contributors

gabereiser avatar marado avatar plasmatrout avatar uiosun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

marado uiosun

swr's Issues

new connections hanging

Multiple accounts can connect to the server, until the first client quits. Once that happens, new connections hang:

(server):

2023/10/03 11:16:18 Player Noori has left the game.
2023/10/03 11:16:19 Accepted client connection from 127.0.0.1:38414

(client):

quit

The world slowly fades away as you close your eyes and leave the game...


[Hp:51/51] [Mv:51/51] 


๐Ÿšจ Thank you for playing! ๐Ÿšจ

[Hp:51/51] [Mv:51/51] 

Connection closed by foreign host.
$ telnet localhost 5000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.