A "simple" Snake, done as my final JS class project back in DUT
https://snek.s.codinget.me
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.4 KiB
50 lines
1.4 KiB
{
|
|
"world": [
|
|
" w ",
|
|
" w ",
|
|
" wwwwwww w wwwwwww ",
|
|
" w w ",
|
|
" w w ",
|
|
" w wwwwwwwwwwwww w ",
|
|
" w w ",
|
|
" w w ",
|
|
" w w w ",
|
|
" w w w ",
|
|
" w w w ",
|
|
" w w w ",
|
|
" w w w ",
|
|
" w w w ",
|
|
" w w w ",
|
|
"www w wwwwwwwwwwwwwww w www",
|
|
" w w w ",
|
|
" w w w ",
|
|
" w w w ",
|
|
" w w w ",
|
|
" w w w ",
|
|
" w w w ",
|
|
" w w w ",
|
|
" w w ",
|
|
" w w ",
|
|
" w wwwwwwwwwwwww w ",
|
|
" w w ",
|
|
" w w ",
|
|
" wwwwwww w wwwwwww ",
|
|
" w ",
|
|
" w "
|
|
],
|
|
"delay": 200,
|
|
"snake": [
|
|
[16, 3],
|
|
[15, 3],
|
|
[14, 3]
|
|
],
|
|
"rules": {
|
|
"worldWrap": false,
|
|
"autoSpeedIncrease": true,
|
|
"autoSpeadIncreaseTicks": 10,
|
|
"autoSizeGrow": true,
|
|
"autoSizeGrowTicks": 100,
|
|
"scoreSystem": "survival",
|
|
"leaderboardsSort": "timeD"
|
|
}
|
|
}
|
|
|