Qt Reference Documentation

# Snake

Files:

- demos/declarative/snake/snake.qml
- demos/declarative/snake/content/Button.qml
- demos/declarative/snake/content/Cookie.qml
- demos/declarative/snake/content/HighScoreModel.qml
- demos/declarative/snake/content/Link.qml
- demos/declarative/snake/content/Skull.qml
- demos/declarative/snake/content/snake.js
- demos/declarative/snake/content/pics/eyes.svg
- demos/declarative/snake/content/pics/head.svg

This demo shows how to write a Snake game in QML, controlled by the keyboard as well as the mouse.