The aim of this project is to implement algorithm that finds optimal position for tetris pieces called tetrimino. Tetriminos should form as small square as possible.
The description of a Tetriminos must respect the following rules :
- Precisely 4 lines of 4 characters, each followed by a new line (4x4 square).
- A Tetrimino is a classic piece of Tetris composed of 4 blocks.
- Each character must be either a block character(’#’ ) or an empty character (’.’).
- Each block of a Tetrimino must touch at least one other block on any of his 4 sides (up, down, left and right).
To identify each Tetrimino in the square solution, we will assign a capital letter to each Tetrimino, starting with ’A’ and increasing for each new Tetrimino. Maximum number of tetriminos in map is 26.
Run make then run ./fillit with map from tests directory, for example:
This is a group project.

