Snake
Configuration
Options
visible_hitbox
Boolean
[DEV] Display the hitboxes.
false
header_background_color
header_text_color
String
Colour / background of the header.
"black" / "white"
number_case
Integer
Number of cells in a row / column (total cells will be number_cases² as the game is always a square).
8
spawn > x / y
Integer
Indexes of the start cell.
4 / 7
case_per_second
Integer
Base speed.
1.25
max_case_per_second
Integer
Max speed.
5
acceleration_percent
Integer
Acceleration (between 0 and 100).
10
snake > direction
String
Starting direction (could be N, S, E, W).
"N"
default_lang
String
[PTF] Default language if unmatched language.
"fr"
score
String
Text in the header.
"Score"
unit
String
Text in the header.
"Apple(s)"
Assets
snake > url
(100*sprite) x 100px
Visual of the snake (is a sprite of the snake parts!!).
tuto > mobile / desktop
500 x 500px
Tutorial visual (can be animated, or not).
Last updated