Skip to content

falzfalzfalz/fillit_shp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fillit @ 42

Can you feel it?

After finishing libft, fillit is the third mandatory project after get_next_line. 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

To_update

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published