项目作者: cblgh

项目描述 :
a peer-to-peer distributed multi-user dungeon, built ontop of cabal
高级语言: JavaScript
项目地址: git://github.com/cblgh/sector7557.git
创建时间: 2020-08-04T15:02:22Z
项目社区:https://github.com/cblgh/sector7557

开源协议:GNU Affero General Public License v3.0

下载


sector7557

a peer-to-peer distributed multi-user dungeon, built ontop of cabal

image

Create Walk with the arrow keys, place tiles by pressing WASD. Change a
selected tile by pressing keys on your keyboard. Certain tiles are impassable.

Describe Stand on a tile, press Enter and type to describe the tile
underneath the player character. The description will be shown to anyone who
stands on the tile. Even if the tile is replaced with another sigil, the
description will remain. Descriptions can be overwritten in the same manner as
they are written.

Chat Chat with others in the same world by pressing Enter and invoking the
/w command.

the walkers phase in and out of the sectors, leaving traces of the worlds they build

Install

  1. npm i -g sector7557

Usage

  1. # read the help
  2. sector7557 --help
  3. sector7557 --manual
  4. # join sector7557
  5. sector7557 mud.cblgh.org # join the public instance
  6. sector7557 --new # create a new world

Commands

The commands can be invoked by pressing enter, to trigger the terminal, and then writing them per the syntax.

  1. /w <chat message> write a chat message
  2. <enter> <desc> start entering a description for tile at player position
  3. /nick <nickname> set nickname
  4. /sector <name> name or describe the entire current sector
  5. /fg <color name> set tile foreground color
  6. /bg <color name> set tile background color
  7. /self <char|color> if 1 character, set's player character. if color code, sets player color
  8. /help show the ingame help
  9. /reset reset current fg/bg color selection
  10. /legend print a legend of the allowed and passable sigils which can be placed
  11. /clear clear non-player chat messages (e.g. legend, help)
  12. <keypress> press various keyboard keys to select a tile sigil for creation
  13. <ctrl-l> force redraw screen (clears up buggy screen artefacts from ANSI color clash)

Color name

You can set colors for tiles and for your player character using the fg, bg
and self commands from above. When setting a color, a code from below must be
used.

Note: Colors on the same line below, e.g. red2, pink, are the same color, the
latter being an alias.

  1. black
  2. black2
  3. grey, gray
  4. grey2, gray2
  5. red
  6. red2, pink
  7. green
  8. green2
  9. yellow
  10. yellow2
  11. blue
  12. blue2
  13. magenta
  14. magenta2
  15. teal, cyan
  16. teal2, cyan2
  17. white
  18. white2
  19. none

Tiles and Sigils

The world is built out of tiles, which consist of a sigil and
foreground / background colors. A sigil is a simple ASCII character.

There is a limited amount of characters which are allowed as tiles at the
moment, a subset of which are passable (can be traversed by a player).

See the list of sigils below. It can also be found inside sector7557 by invoking /legend.

  1. PASSABLE
  2. .|-_,>x<^v¤!?"
  3. ALLOWED (but not passable)
  4. \* #o+$%&/()=;§:

It is likely that the amount of sigils will be expanded in future patches.

Terminology

  • The player is a walker
  • The world is made out of sectors
  • Each screen is a map
  • A tile is a combination of a sigil, a foreground color (fg), and a
    background color (bg)