UNPKG

warriorjs-ja

Version:

Game written in JavaScript for learning JavaScript and artificial intelligence

35 lines (32 loc) 852 B
{ "description": "Silence. The room feels large, but empty. Luckily you have a map of this tower to help find the stairs.", "tip": "Use `warrior.directionOfStairs()` to determine which direction stairs are located. Pass this to `warrior.walk()` to walk in that direction.", "timeBonus": 20, "aceScore": 19, "floor": { "size": { "width": 6, "height": 4 }, "stairs": { "x": 2, "y": 3 }, "warrior": { "x": 0, "y": 1, "facing": "east", "abilities": [ { "name": "directionOfStairs", "args": [] }, { "name": "walk", "args": [] } ] }, "units": [] } }