Browse Source

Update fillit subject

pull/395/head
Xavier Petit 5 years ago
parent
commit
04e0334e9f
No known key found for this signature in database
GPG Key ID: CA3F2B17E25ABD26
  1. 16
      subjects/fillit.en.md

16
subjects/fillit.en.md

@ -2,19 +2,19 @@
### Objectives ### Objectives
Develop a program that receives only one argument, a txt file which will contain a list of [Tetrominoes](https://en.wikipedia.org/wiki/Tetromino) to assemble them in order to create the smallest square possible. Develop a program that receives only one argument, a path to a text file which will contain a list of [tetrominoes](https://en.wikipedia.org/wiki/Tetromino) to assemble them in order to create the smallest square possible.
### Instructions ### Instructions
All files referring to the project, must be in the same folder. All files referring to the project must be in the same folder.
The program must : The program must :
- Be written in Go - Be written in Go
- Compile successfully - Compile successfully
- Assemble all of the Tetrominoes in order to create the smallest square possible - Assemble all of the tetrominoes in order to create the smallest square possible
- Identify each Tetromino in the solution, by assigning different letters to different Tetrominoes - Identify each tetromino in the solution, by assigning different letters to different tetrominoes
- Expect at least 2 tetrominoes in the text file - Expect at least 2 tetrominoes in the text file
#### Example of a text File #### Example of a text File
@ -30,7 +30,7 @@ The program must :
..## ..##
``` ```
- If it isn't possible to form a complete square, the program should leave spaces between the Tetrominoes. For example: - If it isn't possible to form a complete square, the program should leave spaces between the tetrominoes. For example:
```console ```console
ABB. ABB.

Loading…
Cancel
Save