]> gitweb.factorcode.org Git - factor.git/blob - extra/space-invaders/space-invaders-docs.factor
0c02f8fd4cb19e376d5a6d71b1e51bdf4955d311
[factor.git] / extra / space-invaders / space-invaders-docs.factor
1 ! Copyright (C) 2007 Chris Double.\r
2 ! See http://factorcode.org/license.txt for BSD license.\r
3 USING: help.syntax help.markup cpu.8080.emulator ;\r
4 IN: space-invaders \r
5 \r
6 HELP: run-invaders\r
7 { $description \r
8 "Run the Space Invaders emulator in a new window." $nl\r
9 { $link rom-root } " must be set to the directory containing the "\r
10 "location of the Space Invaders ROM files. See " \r
11 { $link { "space-invaders" "space-invaders" } } "  for details."\r
12 } ;\r
13 \r
14 ARTICLE: { "space-invaders" "space-invaders" } "Space Invaders Emulator"\r
15 "Provides an emulation of the original 8080 Arcade Game 'Space Invaders'." $nl\r
16 "More information on the arcade game can be obtained from " { $url "http://www.mameworld.net/maws/romset/invaders" } "." $nl\r
17 "To play the game you need the ROM files for the arcade game. They should "\r
18 "be placed in a directory called 'invaders' in the location specified by "\r
19 "the variable " { $link rom-root } ". The specific files needed are:"\r
20 { $list\r
21   "invaders/invaders.e"\r
22   "invaders/invaders.f"\r
23   "invaders/invaders.g"\r
24   "invaders/invaders.h"\r
25 }\r
26 "These are the same ROM files as used by MAME. To run the game use the " \r
27 { $link run-invaders } " word." $nl\r
28 "Keys:" \r
29 { $table\r
30   { "Backspace" "Insert Coin" }\r
31   { "1" "1 Player" }\r
32   { "2" "2 Player" }\r
33   { "Left" "Move Left" }\r
34   { "Right" "Move Right" }\r
35   { "Up" "Fire" }\r
36 }\r
37 "If you save the Factor image while a game is running, when you restart "\r
38 "the image the game continues where it left off." ;\r
39 \r
40 ABOUT: { "space-invaders" "space-invaders" } \r