Add random food & walls

This commit is contained in:
2020-03-23 17:50:42 +01:00
parent 380abb24b0
commit 24815897e5
2 changed files with 38 additions and 0 deletions

View File

@ -4,6 +4,7 @@
"walls": [
[5,5], [5,6], [5,7], [5,8], [40, 35], [38, 35], [23, 35]
],
"randWallFreq": 5000,
"food": [
[10,10],
[11,10],
@ -13,6 +14,7 @@
[20, 23],
[20, 21]
],
"randFoodFreq": 2000,
"snake": [
[4,2], [4,1], [3,1], [2,1]
],