- map:
- width
- height
- square
- x
- y
- show the map on the browser
- food
- width
- height
- display the food on the map
- snake
- body
- width
- height
- methods:
- move
- control the directions
- hit the border, then game over
- hit the food, then
- hit itself, then game over
- game rule *
- create all the objects mentioned above
- start
- stop