|
:: On Delphi :: All cards
:: Index (Rus)
|
|
User guide. Working out logical game on Visual BASIC 6.0 See Online Version.
Game algorithm Game is conducted on a game field, which is optional size field (limited only to display size or convenience of programming). Since later on we’ll describe the process of developing the game graphic and PDA-versions, we have chosen 8x5 for the game table.
All cells of the game field (table) are filled with symbols denoting the cell nominal values:
[1,5,10,15,25] - deduct the indicated points from your account.
[-1,-5,-10,-15,-25] - add the indicated points to your account.
[B] - deducts 200 points from your account.
[P] - adds 100 points to your account.
[T] - adds 500 points to your account.
[Z] - zeroes your account.
[END] - ends the game.
The player can perform only 2 actions on the game field:
1 - put “marker” on any cell of the game field bottom line only once at the game start (by clicking on the cell field);
2 - on putting the “marker”, the player can move it right or left along the game field bottom line by means of left and right arrows.
All cell nominal values to be “visited” by the player “marker” will be added to score. “Marker” is a cell highlighted in blue. To put a marker, click on any cell of the game field bottom line. “Marker” may be put only once. Then it can be moved many times.
As soon as the player has put the marker, game starts. Game is conducted for time. A linear color indicator counts time intervals, at which all lines of game field are moved one line down. At that, a cell with a losing value may fall on the player “marker”. The player goal is to move the marker along winning cells, increase the score as possible, and watch the “marker” not to be “caught” by the cell from above with a losing nominal value (e.g., |Z|- score zeroing).
Game is not as simple as it may seem. Its program has additional functions: acceleration and slowing down of game, changing winning cells frequency at the player large score. Game Oflameron may be realized in its static version, with no account of time. This version may have its benefits in the game process.
Game goal is to increase the score. Game (theoretically endless) may be stopped in the following situations: 1) the player “marker” falls to a cell with |End| nominal 2) the player score becomes negative 3) game has time limitation. Such flexibility of game algorithm allows to create a great number of its versions – with accumulation of “lives”, introduction of extra bonuses (cell nominal values), loading graphic design from the Internet, network versions for 2 players (static version) and paper version. >>
Programming Create Project EXE and Form1, its size being 2,715õ5,745. A Frame element is to be placed at the Form, while elements Label1 – Label55 are to be placed at the Frame element, where Label1 – Label6 is a Level column, Label 7 – Label 46 are nominal playing area cells, Label 47-48 present control footing information. A lower colour indicator is formed by Label 49-Label 55.
| |