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