Snake
Configuration
Options
Key
Type
Explanation
Default
Boolean
[DEV] Display the hitboxes.
false
String
Colour / background of the header.
"black" / "white"
Integer
Number of cells in a row / column (total cells will be number_cases² as the game is always a square).
8
Integer
Indexes of the start cell.
4 / 7
Integer
Base speed.
1.25
Integer
Max speed.
5
Integer
Acceleration (between 0 and 100).
10
String
Starting direction (could be N, S, E, W).
"N"
String
[PTF] Default language if unmatched language.
"fr"
String
Text in the header.
"Score"
String
Text in the header.
"Apple(s)"
Assets
Key
Size
Explanation
Default
500 x 500px
Tutorial visual (can be animated, or not).
Last updated