new AppSnake(p_init)
Parameters:
| Name | Type | Description |
|---|---|---|
p_init |
Object | Should contain the attributes
canvasID (the id of the canvas tag),
colsNr (the number of columns of the plane),
rowsNr (the number of rows of the plane),
item (the initialization object for the items
that are placed on the plane). |
- Source: