This is a clon (more or less) of SameGame, a tile-matching puzzle video game, originally released under the name Chain Shot! in 1985 by Kuniaki Moribe (Morisuke).
The goal of the game is to remove all the blocks of the board.
Needs a VT52 terminal or compatible (like the Amstrad PCW screen), but this can be easily changed by modifying the source code and recompiling.
Also, there is a version for Samaruc, my GUI project for the Amstrad PCW.
This game was developed using MESCC (Mike's Enhanced Small C Compiler - my version of Small C), and my KSLIB libraries (keyboard and screen support for CP/M).