This project is about algorithm and back tracking in c.
Project description:
This project is about read and input from a file which contain the tetris pieces with the following format.
...#
...#
...#
...#
....
....
....
####
.###
...#
....
....
....
..##
.##.
....
....
.##.
.##.
....
....
....
##..
.##.
##..
.#..
.#..
....
....
###.
.#..
....
The goal of this project is to arrange every Tetriminos with each others in order to make
the smallest possible square. But in some cases, this square should contains holes when
some given pieces won’t fit in perfectly with others.
Expected output:
ABBBB.
ACCCEE
AFFCEE
A.FFGG
HHHDDG
.HDD.G
Usage:
./fillit [File-location]
For more information please check on project_pdf/fillit.en.pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
juliantoyeo/42fillit
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published