minor modifications

This commit is contained in:
Manzovince
2019-04-15 20:26:13 +02:00
parent 9c889ad4d3
commit 10901ad1a6
4 changed files with 9 additions and 9 deletions

View File

@@ -6,7 +6,7 @@
# By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# 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 #
# #
# **************************************************************************** #

View File

@@ -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

View File

@@ -6,7 +6,7 @@
/* By: hulamy <hulamy@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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);
}

View File

@@ -6,7 +6,7 @@
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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)
}
}
}
*/