GithubHelp home page GithubHelp logo

jtfmumm / novitiate Goto Github PK

View Code? Open in Web Editor NEW
68.0 2.0 4.0 136 KB

A procedurally generated RPG inspired by Rogue and written in Pony.

License: GNU General Public License v3.0

Pony 100.00%
pony-language roguelike rpg ponylang

novitiate's Introduction

[For the graphical Rust version, see Acolyte.]

Novitiate

A procedurally generated RPG inspired by Rogue and written in Pony.

This is a work in progress but you can currently play complete games. Because everything is procedurally generated, it's a different game every time.

NOTE: Novitiate is currently tested with ponyc v0.24.0. It may break with earlier or later ponyc releases.

Novitiate

Novitiate Instructions

Novitiate is played from the terminal.

The object of the game is to find the Staff of Eternity.

Commands

NORMAL MODE (moving around map):
<arrows> - movement / attack (collide with enemy)
h - (h)elp
. - wait (turn passes without action)
i - enter INVENTORY MODE
l - enter LOOK MODE (inspect tiles from a distance)
v - enter VIEW MODE (jump around map)
t - (t)ake item on tile
> - descend stairs
< - ascend stairs 
<enter> - inspect tile you're on (and see item type)
q - quit

LOOK MODE (inspect objects around map):
<arrows> - move look cursor
enter - look at highlighted tile
l - return to NORMAL MODE
<esc> - return to NORMAL MODE

VIEW MODE (rapidly look around map):
<arrows> - jump view by partial screen
v - return to NORMAL MODE
<esc> - return to NORMAL MODE

INVENTORY MODE:
<arrows> - move through items
enter - equip weapon or armor / drink potion / use misc item 
l - (l)ook at item
d - (d)rop item
i - return to NORMAL MODE
<esc> - return to NORMAL MODE

Objects

@ - the novitiate
[a-z,A-Z] - beings of all kinds
# - wall
% - weapon or armor
! - potion
$ - cold, hard cash
> - descending stairs
< - ascending stairs 
? - who knows!

Installation

Currently, Novitiate is only supported on OSX, though it should work on at least some Linux distros.

Install via homebrew

Installing via homebrew is easy. Just run the following commands:

brew tap jtfmumm/tap
brew install acolyte

I need to update the tap to reflect the new name, but in the meantime you can run the game by following the above instructions and running acolyte.

Building on Mac OS X

If you don't use homebrew or you'd rather build from source, you can follow these instructions. You'll need to install the Pony compiler as part of this process.

Building ponyc

You'll need llvm 3.7.1 or 3.8.1 and the pcre2 library to build Pony. You can use either homebrew or MacPorts to install these dependencies.

Get Dependencies via Homebrew

Installation via homebrew:

$ brew update
$ brew install homebrew/versions/llvm38 pcre2 libressl
Get Dependencies via MacPorts

Installation via MacPorts:

$ sudo port install llvm-3.8 pcre2 libressl
$ sudo port select --set llvm mp-llvm-3.8
Install compiler

Clone the ponyc repo and install the compiler (Novitiate is tested with ponyc v0.14.0):

git clone https://github.com/ponylang/ponyc
cd ponyc
git checkout 0.14.0
make config=release install

Building Novitiate

git clone https://github.com/jtfmumm/novitiate
cd novitiate
ponyc
chmod +x novitiate

Running

Your terminal must have dimensions of at least 99x31 to run the game properly.

Assuming you've set execute permissions (e.g. via chmod +x novitiate), you can run the game with the following command:

./novitiate

novitiate's People

Contributors

jmiven avatar jtfmumm avatar sylvanc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sylvanc jmiven d-l

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.