Difference between revisions of "Yendor.ts"

From RogueBasin
Jump to navigation Jump to search
(creation)
 
m (0.7.0)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{library| name = Yendor.ts
{{library| name = Yendor.ts
|developer = Jice
|developer = [[Jice]]
|released = October 16 2014 (0.0.2)
|released = October 16 2014 (0.0.2)
|dependencies = [[pixi.js]], [[jquery]]
|updated = October 09 2016 (0.7.0)
|dependencies = [[pixi.js]], [[jquery]], [[dexie]]
|status = Beta
|status = Beta
|licensing = MIT License
|licensing = MIT License
Line 22: Line 23:
* [https://en.wikipedia.org/wiki/Multiply-with-carry#Complementary-multiply-with-carry_generators CMWC random number generator]
* [https://en.wikipedia.org/wiki/Multiply-with-carry#Complementary-multiply-with-carry_generators CMWC random number generator]
* field of view toolkit using [[Restrictive_Precise_Angle_Shadowcasting|restrictive precise angle shadowcasting]]
* field of view toolkit using [[Restrictive_Precise_Angle_Shadowcasting|restrictive precise angle shadowcasting]]
* [http://en.wikipedia.org/wiki/A*_search_algorithm A* pathfinding] toolkit
* a scheduler to handle the order in which creatures with different speed are updated


== Quick Start ==
== Supported browsers ==
CMAScript 6 compliant browsers :


=== pre-requisites ===
* Edge 13+
* install [http://nodejs.org/ node.js]
* Firefox 47+
* Safari 9.1+
* Chrome 49+
* Opera 39+




* install [http://www.typescriptlang.org/ TypeScript]
== Links ==


<source lang='bash'>npm install -g typescript</source>
* [http://roguecentral.org/doryen/yendor.ts/game/index.html play Generogue online]
 
* [http://roguecentral.org/doryen/yendor.ts/bench/index.html Run the benchmark online]
 
* install [https://github.com/mde/jake jake]
 
<source lang='bash'>npm install -g jake</source>
 
=== compile and run the demo game ===
 
 
<source lang='bash'>jake</source>
 
Then open game/index.html in your favorite browser.
 
=== compile and run the unit tests ===
 
 
<source lang='bash'>jake tests</source>
 
Then open game/index.html in your favorite browser.
 
=== compile and run the benchmark ===
 
 
<source lang='bash'>jake benchmark</source>
 
Then open game/index.html in your favorite browser.


== License ==
== License ==


Yendor's code uses the MIT license.
Yendor's code uses the MIT license.

Latest revision as of 15:19, 9 October 2016

Yendor.ts
Library project
Developer Jice
Released October 16 2014 (0.0.2)
Updated October 09 2016 (0.7.0)
Status Beta
Licensing MIT License
P. Language Typescript
Platforms Web
Dependencies pixi.js, jquery, dexie
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

Supported browsers

CMAScript 6 compliant browsers :

  • Edge 13+
  • Firefox 47+
  • Safari 9.1+
  • Chrome 49+
  • Opera 39+


Links

License

Yendor's code uses the MIT license.