Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.44 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.44 KB

fillit Made by: dzui and mpaziuk

Fillit is a project who let you discover and/or familiarize yourself with a recurring problematic in programming : searching for the optimal solution among a huge set of possibilities. In this particular project, you will be charged of creating an algorithm which fits some Tetriminos together into the smallest possible square.

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.

Program must display the smallest square solution on the standard output. To identify each Tetriminos in the square solution, you will assign a capital letter (starting with ’A’) to each Tetriminos in the order they appear in the file. A file will contain 26 Tetriminos maximum.

In order to build a project use a Makefile.

  • make all - will build build a project.
  • make clean - will delete all objective files.
  • make fclean - will delete all objective files and executable file.
  • make re - will build the project again.

fillit_tetro

file_example

example_execution