Binary game: A logic game with ones and zeros.
|Download BinaryGame desktop application (Windows 64bit)||Download BinaryGame source code (Lazarus/Free Pascal)|
Description: Puzzle game with numbers (0 or 1) to be placed onto a grid. The rules of the game are as follows:
1. In each free field of the 8×8 grid, write either a 0, or a 1.
2. In each row and each column, the number of 0s and 1s must be the same.
3. In any row or column, there mustn't be more than two consecutive 0s or 1s.
The game is a typical logic game: In order to find the correct solution of the puzzle, you have to explore the numbers already written, and by logical thinking (concluding from what you know, that a given field must be a given number, or on the contrary, can't be a given number), determine, which fields have to contain a 0 and which a 1.
The game is played with the mouse. Click the field, where you want to write a number: Use the left mouse button to write a zero, use the right mouse button to write a 1. Clicking on a field that already contains a number, resets this field (removes the 0 or 1).
Free Pascal features: Changing the color of shapes and the caption of static-texts during runtime. Mouse down events; left and right mouse
button clicks handling. Two-dimensional arrays (classic Pascal).