diff --git a/Makefile b/Makefile index ac53509..e6b9426 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ # By: vmanzoni +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2019/03/01 13:24:35 by vmanzoni #+# #+# # -# Updated: 2019/04/14 22:01:39 by vmanzoni ### ########.fr # +# Updated: 2019/04/15 20:17:47 by vmanzoni ### ########.fr # # # # **************************************************************************** # diff --git a/README.md b/README.md index 9104141..92de26a 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,13 @@ - [x] Check if we have a file - [x] Read file -- [ ] Check if there are errors in file +- [x] Check if there are errors in file - At least 1 tetrimino or less than 26 -- [ ] Check if every tetrimino is valid +- [x] Check if every tetrimino is valid - 4 char * 4 lines - 4 blocks in 1 tetrimino - No solo block -- [ ] Transform file into tetriminos +- [x] Transform file into tetriminos - [ ] Backtracking for smallest square - [ ] Transform tetriminos to letters - [ ] Print result diff --git a/add_to_list.c b/add_to_list.c index 037a2fc..0a84681 100644 --- a/add_to_list.c +++ b/add_to_list.c @@ -6,7 +6,7 @@ /* By: hulamy +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/04/14 15:20:53 by hulamy #+# #+# */ -/* Updated: 2019/04/15 17:16:09 by hulamy ### ########.fr */ +/* Updated: 2019/04/15 20:19:55 by vmanzoni ### ########.fr */ /* */ /* ************************************************************************** */ @@ -46,7 +46,7 @@ char **fill_tetraminos(char **square, int *tab) } /* -** this function calculate the line and columns where the tetraminos +** This function calculate the line and columns where the tetraminos ** start and end, by skipping the empty lines ** ** ! it has a little bug so far, i need to fix it @@ -149,4 +149,3 @@ int main(int ac, char **av) return (0); } - diff --git a/parse_input.c b/parse_input.c index c6b1efb..fde933c 100644 --- a/parse_input.c +++ b/parse_input.c @@ -6,7 +6,7 @@ /* By: vmanzoni +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/04/15 14:48:14 by vmanzoni #+# #+# */ -/* Updated: 2019/04/15 15:10:01 by vmanzoni ### ########.fr */ +/* Updated: 2019/04/15 20:14:43 by vmanzoni ### ########.fr */ /* */ /* ************************************************************************** */ @@ -15,7 +15,7 @@ /* ** Function that parse a file and return each tetrimino */ - +/* void parse_input(char *input) { char *tetri; @@ -32,3 +32,4 @@ void parse_input(char *input) } } } +*/