matthewjwhite / crystal-skull

:skull: Highly-configurable, telnet-compatible, text-based RPG

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crystal-skull

A highly-configurable, telnet-compatible, text-based RPG.

Build

  1. docker build -t crystal-skull .

Run

  1. docker-compose up -d
  2. telnet localhost 5555
  3. Follow steps to create a user.
  4. Play the game!

Upon reconnecting, you will need to decrypt the challenge to authenticate.

To decrypt (assuming priv. key at mykey.pem):

echo <encryptedEncodedChallenge> | base64 -d > challenge && \
    openssl rsautl -decrypt -in challenge -inkey mykey.pem -out challenge-dec && \
    cat challenge-dec && \
    rm -f challenge challenge-dec

Goals

  • Keep the client-server communication as primitive as possible, using telnet, to maintain a retro feel.
  • Make most aspects of the game configurable via simple file edits.
    • Rather than incorporating complex binaries burying aspects of maps, the goal is to use a simple format, such as YAML, to define monsters, maps, etc.
    • A server administrator could quickly customize the genre of the game, using this as an engine of sorts for their own game.

About

:skull: Highly-configurable, telnet-compatible, text-based RPG

License:MIT License


Languages

Language:Python 98.3%Language:Dockerfile 1.7%