]> gitweb.factorcode.org Git - factor.git/blob - extra/snake-game/snake-game-docs.factor
fb6baaf406819aa65077b950d2b22f4a4d6bb311
[factor.git] / extra / snake-game / snake-game-docs.factor
1 USING: help.markup help.syntax ;
2 IN: snake-game
3
4 ARTICLE: { "snake-game" "about" } "About Snake Game"
5 { $heading "About" }
6 "A remake of the popular Snake game. To start the game:"
7 { $code "play-snake-game" }
8 { $heading "Keys" }
9 { $table
10   { "Pause/Resume game" "SPACE, P" }
11   { "Start a new game" "ENTER, N" }
12   { "Quit and close game window" "ESCAPE, Q" }
13   { "Snake movement control" "Arrow Keys" }
14 }
15 { $notes
16   "Art used from Code Project: "
17   { $url "http://www.codeproject.com/Articles/420088/Snake-game-for-tablets-and-Smartphones" }
18   " Art credits: Erich Duda, BSD license: "
19   { $url "http://opensource.org/licenses/bsd-license.php" }
20 } ;
21
22 HELP: play-snake-game
23 { $description "Starts the game!" } ;
24
25 ABOUT: { "snake-game" "about" }