Skip to content

VincentMatthys/42_Fillit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42_Fillit

Project Fillit @ 42

The goal of this project is to arrange the Tetriminos among themselves to make the smallest possible square, but in some cases, this square may have holes when some given pieces won’t fit perfectly with others.

You can find the subject in the directory subjects/ on this repository.

Generator

You can generate pieces with

python3 generator.py [1 to 26]

Save the generated pieces with the following command line

python3 generator.py [1 to 26] > testing_file

To test the fillit

Take a test file in trials/ or generate one, then write :

make ; make clean
./fillit [generate_test_file]

About

Project Fillit @ 42

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published