Can you feel it?
After finishing libft, fillit is the second mandatory project before get_next_line, and after that, you branch out. The purpose is to make the smallest possible "square" (which can contain holes) with a given list of tetriminos, but the disposition must be as such that it returns the first possible solution when placing them recursively from the top left.
Run make
, an executable called fillit
should compile directly. Please submit
an issue if you run into any.
./fillit [file]
Example:
~ ./fillit samples/test_8
.AABB..
AACCB..
.CC.BDD
.EE.DD.
EEFFGG.
.FFGGHH
....HH.