Skip to content
/ Mirage Public

TypeScript/JavaScript text-based game engine

Notifications You must be signed in to change notification settings

lp1dev/Mirage

Repository files navigation

MIRAGE

Modern Interactive Retro Adventure Game Engine

Mirage is a retro adventure game engine written in TypeScript/JavaScript.

The goal of this project is to build a quick and easy to use tool to build one's own text game.

It can be used with Node.JS, web applications and mostly anything running with TypeScript/JavaScript.

It requires a JSON game file, containing game configuration and logic. You can have a look at this example file

For more information please read the documentation.

Node.js Example

node-screenshot

Android (Ionic) Example

android-screenshot

Use mirage in your npm project

npm install --save https://github.com/lp1dev/Mirage.git

Build the engine from its sources

To install the needed dependencies :

npm i

To build the JavaScript files from the TypeScript

tsc

The MIT License (MIT)

Copyright © 2018 Lp1.eu

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Releases

No releases published

Packages

No packages published