Logic number puzzle: Decadic Grid.
|Download DecadicGrid desktop application (Windows 64bit)||Download DecadicGrid source code (Lazarus/Free Pascal)|
Description: Two difficulty levels puzzle game with numbers to be placed onto a grid. The rules of the game are as follows:
- In the grid fields, write the numbers from 0 to 9.
- In each row, each number must be written exactly once.
- Same numbers must not be adjacent, neither orthogonally, nor diagonally.
- The sum of the numbers of a row must equal the corresponding sum in the last row.
The game is played exclusively with the mouse: Click the field, where you want to write a number, then click one of the 10 number buttons to write the corresponding number or Clear to remove the number from the actually selected field.
Issue: The generation of the 6x10 grid puzzle may take some time. No real issue, but I'm sure, that it would be possible to
optimize the code in order to get new puzzles started without any delay.
Free Pascal features: Changing the color of shapes and the caption of static-texts during runtime. Using buttons to insert characters
into a given control's caption. Two-dimensional arrays (classic Pascal).