Source of the famous game Lines. For those who are in the tank: you need to connect horizontally or vertically, or diagonally from line 5 circles of the same color. When connecting to 5 circles, the line disappears, and the number of bonus points grows.
Author: Sergei Volkov (Delphi). Adapted for FreeBasic: VANYA Platform: Windows (need library window9)