warriorjs-ja
Version:
Game written in JavaScript for learning JavaScript and artificial intelligence
57 lines (54 loc) • 1.4 kB
JSON
{
"description": "What's that ticking? Some captives have a timed bomb at their feet!",
"tip": "Hurry and rescue captives that have `space.isTicking()` first, they'll soon go!",
"clue": "Avoid fighting enemies at first. Use `warrior.listen()` and `space.isTicking()` and quickly rescue those captives.",
"timeBonus": 50,
"aceScore": 108,
"floor": {
"size": {
"width": 6,
"height": 2
},
"stairs": {
"x": 5,
"y": 0
},
"warrior": {
"x": 0,
"y": 1,
"facing": "east"
},
"units": [
{
"type": "sludge",
"x": 1,
"y": 0,
"facing": "west"
},
{
"type": "sludge",
"x": 3,
"y": 1,
"facing": "west"
},
{
"type": "captive",
"x": 0,
"y": 0,
"facing": "west"
},
{
"type": "captive",
"x": 4,
"y": 1,
"facing": "west",
"abilities": [
{
"name": "explode",
"args": [7]
}
]
}
]
}
}