Last change
on this file was 86, checked in by chronos, 3 months ago |
- Modified: Remove U prefix from unit names.
- Modified: Used TFormEx for all forms for code simplification.
- Fixed: Fullscreen mode switching error.
|
File size:
996 bytes
|
Line | |
---|
1 | unit FormHelp;
|
---|
2 |
|
---|
3 | interface
|
---|
4 |
|
---|
5 | uses
|
---|
6 | Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, FormEx;
|
---|
7 |
|
---|
8 | type
|
---|
9 |
|
---|
10 | { TFormHelp }
|
---|
11 |
|
---|
12 | TFormHelp = class(TFormEx)
|
---|
13 | Memo1: TMemo;
|
---|
14 | procedure FormShow(Sender: TObject);
|
---|
15 | end;
|
---|
16 |
|
---|
17 |
|
---|
18 | implementation
|
---|
19 |
|
---|
20 | {$R *.lfm}
|
---|
21 |
|
---|
22 | uses
|
---|
23 | Core;
|
---|
24 |
|
---|
25 | resourcestring
|
---|
26 | SParagraph1 = '2048 is a single-player block sliding puzzle game.';
|
---|
27 | SParagraph2 = 'The game''s objective is to slide numbered tiles on a grid to combine them to create a tile with the number 2048.';
|
---|
28 | SControls = 'Use arrow keys to slide blocks to one of board side.';
|
---|
29 | SEveryTurn = 'Every turn, a new tile will randomly appear in an empty spot on the board with a value of either 2 or 4.';
|
---|
30 | SUndo = 'You can undo one move back, if undo action is enabled.';
|
---|
31 |
|
---|
32 | { TFormHelp }
|
---|
33 |
|
---|
34 | procedure TFormHelp.FormShow(Sender: TObject);
|
---|
35 | begin
|
---|
36 | Memo1.Text := SParagraph1 + LineEnding +
|
---|
37 | SParagraph2 + LineEnding +
|
---|
38 | SControls + LineEnding +
|
---|
39 | SEveryTurn + LineEnding +
|
---|
40 | SUndo + LineEnding +
|
---|
41 | '';
|
---|
42 | end;
|
---|
43 |
|
---|
44 | end.
|
---|
45 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.