Giter Site home page Giter Site logo

jerith / imaginary Goto Github PK

View Code? Open in Web Editor NEW

This project forked from twisted/imaginary

0.0 3.0 0.0 3.65 MB

Imaginary is a simulationist's take on the realm of role playing, interactive fiction, and multiplayer dungeons. It incorporates gameplay features from each area while attempting to provide a richer environment than is generally available from existing systems.

License: MIT License

Python 100.00%

imaginary's Introduction

image

image

Imaginary is an experimental simulation-construction toolkit.

Be warned! We aren't kidding when we say "experimental". Many features are not implemented yet and documentation is incomplete. We think there are some pretty cool ideas here, but if you are intending to use this system, be prepared to participate heavily in its development.

This document is mainly concerned with getting an Imaginary server up and running, to the point where you can edit the code and see things change. Some familiarity with Python, Twisted, Nevow, Axiom, and Mantissa are all helpful, but we will try to make sure they aren't really required just to get started.

While we have tried to make it possible to get a taste of what is possible here, if you want to make any serious progress, you will want to join the IRC channel "#imagination" on chat.freenode.net and start asking questions. If you are curious about what needs to be done, have a look here:

http://tinyurl.com/2tuo9o

The first step in configuring a new installation of Imaginary will normally be creating a new Mantissa database.

(This is assuming you have already set up Combinator, installed Twisted, and all necessary Divmod dependencies. If not, see http://divmod.org/trac/wiki/CombinatorTutorial for more information.)

First run the following command:

axiomatic mantissa

And answer the prompts appropriately. Please take note of the new password you enter for the "admin" user, as you will need it in a few steps.

This should create a directory called "mantissa.axiom", containing the server for a web interface that will allow you to install "offerings" (plugins for Mantissa, in this case, Imaginary), create users, and grant them privileges. You can start this webserver with the following command: (the -n option will run it in the foreground on the current terminal)

axiomatic start -n

You should now be able to access this server at http://localhost:8080 in your web browser.

Click the "Sign In" link in the upper right hand corner, and log in as "admin" with the password you chose previously while configuring Mantissa.

If you logged in successfully, you should now be presented with a list of "offerings" that can be installed. Click on "Imaginary" to install it.

Next, mouse over the "Admin" menu at the upper left of the screen and then click on the "Products" sub-menu.

In the "Installable Powerups" section, check the box corresponding to "Imaginary Game". Then click the "Installable Powerups" button below. You will hopefully be presented with a green confirmation dialog to confirm your success. This creates a "product" which can be given to users.

Mouse over the "Admin" menu again and click "Local Users". You should be presented with a page including a table of users - probably with only the "admin" user in it. Click the word "Endow" in the "Actions" column of that table, then select the product with "ImaginaryApp" in it (again, this is probably the only one presented) and click the "Installproducton admin@localhost" button. You should again be presented with a green confirmation dialog. Hooray!

Ideally, you will now be able to ssh into your Imaginary server. In a new terminal, ssh to localhost on the Mantissa server's SSH port (by default, this is 8022). For example:

ssh -p 8022 admin@localhost@localhost

Note the odd username/host specifier - "admin@localhost" is the user, and the last "localhost" specifies the host to connect to.

Log in with the same password you used to log in to the web interface. You should be presented with a screen including several options, one of which is "imaginary". Use tab to highlight that option (the highlighted option should appear red), then hit enter to select it.

At the Imaginary character prompt, choose to create a new character; enter a new username (e.g. not "admin"). You will then join the game as that new character.

Once in the game, you should see a row of dashes along the bottom of the display. To confirm your new MUDness, try typing "look" and hit enter; You should see some indication of the generic place that you are in, the available exits, and other players in the area, though initially you won't see much more than "[The Place]".

You can enter "actions" for a list of actions, and use "help" along with one of them ("help dig") for specific information on how to use them. You can even log in via other telnet windows, create additional accounts, and interact with your initial user (for example, beating them to death with "hit").

When you've tired of self-abuse, you can stop your Imaginary server by hitting control-c in the terminal where you ran "axiomatic start -n".

imaginary's People

Contributors

ashfall avatar exarkun avatar glyph avatar jerith avatar lvh avatar

Watchers

 avatar  avatar  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.