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.
It can be played with keyboard of mouse.
Also, there is a version for plain CP/M, called Blocks.
This game was developed using MESCC (Mike's Enhanced Small C Compiler - my version of Small C) and the Samaruc libraries, my GUI project for the Amstrad PCW.