added timed and improved survival

Nathan DECHER 5 years ago
parent 10585fef98
commit 1df62ff1fe
  1. 4
      levels/arcade-survival.json
  2. 17
      levels/arcade-timed.json

@ -8,9 +8,11 @@
[16, 10] [16, 10]
], ],
"rules": { "rules": {
"worldWrap": false,
"autoSpeedIncrease": true, "autoSpeedIncrease": true,
"autoSpeadIncreaseTicks": 10, "autoSpeadIncreaseTicks": 10,
"autoSizeGrow": true, "autoSizeGrow": true,
"autoSizeGrowTicks": 100 "autoSizeGrowTicks": 100,
"scoreSystem": "survival"
} }
} }

@ -0,0 +1,17 @@
{
"dimensions": [32, 32],
"delay": 100,
"food": [
[16, 5]
],
"snake": [
[16, 12],
[16, 11],
[16, 10]
],
"rules": {
"speedMultiplier": 0.8,
"gameDuration": 30000,
"winCondition": "time"
}
}
Loading…
Cancel
Save