The work includes a program in Delphi and the explanatory note.
Working with graphic objects in Delphi: a puzzle game - Babylon.
Rules of the game:
Your task - to collect the initial pattern on both sides of the playing field. Depending on the difficulty level you will be promised a prize, you will receive as soon as the reset pattern.
Swapping tiles is happening with the mouse
Changes on one side of the field cause changes (and sometimes to fracture pattern) on the other side.
The faster and in fewer moves you collect pattern, the more rewards you will get.
For spying removed a small percentage points.
The game can be interrupted at any moment and continued from the same place - the program remembers your settings when you exit or select a new pattern.
Table of Contents:
1. ACTIVITY 3
2. Description of the functional model 4
3. DATA STRUCTURES 6
3.1. Storage of boards 6
3.2. Storing the current position and the reference position tiles tiles 6
3.3. Save results 7
4. The algorithm of the program 8
4.1. The procedure of preparation for the game 8
4.2. Procedure 9 games
5. The program's interface. USER'S GUIDE 10
5.1. Game 10
5.2. The editor of boards 13
6. PROGRAM STRUCTURE 15
6.1. Appointment of program files 15
6.2. The structure of the component 15
6.3. Basic use ready-made procedures and functions 18
Information sources used 20
APPENDIX 21 January
APPENDIX 2 35