diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..00f9052 --- /dev/null +++ b/.gitignore @@ -0,0 +1,19 @@ +objs/ + +*.o + +a\.out\.dSYM/ + +a\.out + +*.swo + +*.swp + +fillit + +test_fillit\.c + +libft + +\.DS_Store diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..161d981 --- /dev/null +++ b/Makefile @@ -0,0 +1,55 @@ +# **************************************************************************** # +# # +# ::: :::::::: # +# Makefile :+: :+: :+: # +# +:+ +:+ +:+ # +# By: vmanzoni +#+ +:+ +#+ # +# +#+#+#+#+#+ +#+ # +# Created: 2019/03/01 13:24:35 by vmanzoni #+# #+# # +# Updated: 2019/05/29 14:03:03 by vmanzoni ### ########.fr # +# # +# **************************************************************************** # + +# - - - - - - - - - - - - - - - # +# VARIABLES # +# - - - - - - - - - - - - - - - # + +NAME = fillit +CC = gcc + +CFLAGS = -I. +CFLAGS += -Wall -Wextra -Werror + +LDFLAGS = -L./libft/ +LDLIBS = -lft + +SRCS = $(shell find . -depth 1 -type f -not -name '.*' -not -name 'test*' -name '*.c') + +TRASH = $(shell find . -depth 1 -name '*.dSYM') +TRASH += $(shell find . -depth 1 -type f -name '*.o') +TRASH += $(shell find . -depth 1 -type f -name '*.swp') +TRASH += $(shell find . -depth 1 -type f -name '*.swo') +TRASH += $(shell find . -depth 1 -type f -name '*.swn') + +# - - - - - - - - - - - - - - - # +# RULES # +# - - - - - - - - - - - - - - - # + +all: $(NAME) + +$(NAME): $(SRCS) + $(CC) $(CFLAGS) $(LDFLAGS) $(LDLIBS) $(SRCS) -o $(NAME) + +debug: $(SRCS) + $(CC) -g $(CFLAGS) $(LDFLAGS) $(LDLIBS) $(SRCS) -o $(NAME) + +lib: + make -C ./libft/ + +clean: + /bin/rm -rf $(TRASH) + +fclean: clean + /bin/rm -rf $(NAME) + +re: fclean all diff --git a/README.md b/README.md new file mode 100644 index 0000000..9e08e03 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# Fillit + +Team: **hulamy** and **vmanzoni** + +Le but de ce projet est d’agencer les Tetriminos entre eux pour former le plus petit carré possible, sachant que ce carré peut présenter des trous quand les pièces données ne s’emboîtent pas parfaitement. + +## To do + +- [x] Check if we have a file +- [x] Read file +- [x] Check if there are errors in file +- [x] Check if every tetrimino is valid +- [x] Transform file into tetriminos +- [x] Backtracking for smallest square +- [x] Transform tetriminos to letters +- [x] Print result (Can be done with above step) +- [ ] Free everything (NO LEAKS) + +## BONUS +- [x] Best error handler (more details on why there is an error.) +- [x] Optimisation (skip when tetri with same shape was already tested on map) +- [x] Add colors to tetri when printing result map +- [x] Flag for debbuging (print every step in backtracking) +- [x] Adding flags (and password for blocking more args on moulinette) diff --git a/author b/author new file mode 100644 index 0000000..884dc49 --- /dev/null +++ b/author @@ -0,0 +1,2 @@ +hulamy +vmanzoni diff --git a/f_parse_input.c b/f_parse_input.c new file mode 100644 index 0000000..5b90a63 --- /dev/null +++ b/f_parse_input.c @@ -0,0 +1,155 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* parse_input.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: vmanzoni +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2019/04/15 14:48:14 by vmanzoni #+# #+# */ +/* Updated: 2019/06/01 13:32:38 by hulamy ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#include "fillit.h" + +/* +** function that transform a tab of . and # into a binary tab of int +*/ + +unsigned short tab_to_bin(char line[]) +{ + unsigned short tmp; + int i; + + i = 0; + tmp = 0; + while (line[i]) + { + tmp <<= 1; + if (line[i] == '\n') + i++; + if (line[i++] == '#') + tmp |= 1; + } + return (tmp); +} + +/* +** Function that take a tetrimino of 4*4 +** and reduce it to its right size, in binary +*/ + +unsigned short reduce_tetri(unsigned short tetri, int width) +{ + unsigned int mask; + unsigned int tmp; + + mask = ~0u << (32 - width) >> 16; + tmp = (mask & tetri); + tmp |= ((mask & tetri << 4) >> width); + tmp |= ((mask & tetri << 8) >> (2 * width)); + tmp |= ((mask & tetri << 12) >> (3 * width)); + return (tmp); +} + +/* +** Function that transforme a tetriminos char* into a short of 16 bites +** and then fills it and its reversed into the list +** +** 1) transforme la ligne de . et # en un short de 0 et 1 +** 2) cree un mask avec des 1 sur la colonne de droite (#...#...#...#...) +** 3) utilise le mask pour trouver la largeur que prend le tetriminos +** 4) deplace le tetriminos tout en haut a gauche +** (i - list->width = le nombre de colonne vide a gauche) +** 5) trouve la hauteur du tetri +** 6) fabrique la ligne pour le tetriminos de la bonne largeur +** +** list->test is used to debug the backtracking, allowing to print the +** map each time without the previous tries +*/ + +void fill_list(char line[], t_fillist *list) +{ + unsigned int mask; + int i; + + list->tetribit = tab_to_bin(line); + list->memory = 0; + mask = (1 << 15) | (1 << 11) | (1 << 7) | (1 << 3); + i = 0; + while (!(mask & list->tetribit) && i++ < 4) + mask >>= 1; + list->width = i; + while (mask & list->tetribit && ++i < 4) + mask >>= 1; + list->width = i - list->width; + list->tetribit <<= (i - list->width); + while (!(list->tetribit & (~0u << 12))) + list->tetribit <<= 4; + i = 0; + while (i < 4 && list->tetribit & (~0u << 28 >> (i * 4 + 16))) + i++; + list->height = i; + list->tetribit = reduce_tetri(list->tetribit, list->width); + list->same = NULL; + list->test = 0; +} + +/* +** Function that creates the linked list and add a new structure +** linked each time needed +*/ + +int add_to_list(char *line, t_fillist **lst, char letter, int *dope) +{ + t_fillist *tmp; + t_fillist *test; + + if (!(tmp = (t_fillist*)malloc(sizeof(*tmp)))) + return (0); + tmp->next = NULL; + test = *lst; + if (!test) + *lst = tmp; + else + { + while (test->next) + test = test->next; + test->next = tmp; + } + fill_list(line, tmp); + tmp->letter = letter; + tmp->dope = dope; + tmp->start = *lst; + return (1); +} + +/* +** Function that parse a file and put each tetrimino in a linked list +*/ + +int parse_input(char *input, t_fillist **list, int *dope) +{ + char tetri[20]; + int i; + int j; + int letter; + int size; + + i = 0; + letter = 'A'; + while (input[i]) + { + j = 0; + while (j < 19) + tetri[j++] = input[i++]; + tetri[19] = '\0'; + if (check_tetri_errors(tetri)) + print_error_extended(check_tetri_errors(tetri), dope); + add_to_list(tetri, list, letter++, dope); + while (input[i] && input[i] != '.' && input[i] != '#') + i++; + } + size = search_map(*list); + return (size); +} diff --git a/f_print.c b/f_print.c new file mode 100644 index 0000000..d5ab0d2 --- /dev/null +++ b/f_print.c @@ -0,0 +1,121 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* print.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: hulamy +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2019/04/30 13:24:28 by hulamy #+# #+# */ +/* Updated: 2019/06/01 13:56:50 by hulamy ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#include "fillit.h" + +/* +** function that print a map of height and width +** usefull to print tetris +*/ + +void print_sized_map(unsigned int *tab, int width, int height, char letter) +{ + int i; + unsigned int mask; + + i = 0; + mask = 0; + while (i++ < width) + mask = (mask >> 1) | ((mask | 1) << 31); + i = 0; + while (i < width * height) + { + if (i && !(i % width)) + ft_putchar('\n'); + if (tab[i / 32] & (1 << (31 - i % 32))) + ft_put_tetri_color(letter); + else + ft_putchar('.'); + ft_putchar(' '); + i++; + } + write(1, "\n", 1); +} + +/* +** Print the final map with the letters +** if flag value is 0 -> print moulinette version +** if flag value is 0 -> print in color +*/ + +char *init_print_map(t_fillist *list, int size) +{ + char *map; + int i; + int j; + + map = (char *)malloc(sizeof(*map) * (size * size + 1)); + map[size * size] = '\0'; + i = -1; + while (++i < size * size) + map[i] = '.'; + while (list) + { + j = 0; + i = -1; + while (++i < list->width * list->height) + { + if (i && i % list->width == 0) + j += size - list->width; + if (1 << (15 - i) & list->tetribit && list->test == 1) + map[list->position + i + j - 1] = list->letter; + } + list = list->next; + } + return (map); +} + +/* +** Function that print the map with color if flag = 1 +** or for moulinette if flag = 0; +*/ + +void print_letter_map(t_fillist *list, int size, int flag) +{ + int i; + char *map; + + map = init_print_map(list, size); + i = -1; + while (++i < size * size) + { + if (i && i % size == 0) + ft_putchar('\n'); + if (flag == 0) + ft_putchar(map[i]); + else + { + ft_put_tetri_color(map[i]); + ft_putchar(' '); + } + } + ft_putchar('\n'); + free(map); +} + +/* +** Function that print the map +*/ + +void print_final_map(t_fillist *list, int size) +{ + if (list->dope[2]) + { + ft_putendl("result for humans :"); + print_letter_map(list, size, 1); + ft_putchar('\n'); + ft_putendl("result for moulinette :"); + } + print_letter_map(list, size, 0); + if (list->dope[2]) + ft_putchar('\n'); +} diff --git a/samples/16square b/samples/16square new file mode 100644 index 0000000..cf024ee --- /dev/null +++ b/samples/16square @@ -0,0 +1,79 @@ +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... diff --git a/samples/1full b/samples/1full new file mode 100644 index 0000000..f435cdf --- /dev/null +++ b/samples/1full @@ -0,0 +1,4 @@ +#### +#### +#### +#### diff --git a/samples/1square b/samples/1square new file mode 100644 index 0000000..6621462 --- /dev/null +++ b/samples/1square @@ -0,0 +1,4 @@ +##.. +##.. +.... +.... diff --git a/samples/1tetri b/samples/1tetri new file mode 100644 index 0000000..caa819e --- /dev/null +++ b/samples/1tetri @@ -0,0 +1,4 @@ +#... +#... +#... +#... diff --git a/samples/1tetri_T b/samples/1tetri_T new file mode 100644 index 0000000..59b033c --- /dev/null +++ b/samples/1tetri_T @@ -0,0 +1,4 @@ +###. +.#.. +.... +.... diff --git a/samples/1tetri_wrong b/samples/1tetri_wrong new file mode 100644 index 0000000..d73e6f8 --- /dev/null +++ b/samples/1tetri_wrong @@ -0,0 +1,4 @@ +#... +.#.. +#... +#... diff --git a/samples/26square b/samples/26square new file mode 100644 index 0000000..93fb532 --- /dev/null +++ b/samples/26square @@ -0,0 +1,129 @@ +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... diff --git a/samples/26tetri b/samples/26tetri new file mode 100644 index 0000000..5b0667a --- /dev/null +++ b/samples/26tetri @@ -0,0 +1,129 @@ +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# diff --git a/samples/27tetri b/samples/27tetri new file mode 100644 index 0000000..9dd01c6 --- /dev/null +++ b/samples/27tetri @@ -0,0 +1,134 @@ +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# diff --git a/samples/2nl b/samples/2nl new file mode 100644 index 0000000..77ea3e5 --- /dev/null +++ b/samples/2nl @@ -0,0 +1,10 @@ +...# +...# +...# +...# + + +...# +...# +...# +...# diff --git a/samples/2tetri b/samples/2tetri new file mode 100644 index 0000000..26e4931 --- /dev/null +++ b/samples/2tetri @@ -0,0 +1,9 @@ +...# +...# +...# +...# + +.... +##.. +.##. +.... diff --git a/samples/3tetri b/samples/3tetri new file mode 100644 index 0000000..84fea70 --- /dev/null +++ b/samples/3tetri @@ -0,0 +1,14 @@ +...# +...# +...# +...# + +.... +##.. +.##. +.... + +.... +###. +.#.. +.... diff --git a/samples/3tetribis b/samples/3tetribis new file mode 100644 index 0000000..f08eccd --- /dev/null +++ b/samples/3tetribis @@ -0,0 +1,14 @@ +.... +##.. +.##. +.... + +...# +...# +...# +...# + +.... +###. +..#. +.... diff --git a/samples/42 b/samples/42 new file mode 100644 index 0000000..e40c936 --- /dev/null +++ b/samples/42 @@ -0,0 +1,4 @@ +4242 +4242 +4242 +4242 diff --git a/samples/4square b/samples/4square new file mode 100644 index 0000000..ccf8d77 --- /dev/null +++ b/samples/4square @@ -0,0 +1,19 @@ +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... diff --git a/samples/4tetri b/samples/4tetri new file mode 100644 index 0000000..98a0c27 --- /dev/null +++ b/samples/4tetri @@ -0,0 +1,19 @@ +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# + +...# +...# +...# +...# diff --git a/samples/4tetribis b/samples/4tetribis new file mode 100644 index 0000000..bac821b --- /dev/null +++ b/samples/4tetribis @@ -0,0 +1,19 @@ +.... +##.. +.##. +.... + +...# +...# +...# +...# + +.... +###. +..#. +.... + +.... +.##. +.##. +.... diff --git a/samples/5square b/samples/5square new file mode 100644 index 0000000..0c77b74 --- /dev/null +++ b/samples/5square @@ -0,0 +1,24 @@ +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... diff --git a/samples/9square b/samples/9square new file mode 100644 index 0000000..cd51566 --- /dev/null +++ b/samples/9square @@ -0,0 +1,44 @@ +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... + +##.. +##.. +.... +.... diff --git a/samples/Non_valide b/samples/Non_valide new file mode 100644 index 0000000..2de226b --- /dev/null +++ b/samples/Non_valide @@ -0,0 +1,19 @@ +...# +...# +...# +...# +.... +.... +.... +#### + + +.### +...E +.... +.... + +#### +#### +#### +#### diff --git a/samples/backslash_0 b/samples/backslash_0 new file mode 100644 index 0000000..7362676 Binary files /dev/null and b/samples/backslash_0 differ diff --git a/samples/bad_test b/samples/bad_test new file mode 100644 index 0000000..2f58fc2 --- /dev/null +++ b/samples/bad_test @@ -0,0 +1,4 @@ +.#.. +.#.. +###. +.... diff --git a/samples/debug/jdugoudr b/samples/debug/jdugoudr new file mode 100644 index 0000000..b1d432f --- /dev/null +++ b/samples/debug/jdugoudr @@ -0,0 +1,89 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1 b/samples/debug/jdugoudr1 new file mode 100644 index 0000000..9af3d29 --- /dev/null +++ b/samples/debug/jdugoudr1 @@ -0,0 +1,84 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr10 b/samples/debug/jdugoudr10 new file mode 100644 index 0000000..e063174 --- /dev/null +++ b/samples/debug/jdugoudr10 @@ -0,0 +1,84 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr11 b/samples/debug/jdugoudr11 new file mode 100644 index 0000000..42f0f07 --- /dev/null +++ b/samples/debug/jdugoudr11 @@ -0,0 +1,84 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr12 b/samples/debug/jdugoudr12 new file mode 100644 index 0000000..ebde261 --- /dev/null +++ b/samples/debug/jdugoudr12 @@ -0,0 +1,84 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr13 b/samples/debug/jdugoudr13 new file mode 100644 index 0000000..775d744 --- /dev/null +++ b/samples/debug/jdugoudr13 @@ -0,0 +1,84 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr14 b/samples/debug/jdugoudr14 new file mode 100644 index 0000000..86124d0 --- /dev/null +++ b/samples/debug/jdugoudr14 @@ -0,0 +1,84 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr15 b/samples/debug/jdugoudr15 new file mode 100644 index 0000000..ed90d73 --- /dev/null +++ b/samples/debug/jdugoudr15 @@ -0,0 +1,84 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr16 b/samples/debug/jdugoudr16 new file mode 100644 index 0000000..28a2108 --- /dev/null +++ b/samples/debug/jdugoudr16 @@ -0,0 +1,84 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr17 b/samples/debug/jdugoudr17 new file mode 100644 index 0000000..aab8cde --- /dev/null +++ b/samples/debug/jdugoudr17 @@ -0,0 +1,84 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr18 b/samples/debug/jdugoudr18 new file mode 100644 index 0000000..36e611d --- /dev/null +++ b/samples/debug/jdugoudr18 @@ -0,0 +1,79 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# diff --git a/samples/debug/jdugoudr18_17 b/samples/debug/jdugoudr18_17 new file mode 100644 index 0000000..36e611d --- /dev/null +++ b/samples/debug/jdugoudr18_17 @@ -0,0 +1,79 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# diff --git a/samples/debug/jdugoudr18_17_16 b/samples/debug/jdugoudr18_17_16 new file mode 100644 index 0000000..8844962 --- /dev/null +++ b/samples/debug/jdugoudr18_17_16 @@ -0,0 +1,74 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... diff --git a/samples/debug/jdugoudr18_17_16_15 b/samples/debug/jdugoudr18_17_16_15 new file mode 100644 index 0000000..0b7ea05 --- /dev/null +++ b/samples/debug/jdugoudr18_17_16_15 @@ -0,0 +1,69 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... diff --git a/samples/debug/jdugoudr18_17_16_15_14 b/samples/debug/jdugoudr18_17_16_15_14 new file mode 100644 index 0000000..05c0611 --- /dev/null +++ b/samples/debug/jdugoudr18_17_16_15_14 @@ -0,0 +1,64 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... diff --git a/samples/debug/jdugoudr18_17_16_15_14_13 b/samples/debug/jdugoudr18_17_16_15_14_13 new file mode 100644 index 0000000..3beb1d4 --- /dev/null +++ b/samples/debug/jdugoudr18_17_16_15_14_13 @@ -0,0 +1,59 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr18_17_16_15_14_13_12 b/samples/debug/jdugoudr18_17_16_15_14_13_12 new file mode 100644 index 0000000..85375db --- /dev/null +++ b/samples/debug/jdugoudr18_17_16_15_14_13_12 @@ -0,0 +1,54 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... diff --git a/samples/debug/jdugoudr18_17_16_15_14_13_12_11 b/samples/debug/jdugoudr18_17_16_15_14_13_12_11 new file mode 100644 index 0000000..c0fe84e --- /dev/null +++ b/samples/debug/jdugoudr18_17_16_15_14_13_12_11 @@ -0,0 +1,49 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# diff --git a/samples/debug/jdugoudr18_17_16_15_14_13_12_11_10 b/samples/debug/jdugoudr18_17_16_15_14_13_12_11_10 new file mode 100644 index 0000000..3b8fdd9 --- /dev/null +++ b/samples/debug/jdugoudr18_17_16_15_14_13_12_11_10 @@ -0,0 +1,44 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_10 b/samples/debug/jdugoudr1_10 new file mode 100644 index 0000000..3eadd0b --- /dev/null +++ b/samples/debug/jdugoudr1_10 @@ -0,0 +1,79 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_11 b/samples/debug/jdugoudr1_11 new file mode 100644 index 0000000..685d545 --- /dev/null +++ b/samples/debug/jdugoudr1_11 @@ -0,0 +1,79 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_12 b/samples/debug/jdugoudr1_12 new file mode 100644 index 0000000..0cf3681 --- /dev/null +++ b/samples/debug/jdugoudr1_12 @@ -0,0 +1,79 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_13 b/samples/debug/jdugoudr1_13 new file mode 100644 index 0000000..4a76ca8 --- /dev/null +++ b/samples/debug/jdugoudr1_13 @@ -0,0 +1,79 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_14 b/samples/debug/jdugoudr1_14 new file mode 100644 index 0000000..79ff446 --- /dev/null +++ b/samples/debug/jdugoudr1_14 @@ -0,0 +1,79 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_15 b/samples/debug/jdugoudr1_15 new file mode 100644 index 0000000..6427711 --- /dev/null +++ b/samples/debug/jdugoudr1_15 @@ -0,0 +1,79 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_16 b/samples/debug/jdugoudr1_16 new file mode 100644 index 0000000..b809cb1 --- /dev/null +++ b/samples/debug/jdugoudr1_16 @@ -0,0 +1,79 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_17 b/samples/debug/jdugoudr1_17 new file mode 100644 index 0000000..cb200f9 --- /dev/null +++ b/samples/debug/jdugoudr1_17 @@ -0,0 +1,79 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_18 b/samples/debug/jdugoudr1_18 new file mode 100644 index 0000000..22de5f5 --- /dev/null +++ b/samples/debug/jdugoudr1_18 @@ -0,0 +1,79 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... diff --git a/samples/debug/jdugoudr1_2 b/samples/debug/jdugoudr1_2 new file mode 100644 index 0000000..b213006 --- /dev/null +++ b/samples/debug/jdugoudr1_2 @@ -0,0 +1,79 @@ +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_2_3 b/samples/debug/jdugoudr1_2_3 new file mode 100644 index 0000000..5680555 --- /dev/null +++ b/samples/debug/jdugoudr1_2_3 @@ -0,0 +1,74 @@ +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_2_3_4 b/samples/debug/jdugoudr1_2_3_4 new file mode 100644 index 0000000..5780f70 --- /dev/null +++ b/samples/debug/jdugoudr1_2_3_4 @@ -0,0 +1,69 @@ +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_2_3_4_5 b/samples/debug/jdugoudr1_2_3_4_5 new file mode 100644 index 0000000..3f51da5 --- /dev/null +++ b/samples/debug/jdugoudr1_2_3_4_5 @@ -0,0 +1,64 @@ +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_2_3_4_5_6 b/samples/debug/jdugoudr1_2_3_4_5_6 new file mode 100644 index 0000000..6bff131 --- /dev/null +++ b/samples/debug/jdugoudr1_2_3_4_5_6 @@ -0,0 +1,59 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_2_3_4_5_6_7 b/samples/debug/jdugoudr1_2_3_4_5_6_7 new file mode 100644 index 0000000..dda7d14 --- /dev/null +++ b/samples/debug/jdugoudr1_2_3_4_5_6_7 @@ -0,0 +1,54 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_2_3_4_5_6_7_8 b/samples/debug/jdugoudr1_2_3_4_5_6_7_8 new file mode 100644 index 0000000..c68ec94 --- /dev/null +++ b/samples/debug/jdugoudr1_2_3_4_5_6_7_8 @@ -0,0 +1,49 @@ +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_2_3_4_5_6_7_8_9 b/samples/debug/jdugoudr1_2_3_4_5_6_7_8_9 new file mode 100644 index 0000000..3b8fdd9 --- /dev/null +++ b/samples/debug/jdugoudr1_2_3_4_5_6_7_8_9 @@ -0,0 +1,44 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_2_3_4_5_6_7_8_9_10 b/samples/debug/jdugoudr1_2_3_4_5_6_7_8_9_10 new file mode 100644 index 0000000..6deecf3 --- /dev/null +++ b/samples/debug/jdugoudr1_2_3_4_5_6_7_8_9_10 @@ -0,0 +1,39 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_3 b/samples/debug/jdugoudr1_3 new file mode 100644 index 0000000..68560bc --- /dev/null +++ b/samples/debug/jdugoudr1_3 @@ -0,0 +1,79 @@ +#... +##.. +.#.. +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_4 b/samples/debug/jdugoudr1_4 new file mode 100644 index 0000000..3ad9279 --- /dev/null +++ b/samples/debug/jdugoudr1_4 @@ -0,0 +1,79 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_5 b/samples/debug/jdugoudr1_5 new file mode 100644 index 0000000..1a5d651 --- /dev/null +++ b/samples/debug/jdugoudr1_5 @@ -0,0 +1,79 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_6 b/samples/debug/jdugoudr1_6 new file mode 100644 index 0000000..fdf8daa --- /dev/null +++ b/samples/debug/jdugoudr1_6 @@ -0,0 +1,79 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_7 b/samples/debug/jdugoudr1_7 new file mode 100644 index 0000000..9ea86ad --- /dev/null +++ b/samples/debug/jdugoudr1_7 @@ -0,0 +1,79 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_8 b/samples/debug/jdugoudr1_8 new file mode 100644 index 0000000..4f5e3d6 --- /dev/null +++ b/samples/debug/jdugoudr1_8 @@ -0,0 +1,79 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr1_9 b/samples/debug/jdugoudr1_9 new file mode 100644 index 0000000..94d3cdd --- /dev/null +++ b/samples/debug/jdugoudr1_9 @@ -0,0 +1,79 @@ +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr2 b/samples/debug/jdugoudr2 new file mode 100644 index 0000000..b402092 --- /dev/null +++ b/samples/debug/jdugoudr2 @@ -0,0 +1,84 @@ +...# +...# +...# +...# + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr3 b/samples/debug/jdugoudr3 new file mode 100644 index 0000000..01c893b --- /dev/null +++ b/samples/debug/jdugoudr3 @@ -0,0 +1,84 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr4 b/samples/debug/jdugoudr4 new file mode 100644 index 0000000..2213760 --- /dev/null +++ b/samples/debug/jdugoudr4 @@ -0,0 +1,84 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr5 b/samples/debug/jdugoudr5 new file mode 100644 index 0000000..aa32df5 --- /dev/null +++ b/samples/debug/jdugoudr5 @@ -0,0 +1,84 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr6 b/samples/debug/jdugoudr6 new file mode 100644 index 0000000..1f8e59d --- /dev/null +++ b/samples/debug/jdugoudr6 @@ -0,0 +1,84 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr7 b/samples/debug/jdugoudr7 new file mode 100644 index 0000000..742d649 --- /dev/null +++ b/samples/debug/jdugoudr7 @@ -0,0 +1,84 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr8 b/samples/debug/jdugoudr8 new file mode 100644 index 0000000..8345bac --- /dev/null +++ b/samples/debug/jdugoudr8 @@ -0,0 +1,84 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +.... +###. +#... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/debug/jdugoudr9 b/samples/debug/jdugoudr9 new file mode 100644 index 0000000..118a6cf --- /dev/null +++ b/samples/debug/jdugoudr9 @@ -0,0 +1,84 @@ +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... + +#### +.... +.... +.... + +.##. +##.. +.... +.... + +##.. +.##. +.... +.... + +...# +...# +...# +...# + +#... +##.. +.#.. +.... + +.... +###. +#... +.... diff --git a/samples/difficile b/samples/difficile new file mode 100644 index 0000000..e9e0c68 --- /dev/null +++ b/samples/difficile @@ -0,0 +1,114 @@ +.... +.... +..## +.##. + +.... +.##. +..#. +..#. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +###. +.#.. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.### +..#. +.... + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +..#. +..#. +..#. +..#. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +..#. +..#. +..## + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +#### +.... diff --git a/samples/difficile_ou_pas b/samples/difficile_ou_pas new file mode 100644 index 0000000..d0c08a8 --- /dev/null +++ b/samples/difficile_ou_pas @@ -0,0 +1,114 @@ +.... +.... +..## +.##. + +.... +.##. +..#. +..#. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +###. +.#.. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.### +..#. +.... + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +..#. +..#. +..#. +..#. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +..#. +..#. +..## + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +#### +....i diff --git a/samples/empty b/samples/empty new file mode 100644 index 0000000..e69de29 diff --git a/samples/error1 b/samples/error1 new file mode 100644 index 0000000..bab3638 --- /dev/null +++ b/samples/error1 @@ -0,0 +1,8 @@ +#### +.... +.... +.... +#### +.... +.... +.... diff --git a/samples/error2 b/samples/error2 new file mode 100644 index 0000000..86ee25b --- /dev/null +++ b/samples/error2 @@ -0,0 +1,9 @@ +.#.. +.##. +..#. +.... + +.#.. +.#.. +..#. +..#. diff --git a/samples/full b/samples/full new file mode 100644 index 0000000..c6a2a04 --- /dev/null +++ b/samples/full @@ -0,0 +1,19 @@ +###. +#... +.... +.... + +.... +.... +#... +###. + +.... +.##. +.##. +.... + +...# +...# +...# +...# diff --git a/samples/invalid_sample b/samples/invalid_sample new file mode 100644 index 0000000..9748b4a --- /dev/null +++ b/samples/invalid_sample @@ -0,0 +1,20 @@ +...# +...# +...# +...# +.... +.... +.... +#### + + +.### +...# +.... +.... + +.... +..## +.##. +.... + diff --git a/samples/map_hard b/samples/map_hard new file mode 100644 index 0000000..887429b --- /dev/null +++ b/samples/map_hard @@ -0,0 +1,49 @@ +...# +...# +..## +.... + +#... +###. +.... +.... + +.#.. +.#.. +##.. +.... + +...# +...# +..## +.... + +...# +...# +..## +.... + +#... +###. +.... +.... + +.#.. +.#.. +##.. +.... + +...# +...# +..## +.... + +#... +###. +.... +.... + +.#.. +.#.. +##.. +.... diff --git a/samples/map_slack b/samples/map_slack new file mode 100644 index 0000000..6f6a1e5 --- /dev/null +++ b/samples/map_slack @@ -0,0 +1,99 @@ +...# +...# +..## +.... + +#... +###. +.... +.... + +.#.. +.#.. +##.. +.... + +...# +...# +..## +.... + +...# +...# +..## +.... + +#... +###. +.... +.... + +.#.. +.#.. +##.. +.... + +...# +...# +..## +.... + +...# +...# +..## +.... + +#... +###. +.... +.... + +.#.. +.#.. +##.. +.... + +...# +...# +..## +.... + +...# +...# +..## +.... + +#... +###. +.... +.... + +.#.. +.#.. +##.. +.... + +...# +...# +..## +.... + +...# +...# +..## +.... + +#... +###. +.... +.... + +.#.. +.#.. +##.. +.... + +...# +...# +..## +.... diff --git a/samples/newline b/samples/newline new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/samples/newline @@ -0,0 +1 @@ + diff --git a/samples/opti_test b/samples/opti_test new file mode 100644 index 0000000..1f3c081 --- /dev/null +++ b/samples/opti_test @@ -0,0 +1,14 @@ +...# +.### +.... +.... + +.... +#... +##.. +.#.. + +##.. +.##. +.... +.... diff --git a/samples/sujet_1 b/samples/sujet_1 new file mode 100644 index 0000000..2430a47 --- /dev/null +++ b/samples/sujet_1 @@ -0,0 +1,19 @@ +.... +##.. +.#.. +.#.. + +.... +#### +.... +.... + +#... +###. +.... +.... + +.... +##.. +.##. +.... diff --git a/samples/sujet_2 b/samples/sujet_2 new file mode 100644 index 0000000..a2f91ba --- /dev/null +++ b/samples/sujet_2 @@ -0,0 +1,39 @@ +...# +...# +...# +...# + +.... +.... +.... +#### + +.### +...# +.... +.... + +.... +..## +.##. +.... + +.... +.##. +.##. +.... + +.... +.... +##.. +.##. + +##.. +.#.. +.#.. +.... + +.... +###. +.#.. +.... diff --git a/samples/test b/samples/test new file mode 100644 index 0000000..cb1a109 --- /dev/null +++ b/samples/test @@ -0,0 +1,4 @@ +..#. +..#. +..#. +.. diff --git a/samples/test7 b/samples/test7 new file mode 100644 index 0000000..0c717b2 --- /dev/null +++ b/samples/test7 @@ -0,0 +1,34 @@ +...# +...# +...# +...# + +.... +.... +.... +#### + +.### +...# +.... +.... + +.... +..## +.##. +.... + +.... +.##. +.##. +.... + +.... +.... +##.. +.##. + +##.. +.#.. +.#.. +.... diff --git a/samples/test_11 b/samples/test_11 new file mode 100644 index 0000000..00aaef8 --- /dev/null +++ b/samples/test_11 @@ -0,0 +1,54 @@ +.... +.... +..## +.##. + +.... +.##. +..#. +..#. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +###. +.#.. + +.... +.... +..## +.##. + +.... +.... +..## +.##. diff --git a/samples/test_8 b/samples/test_8 new file mode 100644 index 0000000..5b63f79 --- /dev/null +++ b/samples/test_8 @@ -0,0 +1,39 @@ +.... +.... +..## +.##. + +.... +.##. +..#. +..#. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. diff --git a/samples/test_a b/samples/test_a new file mode 100644 index 0000000..21d1aac --- /dev/null +++ b/samples/test_a @@ -0,0 +1,19 @@ +.... +.... +#... +###. + +..#. +..#. +.##. +.... + +.#.. +.#.. +.#.. +.#.. + +##.. +##.. +.... +.... diff --git a/samples/test_bug b/samples/test_bug new file mode 100644 index 0000000..0e8a3bd --- /dev/null +++ b/samples/test_bug @@ -0,0 +1,4 @@ +#... +###. +.... +.... diff --git a/samples/test_opti b/samples/test_opti new file mode 100644 index 0000000..1808a8c --- /dev/null +++ b/samples/test_opti @@ -0,0 +1,19 @@ +..#. +..#. +..## +.... + +.... +.##. +.##. +.... + +..#. +..#. +..## +.... + +..#. +..#. +..## +.... diff --git a/samples/test_ultra_lent b/samples/test_ultra_lent new file mode 100644 index 0000000..6f6a1e5 --- /dev/null +++ b/samples/test_ultra_lent @@ -0,0 +1,99 @@ +...# +...# +..## +.... + +#... +###. +.... +.... + +.#.. +.#.. +##.. +.... + +...# +...# +..## +.... + +...# +...# +..## +.... + +#... +###. +.... +.... + +.#.. +.#.. +##.. +.... + +...# +...# +..## +.... + +...# +...# +..## +.... + +#... +###. +.... +.... + +.#.. +.#.. +##.. +.... + +...# +...# +..## +.... + +...# +...# +..## +.... + +#... +###. +.... +.... + +.#.. +.#.. +##.. +.... + +...# +...# +..## +.... + +...# +...# +..## +.... + +#... +###. +.... +.... + +.#.. +.#.. +##.. +.... + +...# +...# +..## +.... diff --git a/samples/tetri_wrong b/samples/tetri_wrong new file mode 100644 index 0000000..2d8e6c0 --- /dev/null +++ b/samples/tetri_wrong @@ -0,0 +1,124 @@ +.... +.... +..## +.##. + +.... +.##. +..#. +..#. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +###. +.#.. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.### +..#. +.... + +#... +.#.. +#... +#... + +.... +.... +..## +.##. + +.... +.##. +..#. +..#. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +..## +.##. + +.... +.... +###. +.#.. + +.... +.... +..## +.##. diff --git a/samples/two b/samples/two new file mode 100644 index 0000000..3f1734a --- /dev/null +++ b/samples/two @@ -0,0 +1,4 @@ +...# +...# +...# +...# diff --git a/samples/valid_sample b/samples/valid_sample new file mode 100644 index 0000000..8c28d9d --- /dev/null +++ b/samples/valid_sample @@ -0,0 +1,19 @@ +...# +...# +...# +...# + +.... +.... +.... +#### + +.### +...# +.... +.... + +.... +..## +.##. +.... diff --git a/samples/valid_sample_with_newline b/samples/valid_sample_with_newline new file mode 100644 index 0000000..cf7ea58 --- /dev/null +++ b/samples/valid_sample_with_newline @@ -0,0 +1,20 @@ +...# +...# +...# +...# + +.... +.... +.... +#### + +.### +...# +.... +.... + +.... +..## +.##. +.... +