added timed and improved survival

This commit is contained in:
Nathan DECHER 2020-03-26 10:47:10 +01:00
parent 10585fef98
commit 1df62ff1fe
2 changed files with 20 additions and 1 deletions

View file

@ -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"
} }
} }

17
levels/arcade-timed.json Normal file
View file

@ -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"
}
}