Commit Graph

183 Commits

Author SHA1 Message Date
Hugo LAMY
f4b1da414c list s'imprime dans main 2019-05-17 18:43:33 +02:00
Hugo LAMY
94c0e5d57f search_map a la norme 2019-05-17 17:13:31 +02:00
Hugo LAMY
e5aea30023 backtracking fonctionne avec list->position directement 2019-05-16 16:51:09 +02:00
Hugo LAMY
6705bf9133 version clean sans modulos et divisions pour find_place 2019-05-15 18:05:37 +02:00
Hugo LAMY
2e53b04a9a optimisation en virant modulos et divisions semble marcher, gagne 10s 2019-05-15 17:47:32 +02:00
Manzovince
a639da4ac5 New test opti, strange behavior 2019-05-13 21:48:00 +02:00
Manzovince
b9bdc14db7 New samples added + First Try Optimisation 2019-05-13 18:26:39 +02:00
Hugo LAMY
af527c6316 fonctionne mais sans optimisation 2019-05-10 20:46:02 +02:00
Hugo LAMY
aa8ec6fe66 tentative echouee d'oter les modulo et division dans le fit_in_place 2019-05-10 20:40:16 +02:00
Hugo LAMY
213eff3255 rate pour l'opti qui ralenti mais find_place divisee avec fit_in_place 2019-05-10 17:00:55 +02:00
Hugo LAMY
67cb5dea38 en cours decriture de check_others 2019-05-09 18:04:08 +02:00
Manzovince
8a62783a6b WORKING VERSION FOR 42FileChecker test. All test passed ! 2019-05-09 12:46:59 +02:00
Manzovince
1c6e41e8bf 4 new samples for testing 2019-05-09 12:45:57 +02:00
Hugo LAMY
3977a73682 resolu les deux problemes de add_remove et find_place mais bcp bcp plus lent 2019-05-08 18:45:21 +02:00
Hugo LAMY
2738a5e24b plus de decalage a gauche mais bcp plus lent 2019-05-08 18:43:34 +02:00
Hugo LAMY
1ff7abafd6 rajout d'un if dans add_remove pour resoudre la superposition des ints 2019-05-08 17:55:38 +02:00
Manzovince
4a7ad39626 new samples + map_color modified 2019-05-08 15:42:49 +02:00
Manzovince
fe191054c9 New handle_errors and cleaner print_map_with_colors 2019-05-08 08:10:09 +02:00
Hugo LAMY
d057ef941b sans les codes de debug 2019-05-06 23:29:04 +02:00
Hugo LAMY
23c9e19ea6 map resolue mais peut-etre pas la meilleur solution 2019-05-06 23:24:24 +02:00
Hugo LAMY
74ef38e23a a priori le find place ne deborde plus a droite 2019-05-06 20:26:27 +02:00
Hugo LAMY
60d1d87b76 add_remove decidement.. semble fonctionner mieux mais avec deux modulo a chaque boucles 2019-05-06 20:04:27 +02:00
Hugo LAMY
e784b96efe imprime les lettres en couleur lors du debug 2019-05-06 16:35:16 +02:00
Hugo LAMY
b85454473d imprime les lettres pendant la recursive pour debug 2019-05-06 16:28:23 +02:00
Manzovince
6558b77ef2 Edit print_color for every tetri working 2019-05-04 19:16:38 +02:00
Manzovince
7872fac59e edit in fillit.h and print.c for color map feature 2019-05-04 19:10:33 +02:00
Manzovince
c1850f3fd6 Adding new ft for printing map with colors, WORKING 2019-05-04 19:09:25 +02:00
Manzovince
fdb4c53787 map_hard ADDED 2019-05-03 19:27:22 +02:00
Manzovince
1cf791746c Bonus: Best Error Handler (more details about the error) 2019-05-03 19:13:48 +02:00
Manzovince
8d9b314781 README edit 2019-05-03 18:45:14 +02:00
Manzovince
7d0dab1e1e Auto stash before merge of "master" and "origin/master" 2019-05-03 18:44:51 +02:00
Hugo LAMY
60b970e901 affiche correctement la map avec les lettres mais la map est fausse donc erreur dans backtracking 2019-05-03 16:11:15 +02:00
Hugo LAMY
671585098f fonction print_final_map fonctionne mais backtracking bug.. 2019-05-03 16:06:11 +02:00
Hugo LAMY
bd38cd52ed letter ajoute a la struct 2019-05-03 14:25:05 +02:00
Hugo LAMY
192c2ba0ae ca semble fonctionner et c tres rapide 2019-05-02 16:45:28 +02:00
Hugo LAMY
8a49caad94 find place ne depasse plus les bords de droite et du bas 2019-05-02 00:13:11 +02:00
Hugo LAMY
05e265b3b1 la position des tetri dans la recursive est mtn garde en memoire 2019-05-01 23:46:43 +02:00
Hugo LAMY
929e070fb0 nettoyage et mise a la norme de add_remove 2019-05-01 23:22:14 +02:00
Hugo LAMY
f035f37607 this time add_remove really fucking works 2019-05-01 23:13:24 +02:00
Hugo LAMY
c8570a26f1 add_remove fonctionne vraiment cette fois 2019-05-01 22:50:46 +02:00
Manzovince
37b565f3da Ajout d'une nouvelle méthode pour les tetris et la map 2019-05-01 20:08:13 +02:00
Manzovince
2291152158 new samples 2019-05-01 20:05:44 +02:00
Hugo LAMY
527b621526 merging the clean branch with recursive working badly 2019-05-01 14:25:01 +02:00
Hugo LAMY
0e6e4a3caa merge conflict ave fillit 2019-05-01 14:23:53 +02:00
Hugo LAMY
c118eac450 debug de la recursive et add_remove qui foire certains bits 2019-05-01 14:22:18 +02:00
Hugo LAMY
646d611381 add_remove fonctionne 2019-05-01 13:49:19 +02:00
Hugo LAMY
c40da94786 add_remove fonctionne pour adding 2019-05-01 12:34:58 +02:00
Hugo LAMY
c50f971f50 continue de tenter d'ecrire le add_remove mask 2019-04-30 20:59:01 +02:00
Manzovince
7b26fc7feb adding a print_tetri function in print.c for testing 2019-04-30 19:51:28 +02:00
Manzovince
5dd491ed52 few little edits + show wrong tetri feature 2019-04-30 15:32:47 +02:00