# Blocks

This is a clone (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.

Copyright (c) 1999-2018 Miguel García / FloppySoftware

The game has been modified for VT100 compatibility (insted of VT52) and
got some color by me (Anna Christina Naß <acn@acn.wtf>.

Original Repository: https://github.com/MiguelVis/RetroProjects
Website: http://www.floppysoftware.es/blocks.html?path=cpm_projects|blocks

The file BLOCKS.COM is the compiled game file.

## The Game

Move the cursor using the numpad keys:

        8
        |
    4 --+-- 6
        |
        2

Then select a blocks using 7 and remove the blocks using 9.

You can select just one block, or a group of blocks of the same type

If you are in the normal mode, you can place all the blocks against a side
(top, bottom, left or right).
Select the side using the E, S, D or X key.

If you are in the automatic mode, the blocks rows will be placed on the
bottom side of the board, and the columns will be placed on the middle of
the board.

The special block **X**, multiplies that result by 10.

## Compile:

To compile, use MESCC, "Mike's Enhanced Small C Compiler".
See: http://www.floppysoftware.es/mescc.html?path=cpm_projects|mescc

In the directory mescc, I provide the files neccessary to compile Blocks,
using:

    CC BLOCKS
    CCOPT BLOCKS
    ZSM BLOCKS
    HEXTOCOM BLOCKS

Note that only the really neccessary files are provided - see the link above
for the full MESCC compiler and source code!

## License:

GPL Version 2, see copying.txt - valid for MESCC and Blocks.

