1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Sample configurations for Life!
4 // Author: Guillermo Rodriguez Garcia, <guille@iies.es>
8 // Copyright: (c) 2000, Guillermo Rodriguez Garcia
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // --------------------------------------------------------------------------
13 // sample configurations
14 // --------------------------------------------------------------------------
21 * Data, ('*' = alive, '.' = dead)
22 * Field width, Field height, (optional, defaults to 20 x 20)
23 * Wraparound (optional, defaults to TRUE)
27 LifeShape g_shapes[] =
29 LifeShape( _("Glider"),
30 _("The glider is the first of a series of life forms, known "
31 "as spaceships or fishes, which can travel along the game "
32 "field retaining their original shape."),
37 LifeShape( _("Heavyweight spaceship"),
38 _("The glider is just the smaller of the spaceships; this "
39 "one, known as the heavyweight spaceship or 'big fish', "
40 "is the largest spaceship which can travel alone without "
41 "destroying itself. Larger ones can only travel safely "
42 "if they are supported by smaller spaceships."),
48 LifeShape( _("Eater"),
49 _("An eater is any still life that can repair itself from "
50 "some attacks. This one (bottom right), also known as "
51 "'fishhook', eats gliders and fishes (spaceships) provided "
52 "that they approach in a certain angle."),
64 LifeShape( _("Dice shaker"),
65 _("Oscillators have been extensively explored in Life!. "
66 "The dice shaker turns around each seven tics; thus, it "
67 "is an oscillator with a period of fourteen."),
75 LifeShape( _("Hertz oscillator"),
76 _("The Hertz oscillator is a good example of a set of life "
77 "patterns known as 'billiard tables'. A billiard table is "
78 "an oscillator which is built inside a stable border. In "
79 "particular, this one has a period of eight."),
92 LifeShape( _("Phoenix"),
93 _("A phoenix is a pattern whose cells all die in every "
94 "generation, and yet lives forever. For example, this is "
95 "a phoenix with period two."),
105 LifeShape( _("R-pentomino"),
106 _("The R-pentomino is a methuselah - a life form which "
107 "lives for hundreds of generations without stabilizing "
108 "or dying. In particular, the R-Pentomino requires more "
109 "than one thousand tics to reach a stable (periodic) "
116 LifeShape( _("Thunderbird"),
117 _("The thunderbird is another popular methuselah, which "
118 "doesn't stabilize until the 243th generation. Note that "
119 "because the initial configuration is symmetrical with "
120 "respect to the vertical axis, all generations must be "
121 "symmetrical as well."),
129 LifeShape( _("Accorn"),
130 _("Probably the most popular methuselah, the accorn lives "
131 "for 5206 (!) generations. To see it in action, a very "
132 "large game field is needed."),
138 LifeShape( _("Galaxy"),
139 _("One from my personal collection. It is really beautiful "
140 "to see this configuration expand and shrink periodically "
141 "for hundreds of tics before reaching a stable state."),