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.
21 lines
365 B
21 lines
365 B
{
|
|
"dimensions": [15, 10],
|
|
"walls": [
|
|
[5, 0], [5, 1], [5, 2], [5, 3], [5, 4], [5, 5], [5, 6], [5, 7], [5, 8], [5, 9],
|
|
[10, 0], [10, 1], [10, 2], [10, 3], [10, 4], [10, 5], [10, 6], [10, 7], [10, 8], [10, 9]
|
|
],
|
|
"food": [
|
|
[4, 5],
|
|
[8, 7],
|
|
[14, 9]
|
|
],
|
|
"snake": [
|
|
[0, 0]
|
|
],
|
|
"portals": {
|
|
"a": [4, 9],
|
|
"b": [6, 0],
|
|
"c": [9, 9],
|
|
"d": [11, 0]
|
|
}
|
|
}
|
|
|