spajeo / fillit

make the smallest possible "square" with a given list of tetriminos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fillit

After finishing libft, fillit is the second mandatory projectbefore to 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.

Compiling

Run make, an executable called fillit should compile directly. Please submit an issue if you run into any.

Usage

./fillit [file]

Example:

~ ./fillit samples/test_8

.AABB..
AACCB..
.CC.BDD
.EE.DD.
EEFFGG.
.FFGGHH
....HH.

About

make the smallest possible "square" with a given list of tetriminos


Languages

Language:C 96.6%Language:Makefile 3.4%