Coder Social home page Coder Social logo

kams's Introduction

Kingdoms of Ahln MUD Server (kams)

Author: Justin Collins
License: GPLv2 except where noted
Website: http://kingdomsofahln.com

Requires

Ruby (1.8.6, 1.8.7, or 1.9.1)

EventMachine

Installation

  1. gem install eventmachine
  2. Uncompress the kams source somewhere
  3. Run ruby util/setup.rb
  4. Run ruby server.rb

If you are using the Windows Ruby One-Click Installer, you can double-click setup.rb and server.rb to run them.

Where to find things

The Server starts and restarts the server.

The Manager holds all the GameObjects, passes events to the EventHandler, and generally holds methods for accessing the state of the game.

GameObject is the superclass of all objects in the game.

Player handles player stuff, like showing the prompt and managing stats.

CommandParser turns commands into events.

EventHandler calls the appropriate events.

StorageMachine stores GameObjects in the storage/ directory (by default).

All game objects should be kept in the objects/ directory.

The text shown upon connection is in the intro.txt file and is loaded by the PlayerConnection if it exists.

'Reactions' for GameObjects are in objects/reactions/ and have the '.rx' extension.

Help files go in help/ and are just plain text files with the '.help' extension. You can simply use symbolic links for aliasing one command to another.

The file help/syntax.rb provides syntax help in the game.

Beware

Some things (hunger) may appear to be implemented but they really are not.

kams's People

Contributors

presidentbeef avatar tjkirch avatar mlidstrom avatar

Stargazers

 avatar

Watchers

 avatar

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.