warriorjs-ja
Version:
Game written in JavaScript for learning JavaScript and artificial intelligence
93 lines (90 loc) • 2.3 kB
JSON
{
"description": "Never before have you seen a room so full of sludge. Start the fireworks!",
"tip": "Be careful not to let the ticking captive get caught in the flames. Use `warrior.distanceOf()` to avoid the captives.",
"clue": "Be sure to bind the surrounding enemies before fighting. Check your health before detonating explosives.",
"timeBonus": 70,
"aceScore": 176,
"floor": {
"size": {
"width": 4,
"height": 3
},
"stairs": {
"x": 3,
"y": 0
},
"warrior": {
"x": 0,
"y": 1,
"facing": "east",
"abilities": [
{
"name": "distanceOf",
"args": []
}
]
},
"units": [
{
"type": "captive",
"x": 2,
"y": 0,
"facing": "south",
"abilities": [
{
"name": "explode",
"args": [20]
}
]
},
{
"type": "captive",
"x": 2,
"y": 2,
"facing": "north"
},
{
"type": "sludge",
"x": 0,
"y": 0,
"facing": "south"
},
{
"type": "sludge",
"x": 1,
"y": 0,
"facing": "south"
},
{
"type": "sludge",
"x": 1,
"y": 1,
"facing": "east"
},
{
"type": "sludge",
"x": 2,
"y": 1,
"facing": "east"
},
{
"type": "sludge",
"x": 3,
"y": 1,
"facing": "east"
},
{
"type": "sludge",
"x": 0,
"y": 2,
"facing": "north"
},
{
"type": "sludge",
"x": 1,
"y": 2,
"facing": "north"
}
]
}
}