Fill It is a program that determines the smallest square possible, using all the Tetris pieces described in a file.
Create or update the Fill It program from sources.
make
Recompile completely the program.
make re
Delete object files created during installation.
make clean
Delete object files but also the compiled program.
It will not affect the source code.
make fclean
./fillit Tetriminos/file_correct/valid_15
The program use Backtracking Algorithm and get mid-high performance (compared with other 42 teams).
Unlike most projects using Backtracking, it has the particularity to be designed with full iterative loops instead of recursive loops.
Basic Algorithm (Backtracking)
Inputs/Outputs