Yendor.ts
Jump to navigation
Jump to search
Yendor.ts | |
---|---|
Library project | |
Developer | Jice |
Released | October 16 2014 (0.0.2) |
Updated | {{{updated}}} |
Status | Beta |
Licensing | MIT License |
P. Language | Typescript |
Platforms | Web |
Dependencies | pixi.js, jquery |
Official site of Yendor.ts |
Introduction
Yendor.ts is a TypeScript API for roguelike developers. It provides a true color console, a robust random number generator, a field of view toolkit, and other utilities frequently used in roguelikes.
It comes with a simple generic roguelike game to extend.
Features
- fast WebGL/Canvas true color console (using pixi.js)
- BSP based dungeon building toolkit
- CMWC random number generator
- field of view toolkit using restrictive precise angle shadowcasting
Quick Start
pre-requisites
- install node.js
- install TypeScript
npm install -g typescript
- install jake
npm install -g jake
compile and run the demo game
jake
Then open game/index.html in your favorite browser.
compile and run the unit tests
jake tests
Then open game/index.html in your favorite browser.
compile and run the benchmark
jake benchmark
Then open game/index.html in your favorite browser.
License
Yendor's code uses the MIT license.