Generic Block Game is made in FreeBasic. Similar to popular falling block games.
Game mechanics can be changed by editing sets of rules. Several variants are included.
(See the game's dox folder for details.)
It is licensed under GPL 3 or later.
Get with: git clone https://repo.or.cz/generic-block-game.git
Compile with FreeBasic: fbc gbg.bas
Command line option: name of variation, i.e: ./gbg variations/dipol.bas
Binary version is here.