Computing: Free Pascal Programming

Mathematics puzzle: The number pyramid.


Download NumberPyramid desktop application (Windows 64bit) Download NumberPyramid source code (Lazarus/Free Pascal)

Description: Puzzle game, sometimes referred to as the Pascal's triangle puzzle. The pyramid is made of bricks, placed in 5 rows, and containing numbers. Each brick of the pyramid is the sum of the two bricks situated below it. Of three missing numbers at the base of the pyramid, one is the sum of the other two (e.g. X = Y + Z). The aim of the game is to find the values of X, Y and Z (that actually are all greater than 0).

Free Pascal features: Two-dimensional arrays (classic Pascal). Usage of the "nil" pointer to set up an incomplete array of form components. Using the "StringReplace" function to dynamically modify the content of a memo.

Screenshot:

NumberPyramid - a free mathematics puzzle for PC

If you like this application, please, support me and this website by signing my guestbook.