Qt Reference Documentation

# Snake

Files:

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

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