Lilili21 / Fillit

Fillit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fillit

Fillit is a team project for School 21/42

Description: this is an analogue of the tetris game. You should read the card with tetrimino and arrange them so as to create the smallest square possible. The map begins to fill from the upper left corner.

Algorithm: we substitute tetrimins so far can add them to the minimum card. If it was not possible to substitute the tetrimino, the program returns to the previous tetrimino and rearranges it to the next available position. If there is no previous tetrimino, but the current one could not be substituted, then the card increases by + 1. The substitution algorithm works until the minimum available field is filled.

example resolve solution

About

Fillit


Languages

Language:C 97.3%Language:Makefile 2.7%