added timed and improved survival

main
Codinget 5 years ago
parent 5d156a7902
commit c9c9e20fdb
  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