Solution minimale du jeu Traffic!
Un article de Wikipedia.
(→Solutions de grilles) |
(→Remarques) |
||
(81 révisions intermédiaires masquées) | |||
Ligne 3 : | Ligne 3 : | ||
Déterminer le nombre minimal de mouvements pour résoudre une grille du jeu Traffic!. | Déterminer le nombre minimal de mouvements pour résoudre une grille du jeu Traffic!. | ||
== Introduction == | == Introduction == | ||
- | Traffic! est une implémentation gratuite sous Palm du jeu 'Rush Hour' conçu par [http://en.wikipedia.org/wiki/Nob_Yoshigahara Nob Yoshigahara]. | + | |
+ | |||
+ | Premièrement, '''Merci''' à ''Phillip Cheng'' pour l'implémentation de [[Solution minimale du jeu Traffic!#Ressources|Traffic!]] et un '''Grand Merci''' posthume à ''[http://en.wikipedia.org/wiki/Nob_Yoshigahara Nob Yoshigahara]'' pour sa lumineuse idée. | ||
+ | |||
+ | |||
+ | |||
+ | [[Solution minimale du jeu Traffic!#Ressources|Traffic!]] est une implémentation gratuite sous Palm du jeu 'Rush Hour' conçu par [http://en.wikipedia.org/wiki/Nob_Yoshigahara Nob Yoshigahara]. | ||
Il consiste en un plateau carré de 6 unités sur lequel se trouve des blocs de 2 ou 3 unités qui peuvent se déplacer verticalement ou horizontalement. | Il consiste en un plateau carré de 6 unités sur lequel se trouve des blocs de 2 ou 3 unités qui peuvent se déplacer verticalement ou horizontalement. | ||
Ligne 14 : | Ligne 20 : | ||
| [[Image:Traffic.gif]] | | [[Image:Traffic.gif]] | ||
|} | |} | ||
- | Le bloc | + | Le bloc rouge doit être déplacé vers la sortie. |
== Résultats == | == Résultats == | ||
Ligne 32 : | Ligne 38 : | ||
* Sinon un nouveau coup est considéré, jusqu'à épuisement des coups et des grilles de la première liste. | * Sinon un nouveau coup est considéré, jusqu'à épuisement des coups et des grilles de la première liste. | ||
* A la fin du niveau, la deuxième liste des grilles à traiter prend la place de la première liste des grilles en traitement et la deuxième liste redevient vide. | * A la fin du niveau, la deuxième liste des grilles à traiter prend la place de la première liste des grilles en traitement et la deuxième liste redevient vide. | ||
+ | |||
+ | ==== Définition d'une grille ==== | ||
+ | Les grilles sont définies dans le fichier [[Trafficsamples.pas]] des [[Solution minimale du jeu Traffic!#Ressources|Ressources]]. | ||
+ | |||
+ | Les différents blocs de la grilles sont spécifiés par les entrées du tableau de string s avec l'encodage suivant : | ||
+ | |||
+ | * Position ''x'' minimale du bloc | ||
+ | * Position ''Texte italique''y minimale du bloc | ||
+ | * Orientation du bloc | ||
+ | ** ''v'' pour vertical | ||
+ | ** ''h'' pour horizontal | ||
+ | * Taille du bloc (''2'' ou ''3'') | ||
+ | * Type de bloc | ||
+ | ** ''n'' pour les bloc ''normaux'' | ||
+ | ** ''p'' pour le bloc ''principal'' à sortir de la grille | ||
+ | |||
+ | ==== Remarques ==== | ||
+ | * Les images des grilles ont été crées à l'aide de la librairie graphique GD http://www.libgd.org. | ||
+ | * Les animations flash ont été créées à l'aide de la librairie Ming http://www.libming.org. | ||
+ | * Les grilles ''13'', ''14'', ''16'', ''23'' et ''25'' ont été calculées à l'aide du logiciel "Rush Hour" (voir [[Solution minimale du jeu Traffic!#Ressources|Ressources]]) car le Palm bloque durant les calculs ! '''Merci''' à Henrik Theiling pour ce logiciel. Le calcul de n'importe quelle grille prend au maximum 20 secondes avec son logiciel ! | ||
+ | |||
=== Solutions de grilles === | === Solutions de grilles === | ||
- | {| | + | {| border="1" align="center" cellpadding="10" |
- | ! Niveau !! Solution !! Durée des calculs | + | ! Niveau !! Grille !! Nombre de blocs || Solution !! Nombre de coups !! Durée des calculs (HH:MM:SS) || Nombre de grilles différentes |
- | |- | + | |- align="center" |
- | | 1 || || | + | | 1 || [[Image:Traffic1.jpg]] || 8 || [[Media:Anim1.swf]] |
+ | # (5,2)->(2,2) | ||
+ | # (6,4)->(6,1) | ||
+ | # (1,6)->(2,6) | ||
+ | # (1,3)->(1,4) | ||
+ | # (1,1)->(1,2) | ||
+ | # (3,1)->(1,1) | ||
+ | # (4,3)->(4,1) | ||
+ | # (2,4)->(5,4) | ||
+ | || 8 || 00:05:41 || 1067 | ||
+ | |- align="center" | ||
+ | | 2 || [[Image:Traffic2.jpg]] || 11 || | ||
+ | [[Media:Anim2.swf]] | ||
+ | # (5,2)->(4,2) | ||
+ | # (6,3)->(6,1) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,5)->(1,4) | ||
+ | # (4,6)->(1,6) | ||
+ | # (5,3)->(5,5) | ||
+ | # (4,4)->(4,5) | ||
+ | # (2,4)->(5,4) | ||
+ | || 8 || 00:29:01 || 2753 | ||
+ | |- align="center" | ||
+ | | 3 || [[Image:Traffic3.jpg]] || 6 || | ||
+ | [[Media:Anim3.swf]] | ||
+ | # (6,1)->(6,4) | ||
+ | # (3,1)->(5,1) | ||
+ | # (4,2)->(4,4) | ||
+ | # (2,3)->(5,3) | ||
+ | # (4,4)->(4,1) | ||
+ | # (2,4)->(3,4) | ||
+ | # (2,1)->(2,5) | ||
+ | # (3,4)->(2,4) | ||
+ | # (4,1)->(4,4) | ||
+ | # (5,1)->(2,1) | ||
+ | # (5,3)->(2,3) | ||
+ | # (6,4)->(6,1) | ||
+ | # (4,4)->(4,1) | ||
+ | # (2,4)->(5,4) | ||
+ | || 14 || 00:01:40 || 770 | ||
+ | |- align="center" | ||
+ | | 4 || [[Image:Traffic4.jpg]] || 7 || | ||
+ | [[Media:Anim4.swf]] | ||
+ | # (1,4)->(1,1) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,2)->(3,5) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,4) | ||
+ | # (3,1)->(1,1) | ||
+ | # (4,3)->(1,3) | ||
+ | # (4,4)->(4,1) | ||
+ | # (2,4)->(5,4) | ||
+ | || 9 || 00:00:23 || 356 | ||
+ | |- align="center" | ||
+ | | 5 || [[Image:Traffic5.jpg]] || 11 || | ||
+ | [[Media:Anim5.swf]] | ||
+ | # (1,4)->(1,1) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,2)->(3,5) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,4) | ||
+ | # (3,1)->(1,1) | ||
+ | # (4,3)->(1,3) | ||
+ | # (4,4)->(4,1) | ||
+ | # (2,4)->(5,4) | ||
+ | || 9 || 00:23:14 || 2139 | ||
+ | |- align="center" | ||
+ | | 6 || [[Image:Traffic6.jpg]] || 11 || | ||
+ | [[Media:Anim6.swf]] | ||
+ | # (1,4)->(1,1) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,2)->(3,5) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,4) | ||
+ | # (3,1)->(1,1) | ||
+ | # (4,3)->(1,3) | ||
+ | # (4,4)->(4,1) | ||
+ | # (2,4)->(5,4) | ||
+ | || 9 || 00:14:30 || 1637 | ||
+ | |- align="center" | ||
+ | | 7 || [[Image:Traffic7.jpg]] || 9 || | ||
+ | [[Media:Anim7.swf]] | ||
+ | # (6,3)->(6,2) | ||
+ | # (5,5)->(5,2) | ||
+ | # (6,5)->(6,4) | ||
+ | # (3,6)->(5,6) | ||
+ | # (4,4)->(4,5) | ||
+ | # (2,4)->(3,4) | ||
+ | # (2,5)->(2,2) | ||
+ | # (3,4)->(2,4) | ||
+ | # (4,5)->(4,4) | ||
+ | # (5,6)->(2,6) | ||
+ | # (4,4)->(4,5) | ||
+ | # (6,4)->(6,5) | ||
+ | # (2,4)->(5,4) | ||
+ | || 13 || 01:23:17 || 4613 | ||
+ | |- align="center" | ||
+ | | 8 || [[Image:Traffic8.jpg]] || 14 || | ||
+ | [[Media:Anim8.swf]] | ||
+ | # (3,5)->(1,5) | ||
+ | # (4,6)->(1,6) | ||
+ | # (3,3)->(3,5) | ||
+ | # (4,3)->(4,5) | ||
+ | # (5,3)->(4,3) | ||
+ | # (5,4)->(5,5) | ||
+ | # (1,4)->(4,4) | ||
+ | # (3,1)->(3,3) | ||
+ | # (4,1)->(3,1) | ||
+ | # (4,2)->(3,2) | ||
+ | # (6,4)->(6,1) | ||
+ | # (4,4)->(5,4) | ||
+ | || 12 || 00:05:05 || 950 | ||
+ | |- align="center" | ||
+ | | 9 || [[Image:Traffic9.jpg]] || 12 || | ||
+ | [[Media:Anim9.swf]] | ||
+ | # (5,2)->(5,1) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,4) | ||
+ | # (2,3)->(1,3) | ||
+ | # (4,4)->(4,2) | ||
+ | # (5,5)->(4,5) | ||
+ | # (2,4)->(3,4) | ||
+ | # (2,5)->(2,4) | ||
+ | # (3,6)->(2,6) | ||
+ | # (5,6)->(4,6) | ||
+ | # (6,3)->(6,5) | ||
+ | # (3,4)->(5,4) | ||
+ | || 12 || 00:01:47 || 681 | ||
+ | |- align="center" | ||
+ | | 10 || [[Image:Traffic10.jpg]] || 12 || | ||
+ | [[Media:Anim10.swf]] | ||
+ | # (5,6)->(4,6) | ||
+ | # (6,3)->(6,4) | ||
+ | # (2,3)->(4,3) | ||
+ | # (2,4)->(4,4) | ||
+ | # (3,5)->(3,1) | ||
+ | # (1,5)->(2,5) | ||
+ | # (1,6)->(2,6) | ||
+ | # (1,2)->(1,4) | ||
+ | # (4,3)->(1,3) | ||
+ | # (6,4)->(6,3) | ||
+ | # (4,6)->(5,6) | ||
+ | # (4,4)->(2,4) | ||
+ | # (4,1)->(4,5) | ||
+ | # (5,1)->(4,1) | ||
+ | # (5,2)->(4,2) | ||
+ | # (6,3)->(6,1) | ||
+ | # (2,4)->(5,4) | ||
+ | || 17 || 00:16:32 || 1847 | ||
+ | |- align="center" | ||
+ | | 11 || [[Image:Traffic11.jpg]] || 8 || | ||
+ | [[Media:Anim11.swf]] | ||
+ | # (1,4)->(1,1) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,2)->(3,4) | ||
+ | # (4,3)->(3,3) | ||
+ | # (6,1)->(6,4) | ||
+ | # (3,1)->(4,1) | ||
+ | # (3,3)->(4,3) | ||
+ | # (3,4)->(3,1) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,4) | ||
+ | # (4,3)->(1,3) | ||
+ | # (4,4)->(4,3) | ||
+ | # (2,6)->(5,6) | ||
+ | # (4,3)->(4,4) | ||
+ | # (1,3)->(4,3) | ||
+ | # (1,4)->(1,1) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,1)->(3,5) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,4) | ||
+ | # (4,1)->(1,1) | ||
+ | # (4,3)->(1,3) | ||
+ | # (6,4)->(6,2) | ||
+ | # (4,4)->(4,1) | ||
+ | # (2,4)->(5,4) | ||
+ | || 25 || 00:02:27 || 821 | ||
+ | |- align="center" | ||
+ | | 12 || [[Image:Traffic12.jpg]] || 8 || | ||
+ | [[Media:Anim12.swf]] | ||
+ | # (2,6)->(4,6) | ||
+ | # (3,3)->(3,4) | ||
+ | # (4,3)->(2,3) | ||
+ | # (5,1)->(5,4) | ||
+ | # (1,1)->(4,1) | ||
+ | # (2,3)->(4,3) | ||
+ | # (3,4)->(3,1) | ||
+ | # (4,6)->(3,6) | ||
+ | # (5,4)->(5,5) | ||
+ | # (1,4)->(4,4) | ||
+ | # (1,5)->(1,4) | ||
+ | # (3,6)->(1,6) | ||
+ | # (3,1)->(3,4) | ||
+ | # (4,1)->(3,1) | ||
+ | # (4,3)->(3,3) | ||
+ | # (6,4)->(6,1) | ||
+ | # (4,4)->(5,4) | ||
+ | || 17 || 00:04:45 || 1267 | ||
+ | |- align="center" | ||
+ | | 13 || [[Image:Traffic13.jpg]] || 13 || | ||
+ | [[Media:Anim13.swf]] | ||
+ | # (3,4)->(3,2) | ||
+ | # (6,3)->(6,4) | ||
+ | # (2,3)->(2,2) | ||
+ | # (4,4)->(1,4) | ||
+ | # (3,2)->(3,4) | ||
+ | # (4,3)->(5,3) | ||
+ | # (4,1)->(4,4) | ||
+ | # (5,3)->(3,3) | ||
+ | # (5,2)->(3,2) | ||
+ | # (5,5)->(5,2) | ||
+ | # (5,1)->(4,1) | ||
+ | # (6,4)->(6,1) | ||
+ | # (3,6)->(5,6) | ||
+ | # (3,4)->(3,5) | ||
+ | # (4,4)->(4,5) | ||
+ | # (1,4)->(5,4) | ||
+ | || 16 || --- || ''(8213)'' | ||
+ | |- align="center" | ||
+ | | 14 || [[Image:Traffic14.jpg]] || 12 || | ||
+ | [[Media:Anim14.swf]] | ||
+ | # (1,3)->(1,2) | ||
+ | # (2,3)->(2,2) | ||
+ | # (3,4)->(1,4) | ||
+ | # (3,5)->(3,4) | ||
+ | # (1,6)->(4,6) | ||
+ | # (3,4)->(3,5) | ||
+ | # (1,4)->(3,4) | ||
+ | # (1,2)->(1,5) | ||
+ | # (2,2)->(2,5) | ||
+ | # (3,4)->(1,4) | ||
+ | # (3,3)->(1,3) | ||
+ | # (3,1)->(3,3) | ||
+ | # (5,2)->(1,2) | ||
+ | # (5,3)->(5,2) | ||
+ | # (6,3)->(6,2) | ||
+ | # (3,3)->(3,2) | ||
+ | # (1,4)->(5,4) | ||
+ | || 17 || --- || ''(9568)'' | ||
+ | |- align="center" | ||
+ | | 15 || [[Image:Traffic15.jpg]] || 14 || | ||
+ | [[Media:Anim15.swf]] | ||
+ | # (4,1)->(5,1) | ||
+ | # (2,1)->(3,1) | ||
+ | # (1,2)->(1,1) | ||
+ | # (2,2)->(2,1) | ||
+ | # (2,6)->(1,6) | ||
+ | # (4,6)->(5,6) | ||
+ | # (3,4)->(1,4) | ||
+ | # (3,2)->(3,3) | ||
+ | # (4,2)->(4,3) | ||
+ | # (5,2)->(3,2) | ||
+ | # (5,3)->(5,2) | ||
+ | # (6,3)->(6,2) | ||
+ | # (3,5)->(5,5) | ||
+ | # (3,3)->(3,5) | ||
+ | # (4,3)->(4,5) | ||
+ | # (1,4)->(3,4) | ||
+ | # (1,1)->(1,2) | ||
+ | # (2,1)->(2,2) | ||
+ | # (3,1)->(1,1) | ||
+ | # (5,1)->(3,1) | ||
+ | # (5,2)->(5,1) | ||
+ | # (6,2)->(6,1) | ||
+ | # (3,4)->(5,4) | ||
+ | || 23 || 00:01:21 || 521 | ||
+ | |- align="center" | ||
+ | | 16 || [[Image:Traffic16.jpg]] || 11 || | ||
+ | [[Media:Anim16.swf]] | ||
+ | # (1,4)->(1,2) | ||
+ | # (3,5)->(1,5) | ||
+ | # (2,3)->(2,2) | ||
+ | # (3,2)->(3,1) | ||
+ | # (4,4)->(1,4) | ||
+ | # (5,5)->(5,4) | ||
+ | # (3,6)->(4,6) | ||
+ | # (3,1)->(3,4) | ||
+ | # (1,1)->(3,1) | ||
+ | # (2,2)->(2,1) | ||
+ | # (4,3)->(2,3) | ||
+ | # (5,4)->(5,1) | ||
+ | # (2,3)->(4,3) | ||
+ | # (2,1)->(2,2) | ||
+ | # (3,1)->(1,1) | ||
+ | # (3,4)->(3,1) | ||
+ | # (1,4)->(4,4) | ||
+ | # (3,1)->(3,4) | ||
+ | # (4,3)->(3,3) | ||
+ | # (6,4)->(6,1) | ||
+ | # (4,4)->(5,4) | ||
+ | || 21 || --- || ''(2500)'' | ||
+ | |- align="center" | ||
+ | | 17 || [[Image:Traffic17.jpg]] || 12 || | ||
+ | [[Media:Anim17.swf]] | ||
+ | # (5,1)->(5,3) | ||
+ | # (6,1)->(6,3) | ||
+ | # (3,5)->(2,5) | ||
+ | # (4,1)->(4,3) | ||
+ | # (1,1)->(4,1) | ||
+ | # (1,2)->(4,2) | ||
+ | # (3,3)->(3,1) | ||
+ | # (1,3)->(2,3) | ||
+ | # (2,6)->(4,6) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,5)->(1,1) | ||
+ | # (2,3)->(1,3) | ||
+ | # (2,5)->(1,5) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,1)->(3,5) | ||
+ | # (1,3)->(2,3) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,3) | ||
+ | # (4,1)->(1,1) | ||
+ | # (4,2)->(1,2) | ||
+ | # (4,3)->(4,1) | ||
+ | # (5,3)->(5,2) | ||
+ | # (6,3)->(6,2) | ||
+ | # (2,4)->(5,4) | ||
+ | || 24 || 00:28:11 || 2104 | ||
+ | |- align="center" | ||
+ | | 18 || [[Image:Traffic18.jpg]] || 9 || | ||
+ | [[Media:Anim18.swf]] | ||
+ | # (1,1)->(4,1) | ||
+ | # (1,2)->(1,1) | ||
+ | # (2,2)->(5,2) | ||
+ | # (2,3)->(4,3) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,5)->(3,1) | ||
+ | # (1,5)->(2,5) | ||
+ | # (1,6)->(2,6) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,4) | ||
+ | # (4,3)->(1,3) | ||
+ | # (4,4)->(4,2) | ||
+ | # (2,5)->(5,5) | ||
+ | # (2,6)->(5,6) | ||
+ | # (4,2)->(4,4) | ||
+ | # (1,3)->(4,3) | ||
+ | # (1,4)->(1,1) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,1)->(3,5) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,4) | ||
+ | # (4,1)->(1,1) | ||
+ | # (4,3)->(1,3) | ||
+ | # (4,4)->(4,1) | ||
+ | # (2,4)->(5,4) | ||
+ | || 25 || 00:11:54 || 1578 | ||
+ | |- align="center" | ||
+ | | 19 || [[Image:Traffic19.jpg]] || 8 || | ||
+ | [[Media:Anim19.swf]] | ||
+ | # (2,3)->(2,5) | ||
+ | # (3,3)->(1,3) | ||
+ | # (3,4)->(1,4) | ||
+ | # (3,5)->(3,4) | ||
+ | # (4,6)->(3,6) | ||
+ | # (5,4)->(5,5) | ||
+ | # (5,2)->(5,3) | ||
+ | # (1,2)->(4,2) | ||
+ | # (3,4)->(3,1) | ||
+ | # (1,3)->(3,3) | ||
+ | # (1,4)->(3,4) | ||
+ | # (2,5)->(2,1) | ||
+ | # (3,3)->(1,3) | ||
+ | # (3,6)->(1,6) | ||
+ | # (3,4)->(1,4) | ||
+ | # (3,1)->(3,5) | ||
+ | # (1,3)->(3,3) | ||
+ | # (1,4)->(3,4) | ||
+ | # (2,1)->(2,3) | ||
+ | # (4,2)->(2,2) | ||
+ | # (5,3)->(5,2) | ||
+ | # (3,4)->(5,4) | ||
+ | || 22 || 00:00:44 || 482 | ||
+ | |- align="center" | ||
+ | | 20 || [[Image:Traffic20.jpg]] || 10 || | ||
+ | [[Media:Anim20.swf]] | ||
+ | # (4,4)->(4,3) | ||
+ | # (2,5)->(4,5) | ||
+ | # (3,3)->(3,5) | ||
+ | # (3,1)->(3,3) | ||
+ | # (4,1)->(3,1) | ||
+ | # (4,2)->(1,2) | ||
+ | # (3,3)->(3,2) | ||
+ | # (6,2)->(6,1) | ||
+ | # (4,3)->(4,2) | ||
+ | # (1,4)->(5,4) | ||
+ | || 10 || 00:06:45 || 1639 | ||
+ | |- align="center" | ||
+ | | 21 || [[Image:Traffic21.jpg]] || 7 || | ||
+ | [[Media:Anim21.swf]] | ||
+ | # (1,3)->(1,1) | ||
+ | # (2,3)->(4,3) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,5)->(3,1) | ||
+ | # (1,6)->(2,6) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,4) | ||
+ | # (4,3)->(1,3) | ||
+ | # (4,4)->(4,3) | ||
+ | # (2,6)->(5,6) | ||
+ | # (4,3)->(4,4) | ||
+ | # (1,3)->(4,3) | ||
+ | # (1,4)->(1,1) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,1)->(3,5) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,4) | ||
+ | # (4,1)->(1,1) | ||
+ | # (4,3)->(1,3) | ||
+ | # (4,4)->(4,1) | ||
+ | # (2,4)->(5,4) | ||
+ | || 21 || 00:00:11 || 255 | ||
+ | |- align="center" | ||
+ | | 22 || [[Image:Traffic22.jpg]] || 12 || | ||
+ | [[Media:Anim22.swf]] | ||
+ | # (1,1)->(1,2) | ||
+ | # (3,2)->(4,2) | ||
+ | # (1,4)->(1,5) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,5)->(3,2) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,5)->(1,4) | ||
+ | # (4,6)->(1,6) | ||
+ | # (4,3)->(4,4) | ||
+ | # (5,3)->(4,3) | ||
+ | # (6,1)->(6,3) | ||
+ | # (2,1)->(4,1) | ||
+ | # (2,2)->(2,1) | ||
+ | # (4,2)->(5,2) | ||
+ | # (3,2)->(3,1) | ||
+ | # (4,3)->(2,3) | ||
+ | # (4,4)->(4,2) | ||
+ | # (5,5)->(2,5) | ||
+ | # (6,3)->(6,5) | ||
+ | # (4,2)->(4,4) | ||
+ | # (2,3)->(5,3) | ||
+ | # (2,1)->(2,2) | ||
+ | # (3,1)->(3,2) | ||
+ | # (4,1)->(1,1) | ||
+ | # (4,4)->(4,1) | ||
+ | #(2,4)->(5,4) | ||
+ | || 26 || 01:02:04 || 3572 | ||
+ | |- align="center" | ||
+ | | 23 || [[Image:Traffic23.jpg]] || 10 || | ||
+ | [[Media:Anim23.swf]] | ||
+ | # (3,1)->(1,1) | ||
+ | # (4,2)->(4,1) | ||
+ | # (5,3)->(4,3) | ||
+ | # (6,4)->(6,3) | ||
+ | # (3,6)->(4,6) | ||
+ | # (3,4)->(3,5) | ||
+ | # (4,4)->(1,4) | ||
+ | # (3,5)->(3,4) | ||
+ | # (4,6)->(3,6) | ||
+ | # (6,3)->(6,4) | ||
+ | # (4,3)->(5,3) | ||
+ | # (4,1)->(4,2) | ||
+ | # (1,1)->(4,1) | ||
+ | # (3,2)->(3,1) | ||
+ | # (3,4)->(3,3) | ||
+ | # (4,5)->(1,5) | ||
+ | # (3,3)->(3,4) | ||
+ | # (4,2)->(4,4) | ||
+ | # (5,3)->(1,3) | ||
+ | # (6,4)->(6,3) | ||
+ | # (3,6)->(4,6) | ||
+ | # (3,4)->(3,5) | ||
+ | # (3,1)->(3,3) | ||
+ | # (5,2)->(1,2) | ||
+ | # (3,3)->(3,2) | ||
+ | # (4,4)->(4,2) | ||
+ | # (4,1)->(3,1) | ||
+ | # (6,3)->(6,1) | ||
+ | # (1,4)->(5,4) | ||
+ | || 29 || --- || ''(2354)'' | ||
+ | |- align="center" | ||
+ | | 24 || [[Image:Traffic24.jpg]] || 10 || | ||
+ | [[Media:Anim24.swf]] | ||
+ | # (1,3)->(1,5) | ||
+ | #(2,3)->(1,3) | ||
+ | # (2,4)->(2,5) | ||
+ | # (3,4)->(1,4) | ||
+ | # (3,5)->(3,4) | ||
+ | # (4,6)->(3,6) | ||
+ | # (5,3)->(5,5) | ||
+ | # (5,1)->(5,3) | ||
+ | # (1,1)->(4,1) | ||
+ | # (1,2)->(4,2) | ||
+ | # (3,4)->(3,1) | ||
+ | # (1,3)->(3,3) | ||
+ | # (1,4)->(3,4) | ||
+ | # (1,5)->(1,1) | ||
+ | # (2,5)->(2,1) | ||
+ | # (3,3)->(1,3) | ||
+ | # (3,6)->(1,6) | ||
+ | # (3,4)->(1,4) | ||
+ | # (3,1)->(3,5) | ||
+ | # (1,3)->(3,3) | ||
+ | # (1,4)->(3,4) | ||
+ | # (2,1)->(2,3) | ||
+ | # (4,2)->(2,2) | ||
+ | # (5,3)->(5,2) | ||
+ | # (3,4)->(5,4) | ||
+ | || 25 || 01:41:39 || 4336 | ||
+ | |- align="center" | ||
+ | | 25 || [[Image:Traffic25.jpg]] || 13 || | ||
+ | [[Media:Anim25.swf]] | ||
+ | # (5,6)->(4,6) | ||
+ | # (6,3)->(6,4) | ||
+ | # (1,2)->(1,1) | ||
+ | # (2,4)->(1,4) | ||
+ | # (5,3)->(5,4) | ||
+ | # (2,3)->(4,3) | ||
+ | # (3,5)->(3,1) | ||
+ | # (1,6)->(2,6) | ||
+ | # (1,5)->(2,5) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,4) | ||
+ | # (4,3)->(1,3) | ||
+ | # (4,1)->(4,4) | ||
+ | # (1,3)->(4,3) | ||
+ | # (1,4)->(1,1) | ||
+ | # (2,6)->(1,6) | ||
+ | # (2,5)->(1,5) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,1)->(3,5) | ||
+ | # (4,3)->(2,3) | ||
+ | # (5,2)->(3,2) | ||
+ | # (5,4)->(5,2) | ||
+ | # (5,1)->(4,1) | ||
+ | # (6,4)->(6,1) | ||
+ | # (4,6)->(5,6) | ||
+ | # (4,4)->(4,5) | ||
+ | # (1,4)->(5,4) | ||
+ | || 27 || --- || ''(8623)'' | ||
+ | |- align="center" | ||
+ | | 26 || [[Image:Traffic26.jpg]] || 12 || | ||
+ | [[Media:Anim26.swf]] | ||
+ | # (1,2)->(1,1) | ||
+ | # (2,3)->(1,3) | ||
+ | # (6,3)->(6,4) | ||
+ | # (6,1)->(6,2) | ||
+ | # (4,1)->(5,1) | ||
+ | # (4,4)->(4,1) | ||
+ | # (2,4)->(3,4) | ||
+ | # (2,5)->(2,4) | ||
+ | # (4,6)->(1,6) | ||
+ | # (5,3)->(5,4) | ||
+ | # (1,3)->(3,3) | ||
+ | # (6,4)->(6,5) | ||
+ | # (2,4)->(2,1) | ||
+ | # (3,3)->(1,3) | ||
+ | # (3,4)->(2,4) | ||
+ | # (4,1)->(4,5) | ||
+ | # (5,1)->(4,1) | ||
+ | # (6,2)->(6,1) | ||
+ | # (1,3)->(4,3) | ||
+ | # (3,1)->(3,2) | ||
+ | # (1,1)->(1,2) | ||
+ | # (2,4)->(3,4) | ||
+ | # (2,1)->(2,4) | ||
+ | # (4,1)->(1,1) | ||
+ | # (3,2)->(3,1) | ||
+ | # (4,3)->(2,3) | ||
+ | # (5,4)->(5,1) | ||
+ | # (3,4)->(5,4) | ||
+ | || 28 || 02:14:34 || 4806 | ||
+ | |- align="center" | ||
+ | | 27 || [[Image:Traffic27.jpg]] || 10 || | ||
+ | [[Media:Anim27.swf]] | ||
+ | # (6,2)->(6,4) | ||
+ | # (4,3)->(5,3) | ||
+ | # (4,4)->(4,2) | ||
+ | # (2,5)->(4,5) | ||
+ | # (2,6)->(4,6) | ||
+ | # (3,3)->(3,5) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,5)->(1,1) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,5)->(3,3) | ||
+ | # (4,5)->(1,5) | ||
+ | # (3,3)->(3,4) | ||
+ | # (4,6)->(1,6) | ||
+ | # (4,2)->(4,4) | ||
+ | # (5,3)->(1,3) | ||
+ | # (3,4)->(3,3) | ||
+ | # (4,4)->(4,2) | ||
+ | # (1,5)->(4,5) | ||
+ | # (3,3)->(3,5) | ||
+ | # (1,3)->(2,3) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,4) | ||
+ | # (2,3)->(1,3) | ||
+ | # (3,1)->(3,2) | ||
+ | # (4,1)->(1,1) | ||
+ | # (6,4)->(6,1) | ||
+ | # (4,2)->(4,1) | ||
+ | # (2,4)->(5,4) | ||
+ | || 28 || 00:30:00 || 2741 | ||
+ | |- align="center" | ||
+ | | 28 || [[Image:Traffic28.jpg]] || 12 || | ||
+ | [[Media:Anim28.swf]] | ||
+ | # (6,1)->(6,2) | ||
+ | # (3,1)->(5,1) | ||
+ | # (1,1)->(3,1) | ||
+ | # (1,2)->(1,1) | ||
+ | # (2,2)->(2,1) | ||
+ | # (4,5)->(4,4) | ||
+ | # (1,6)->(4,6) | ||
+ | # (3,3)->(3,4) | ||
+ | # (4,3)->(1,3) | ||
+ | # (4,4)->(4,3) | ||
+ | # (5,5)->(4,5) | ||
+ | # (6,2)->(6,3) | ||
+ | # (3,2)->(4,2) | ||
+ | # (3,4)->(3,2) | ||
+ | # (4,5)->(1,5) | ||
+ | # (3,2)->(3,4) | ||
+ | # (4,3)->(4,4) | ||
+ | # (1,3)->(4,3) | ||
+ | # (1,1)->(1,2) | ||
+ | # (2,1)->(2,2) | ||
+ | # (3,1)->(1,1) | ||
+ | # (5,1)->(4,1) | ||
+ | # (3,4)->(3,1) | ||
+ | # (4,6)->(1,6) | ||
+ | # (4,4)->(4,5) | ||
+ | # (1,4)->(4,4) | ||
+ | # (3,1)->(3,3) | ||
+ | # (4,2)->(3,2) | ||
+ | # (6,3)->(6,1) | ||
+ | # (4,4)->(5,4) | ||
+ | || 30 || 00:17:17 || 1927 | ||
+ | |- align="center" | ||
+ | | 29 || [[Image:Traffic29.jpg]] || 12 || | ||
+ | [[Media:Anim29.swf]] | ||
+ | # (6,3)->(6,4) | ||
+ | # (4,3)->(5,3) | ||
+ | # (4,1)->(4,4) | ||
+ | # (2,2)->(4,2) | ||
+ | # (5,3)->(4,3) | ||
+ | # (6,1)->(6,2) | ||
+ | # (1,1)->(4,1) | ||
+ | # (1,2)->(1,1) | ||
+ | # (2,3)->(1,3) | ||
+ | # (3,4)->(3,1) | ||
+ | # (1,3)->(2,3) | ||
+ | # (1,6)->(2,6) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,5) | ||
+ | # (2,3)->(1,3) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,1)->(3,4) | ||
+ | # (4,1)->(1,1) | ||
+ | # (6,2)->(6,1) | ||
+ | # (4,2)->(2,2) | ||
+ | # (4,3)->(5,3) | ||
+ | # (4,4)->(4,1) | ||
+ | # (5,3)->(3,3) | ||
+ | # (5,4)->(5,1) | ||
+ | # (2,6)->(4,6) | ||
+ | # (3,4)->(3,5) | ||
+ | # (1,4)->(4,4) | ||
+ | # (3,5)->(3,4) | ||
+ | # (4,6)->(3,6) | ||
+ | # (6,4)->(6,5) | ||
+ | # (4,4)->(5,4) | ||
+ | || 31 || 01:54:50 || 4326 | ||
+ | |- align="center" | ||
+ | | 30 || [[Image:Traffic30.jpg]] || 10 || | ||
+ | [[Media:Anim30.swf]] | ||
+ | # (3,1)->(4,1) | ||
+ | # (1,1)->(2,1) | ||
+ | # (3,3)->(4,3) | ||
+ | # (1,3)->(2,3) | ||
+ | # (1,4)->(1,1) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,5)->(3,4) | ||
+ | # (4,6)->(3,6) | ||
+ | # (6,1)->(6,4) | ||
+ | # (4,1)->(5,1) | ||
+ | # (4,3)->(5,3) | ||
+ | # (4,4)->(4,1) | ||
+ | # (5,3)->(4,3) | ||
+ | # (6,4)->(6,3) | ||
+ | # (3,6)->(4,6) | ||
+ | # (3,4)->(3,5) | ||
+ | # (1,4)->(4,4) | ||
+ | # (1,1)->(1,4) | ||
+ | # (2,1)->(1,1) | ||
+ | # (2,3)->(1,3) | ||
+ | # (3,5)->(3,1) | ||
+ | # (1,3)->(2,3) | ||
+ | # (1,4)->(1,3) | ||
+ | # (4,6)->(1,6) | ||
+ | # (6,3)->(6,4) | ||
+ | # (4,3)->(5,3) | ||
+ | # (4,4)->(2,4) | ||
+ | # (4,1)->(4,5) | ||
+ | # (5,1)->(4,1) | ||
+ | # (5,3)->(4,3) | ||
+ | # (6,4)->(6,1) | ||
+ | # (2,4)->(5,4) | ||
+ | || 32 || 00:05:39 || 1158 | ||
+ | |- align="center" | ||
+ | | 31 || [[Image:Traffic31.jpg]] || 11 || | ||
+ | [[Media:Anim31.swf]] | ||
+ | # (1,6)->(2,6) | ||
+ | # (1,3)->(1,5) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,1)->(3,3) | ||
+ | # (1,2)->(4,2) | ||
+ | # (3,3)->(3,1) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,5)->(1,1) | ||
+ | # (2,6)->(1,6) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,1)->(3,4) | ||
+ | # (4,3)->(1,3) | ||
+ | # (3,4)->(3,1) | ||
+ | # (4,4)->(4,3) | ||
+ | # (5,5)->(4,5) | ||
+ | # (6,2)->(6,3) | ||
+ | # (4,2)->(5,2) | ||
+ | # (4,3)->(4,2) | ||
+ | # (1,4)->(4,4) | ||
+ | # (3,1)->(3,4) | ||
+ | # (1,3)->(2,3) | ||
+ | # (1,1)->(1,4) | ||
+ | # (2,3)->(1,3) | ||
+ | # (3,4)->(3,1) | ||
+ | # (1,6)->(2,6) | ||
+ | # (1,4)->(1,5) | ||
+ | # (4,4)->(1,4) | ||
+ | # (3,1)->(3,3) | ||
+ | # (4,2)->(4,3) | ||
+ | # (5,2)->(1,2) | ||
+ | # (3,3)->(3,1) | ||
+ | # (4,3)->(4,2) | ||
+ | # (1,4)->(4,4) | ||
+ | # (3,1)->(3,2) | ||
+ | # (4,1)->(3,1) | ||
+ | # (6,3)->(6,1) | ||
+ | # (4,4)->(5,4) | ||
+ | || 37 || 01:18:17 || 3947 | ||
+ | |- align="center" | ||
+ | | 32 || [[Image:Traffic32.jpg]] || 11 || | ||
+ | [[Media:Anim32.swf]] | ||
+ | # (4,5)->(4,4) | ||
+ | # (5,6)->(4,6) | ||
+ | # (6,1)->(6,4) | ||
+ | # (4,3)->(5,3) | ||
+ | # (4,1)->(4,2) | ||
+ | # (1,1)->(5,1) | ||
+ | # (4,2)->(4,1) | ||
+ | # (1,2)->(1,1) | ||
+ | # (2,3)->(1,3) | ||
+ | # (5,3)->(4,3) | ||
+ | # (6,4)->(6,3) | ||
+ | # (3,4)->(3,1) | ||
+ | # (4,6)->(5,6) | ||
+ | # (4,4)->(4,5) | ||
+ | # (1,4)->(4,4) | ||
+ | # (3,1)->(3,4) | ||
+ | # (1,3)->(2,3) | ||
+ | # (1,1)->(1,4) | ||
+ | # (2,3)->(1,3) | ||
+ | # (3,4)->(3,1) | ||
+ | # (1,6)->(2,6) | ||
+ | # (1,4)->(1,5) | ||
+ | # (4,4)->(1,4) | ||
+ | # (3,1)->(3,2) | ||
+ | # (4,5)->(4,4) | ||
+ | # (5,6)->(4,6) | ||
+ | # (6,3)->(6,4) | ||
+ | # (4,3)->(5,3) | ||
+ | # (4,1)->(4,2) | ||
+ | # (5,1)->(1,1) | ||
+ | # (4,2)->(4,1) | ||
+ | # (5,3)->(4,3) | ||
+ | # (6,4)->(6,1) | ||
+ | # (3,2)->(3,1) | ||
+ | # (4,6)->(5,6) | ||
+ | # (4,4)->(4,5) | ||
+ | # (1,4)->(5,4) | ||
+ | || 37 || 00:01:09 || 568 | ||
+ | |- align="center" | ||
+ | | 33 || [[Image:Traffic33.jpg]] || 12 || | ||
+ | [[Media:Anim33.swf]] | ||
+ | # (5,6)->(4,6) | ||
+ | # (6,1)->(6,4) | ||
+ | # (4,3)->(5,3) | ||
+ | # (4,1)->(4,4) | ||
+ | # (1,1)->(2,1) | ||
+ | # (1,2)->(1,1) | ||
+ | # (2,3)->(1,3) | ||
+ | # (5,3)->(3,3) | ||
+ | # (5,1)->(5,4) | ||
+ | # (2,1)->(4,1) | ||
+ | # (2,2)->(5,2) | ||
+ | # (3,3)->(5,3) | ||
+ | # (4,4)->(4,2) | ||
+ | # (3,4)->(3,1) | ||
+ | # (4,6)->(3,6) | ||
+ | # (5,4)->(5,5) | ||
+ | # (1,4)->(4,4) | ||
+ | # (2,5)->(2,4) | ||
+ | # (3,6)->(1,6) | ||
+ | # (3,1)->(3,4) | ||
+ | # (1,3)->(2,3) | ||
+ | # (1,1)->(1,4) | ||
+ | # (2,3)->(1,3) | ||
+ | # (3,4)->(3,1) | ||
+ | # (1,6)->(3,6) | ||
+ | # (1,4)->(1,5) | ||
+ | # (2,4)->(2,5) | ||
+ | # (4,4)->(1,4) | ||
+ | # (4,2)->(4,3) | ||
+ | # (3,1)->(3,3) | ||
+ | # (5,2)->(1,2) | ||
+ | # (4,3)->(4,2) | ||
+ | # (3,3)->(3,1) | ||
+ | # (1,4)->(4,4) | ||
+ | # (3,1)->(3,2) | ||
+ | # (4,1)->(1,1) | ||
+ | # (4,2)->(4,1) | ||
+ | # (5,3)->(4,3) | ||
+ | # (6,4)->(6,1) | ||
+ | # (4,4)->(5,4) | ||
+ | || 40 || 01:36:05 || 3960 | ||
+ | |- align="center" | ||
+ | | 34 || [[Image:Traffic34.jpg]] || 12 || | ||
+ | [[Media:Anim34.swf]] | ||
+ | # (4,1)->(5,1) | ||
+ | # (4,2)->(4,1) | ||
+ | # (1,3)->(2,3) | ||
+ | # (5,3)->(5,4) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,5)->(1,2) | ||
+ | # (4,6)->(1,6) | ||
+ | # (6,3)->(6,4) | ||
+ | # (2,3)->(4,3) | ||
+ | # (4,4)->(4,5) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,1)->(3,4) | ||
+ | # (1,1)->(2,1) | ||
+ | # (1,2)->(1,1) | ||
+ | # (4,3)->(1,3) | ||
+ | # (4,1)->(4,3) | ||
+ | # (5,2)->(2,2) | ||
+ | # (4,3)->(4,1) | ||
+ | # (1,3)->(2,3) | ||
+ | # (6,4)->(6,3) | ||
+ | # (4,5)->(4,4) | ||
+ | # (1,6)->(4,6) | ||
+ | # (3,4)->(3,5) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,5) | ||
+ | # (2,1)->(1,1) | ||
+ | # (2,2)->(1,2) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,5)->(3,4) | ||
+ | # (4,6)->(3,6) | ||
+ | # (6,3)->(6,4) | ||
+ | # (2,3)->(4,3) | ||
+ | # (3,4)->(3,1) | ||
+ | # (4,3)->(1,3) | ||
+ | # (4,1)->(4,2) | ||
+ | # (5,1)->(4,1) | ||
+ | # (5,4)->(5,2) | ||
+ | # (6,4)->(6,1) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,5)->(1,4) | ||
+ | # (3,6)->(1,6) | ||
+ | # (4,4)->(4,5) | ||
+ | # (2,4)->(5,4) | ||
+ | || 43 || 01:58:33 || 4364 | ||
+ | |- align="center" | ||
+ | | 35 || [[Image:Traffic35.jpg]] || 11 || | ||
+ | [[Media:Anim35.swf]] | ||
+ | # (1,1)->(2,1) | ||
+ | # (5,1)->(5,4) | ||
+ | # (1,2)->(1,1) | ||
+ | # (2,3)->(1,3) | ||
+ | # (6,4)->(6,3) | ||
+ | # (4,6)->(5,6) | ||
+ | # (4,4)->(4,5) | ||
+ | # (4,1)->(4,3) | ||
+ | # (2,1)->(5,1) | ||
+ | # (2,2)->(5,2) | ||
+ | # (4,3)->(4,1) | ||
+ | # (4,5)->(4,4) | ||
+ | # (5,6)->(4,6) | ||
+ | # (6,3)->(6,4) | ||
+ | # (1,3)->(4,3) | ||
+ | # (3,4)->(3,1) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,5) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,1)->(3,4) | ||
+ | # (4,3)->(1,3) | ||
+ | # (6,4)->(6,3) | ||
+ | # (4,6)->(5,6) | ||
+ | # (4,4)->(4,5) | ||
+ | # (4,1)->(4,3) | ||
+ | # (5,1)->(1,1) | ||
+ | # (5,2)->(1,2) | ||
+ | # (4,3)->(4,1) | ||
+ | # (5,4)->(5,1) | ||
+ | # (4,5)->(4,4) | ||
+ | # (5,6)->(4,6) | ||
+ | # (6,3)->(6,4) | ||
+ | # (1,3)->(4,3) | ||
+ | # (3,4)->(3,1) | ||
+ | # (4,6)->(2,6) | ||
+ | # (4,4)->(4,5) | ||
+ | # (1,4)->(4,4) | ||
+ | # (1,5)->(1,4) | ||
+ | # (2,6)->(1,6) | ||
+ | # (3,1)->(3,4) | ||
+ | # (4,3)->(3,3) | ||
+ | # (6,4)->(6,1) | ||
+ | # (4,4)->(5,4) | ||
+ | || 43 || 01:25:03 || 3963 | ||
+ | |- align="center" | ||
+ | | 36 || [[Image:Traffic36.jpg]] || 12 || | ||
+ | [[Media:Anim36.swf]] | ||
+ | # (4,2)->(4,1) | ||
+ | # (1,3)->(2,3) | ||
+ | # (1,4)->(1,3) | ||
+ | # (3,5)->(4,5) | ||
+ | # (2,6)->(1,6) | ||
+ | # (5,6)->(4,6) | ||
+ | # (6,3)->(6,4) | ||
+ | # (2,3)->(4,3) | ||
+ | # (3,4)->(4,4) | ||
+ | # (3,1)->(3,4) | ||
+ | # (4,3)->(3,3) | ||
+ | # (6,4)->(6,3) | ||
+ | # (4,6)->(5,6) | ||
+ | # (1,6)->(2,6) | ||
+ | # (1,3)->(1,4) | ||
+ | # (3,3)->(1,3) | ||
+ | # (4,1)->(4,2) | ||
+ | # (1,1)->(5,1) | ||
+ | # (4,2)->(4,1) | ||
+ | # (1,3)->(2,3) | ||
+ | # (1,4)->(1,3) | ||
+ | # (2,6)->(1,6) | ||
+ | # (5,6)->(4,6) | ||
+ | # (6,3)->(6,4) | ||
+ | # (2,3)->(4,3) | ||
+ | # (3,4)->(3,1) | ||
+ | # (4,3)->(3,3) | ||
+ | # (6,4)->(6,3) | ||
+ | # (2,4)->(2,1) | ||
+ | # (4,5)->(2,5) | ||
+ | # (4,6)->(5,6) | ||
+ | # (1,6)->(2,6) | ||
+ | # (1,3)->(1,4) | ||
+ | # (3,3)->(1,3) | ||
+ | # (4,4)->(2,4) | ||
+ | # (4,1)->(4,4) | ||
+ | # (5,1)->(4,1) | ||
+ | # (5,2)->(4,2) | ||
+ | # (1,3)->(2,3) | ||
+ | # (6,3)->(6,1) | ||
+ | # (1,4)->(1,3) | ||
+ | # (2,6)->(1,6) | ||
+ | # (4,4)->(4,5) | ||
+ | # (2,4)->(5,4) | ||
+ | || 44 || 00:33:37 || 2556 | ||
+ | |- align="center" | ||
+ | | 37 || [[Image:Traffic37.jpg]] || 13 || | ||
+ | [[Media:Anim37.swf]] | ||
+ | # (1,1)->(2,1) | ||
+ | # (1,2)->(1,1) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,5)->(3,4) | ||
+ | # (5,6)->(3,6) | ||
+ | # (5,3)->(5,4) | ||
+ | # (6,3)->(6,4) | ||
+ | # (2,3)->(4,3) | ||
+ | # (3,4)->(3,2) | ||
+ | # (1,5)->(2,5) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,2) | ||
+ | # (2,1)->(1,1) | ||
+ | # (3,2)->(3,1) | ||
+ | # (4,3)->(2,3) | ||
+ | # (5,4)->(5,3) | ||
+ | # (3,6)->(4,6) | ||
+ | # (1,6)->(2,6) | ||
+ | # (1,2)->(1,4) | ||
+ | # (2,3)->(1,3) | ||
+ | # (4,1)->(4,4) | ||
+ | # (5,1)->(4,1) | ||
+ | # (1,3)->(2,3) | ||
+ | # (1,4)->(1,3) | ||
+ | # (2,6)->(1,6) | ||
+ | # (4,6)->(3,6) | ||
+ | # (5,3)->(5,4) | ||
+ | # (2,3)->(4,3) | ||
+ | # (3,1)->(3,2) | ||
+ | # (1,1)->(2,1) | ||
+ | # (1,3)->(1,1) | ||
+ | # (2,5)->(1,5) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,2)->(3,4) | ||
+ | # (5,2)->(3,2) | ||
+ | # (4,3)->(2,3) | ||
+ | # (5,4)->(5,3) | ||
+ | # (6,4)->(6,1) | ||
+ | # (3,6)->(5,6) | ||
+ | # (4,4)->(4,5) | ||
+ | # (3,4)->(3,5) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,2) | ||
+ | # (2,1)->(1,1) | ||
+ | # (4,1)->(3,1) | ||
+ | # (5,3)->(5,1) | ||
+ | # (2,4)->(5,4) | ||
+ | || 47 || 00:24:18 || 1941 | ||
+ | |- align="center" | ||
+ | | 38 || [[Image:Traffic38.jpg]] || 11 || | ||
+ | [[Media:Anim38.swf]] | ||
+ | # (4,6)->(3,6) | ||
+ | # (6,2)->(6,4) | ||
+ | # (4,2)->(5,2) | ||
+ | # (4,3)->(5,3) | ||
+ | # (4,4)->(4,3) | ||
+ | # (2,5)->(4,5) | ||
+ | # (3,3)->(3,4) | ||
+ | # (3,1)->(3,2) | ||
+ | # (4,1)->(1,1) | ||
+ | # (4,3)->(4,1) | ||
+ | # (5,3)->(4,3) | ||
+ | # (6,4)->(6,3) | ||
+ | # (3,6)->(4,6) | ||
+ | # (3,4)->(3,5) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,5)->(1,2) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,5)->(3,4) | ||
+ | # (4,6)->(3,6) | ||
+ | # (6,3)->(6,4) | ||
+ | # (4,3)->(5,3) | ||
+ | # (4,1)->(4,2) | ||
+ | # (1,1)->(4,1) | ||
+ | # (3,2)->(3,1) | ||
+ | # (3,4)->(3,3) | ||
+ | # (1,2)->(1,1) | ||
+ | # (4,5)->(1,5) | ||
+ | # (3,3)->(3,4) | ||
+ | # (4,2)->(4,4) | ||
+ | # (5,3)->(1,3) | ||
+ | # (6,4)->(6,3) | ||
+ | # (3,4)->(3,3) | ||
+ | # (4,4)->(4,3) | ||
+ | # (1,5)->(4,5) | ||
+ | # (3,6)->(4,6) | ||
+ | # (3,3)->(3,5) | ||
+ | # (1,3)->(2,3) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,5) | ||
+ | # (2,3)->(1,3) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,1)->(3,3) | ||
+ | # (4,1)->(3,1) | ||
+ | # (5,2)->(1,2) | ||
+ | # (3,3)->(3,2) | ||
+ | # (6,3)->(6,1) | ||
+ | # (4,3)->(4,2) | ||
+ | # (1,4)->(5,4) | ||
+ | || 48 || 01:01:16 || 3755 | ||
+ | |- align="center" | ||
+ | | 39 || [[Image:Traffic39.jpg]] || 12 || | ||
+ | [[Media:Anim39.swf]] | ||
+ | # (3,1)->(5,1) | ||
+ | # (3,2)->(4,2) | ||
+ | # (3,3)->(3,1) | ||
+ | # (3,5)->(3,4) | ||
+ | # (4,6)->(3,6) | ||
+ | # (6,2)->(6,4) | ||
+ | # (4,2)->(5,2) | ||
+ | # (4,3)->(5,3) | ||
+ | # (4,4)->(4,1) | ||
+ | # (5,3)->(4,3) | ||
+ | # (6,4)->(6,3) | ||
+ | # (3,6)->(4,6) | ||
+ | # (3,4)->(3,5) | ||
+ | # (1,4)->(4,4) | ||
+ | # (3,5)->(3,4) | ||
+ | # (4,6)->(3,6) | ||
+ | # (6,3)->(6,4) | ||
+ | # (4,3)->(5,3) | ||
+ | # (1,3)->(3,3) | ||
+ | # (1,1)->(1,5) | ||
+ | # (2,1)->(2,5) | ||
+ | # (3,3)->(1,3) | ||
+ | # (5,3)->(4,3) | ||
+ | # (6,4)->(6,3) | ||
+ | # (3,6)->(4,6) | ||
+ | # (3,4)->(3,5) | ||
+ | # (4,4)->(1,4) | ||
+ | # (3,5)->(3,4) | ||
+ | # (4,6)->(3,6) | ||
+ | # (6,3)->(6,4) | ||
+ | # (4,3)->(5,3) | ||
+ | # (4,1)->(4,4) | ||
+ | # (5,3)->(4,3) | ||
+ | # (6,4)->(6,3) | ||
+ | # (3,6)->(4,6) | ||
+ | # (3,4)->(3,5) | ||
+ | # (3,1)->(3,3) | ||
+ | # (5,1)->(2,1) | ||
+ | # (5,2)->(1,2) | ||
+ | # (3,3)->(3,2) | ||
+ | # (3,5)->(3,4) | ||
+ | # (4,6)->(3,6) | ||
+ | # (6,3)->(6,4) | ||
+ | # (4,3)->(5,3) | ||
+ | # (4,4)->(4,1) | ||
+ | # (5,3)->(4,3) | ||
+ | # (6,4)->(6,1) | ||
+ | # (3,6)->(4,6) | ||
+ | # (3,4)->(3,5) | ||
+ | # (1,4)->(5,4) | ||
+ | || 50 || 00:59:53 || 3581 | ||
+ | |- align="center" | ||
+ | | 40 || [[Image:Traffic40.jpg]] || 13 || [[Media:Anim40.swf]] | ||
+ | # (4,1)->(5,1) | ||
+ | # (4,2)->(4,1) | ||
+ | # (6,3)->(6,4) | ||
+ | # (1,3)->(4,3) | ||
+ | # (3,1)->(3,2) | ||
+ | # (1,1)->(2,1) | ||
+ | # (1,4)->(1,1) | ||
+ | # (2,4)->(2,2) | ||
+ | # (2,6)->(1,6) | ||
+ | # (3,4)->(3,5) | ||
+ | # (4,4)->(1,4) | ||
+ | # (3,5)->(3,4) | ||
+ | # (5,5)->(5,4) | ||
+ | # (1,6)->(4,6) | ||
+ | # (3,4)->(3,5) | ||
+ | # (1,4)->(3,4) | ||
+ | # (1,1)->(1,4) | ||
+ | # (2,1)->(1,1) | ||
+ | # (3,2)->(3,1) | ||
+ | # (2,2)->(2,5) | ||
+ | # (4,3)->(1,3) | ||
+ | # (6,4)->(6,3) | ||
+ | # (4,6)->(5,6) | ||
+ | # (3,4)->(2,4) | ||
+ | # (4,1)->(4,5) | ||
+ | # (5,1)->(4,1) | ||
+ | # (5,2)->(4,2) | ||
+ | # (1,3)->(3,3) | ||
+ | # (2,4)->(3,4) | ||
+ | # (2,5)->(2,2) | ||
+ | # (3,4)->(2,4) | ||
+ | # (4,5)->(4,4) | ||
+ | # (5,6)->(4,6) | ||
+ | # (6,3)->(6,4) | ||
+ | # (3,3)->(4,3) | ||
+ | # (3,1)->(3,2) | ||
+ | # (1,1)->(2,1) | ||
+ | # (1,4)->(1,1) | ||
+ | # (2,4)->(1,4) | ||
+ | # (3,5)->(3,4) | ||
+ | # (4,6)->(1,6) | ||
+ | # (4,4)->(4,5) | ||
+ | # (3,4)->(3,5) | ||
+ | # (5,4)->(5,5) | ||
+ | # (1,4)->(2,4) | ||
+ | # (1,1)->(1,2) | ||
+ | # (2,1)->(1,1) | ||
+ | # (3,2)->(3,1) | ||
+ | # (4,3)->(3,3) | ||
+ | # (6,4)->(6,1) | ||
+ | # (2,4)->(5,4) | ||
+ | || 51 || 00:52:22 || 3024 | ||
|} | |} | ||
== Conclusions == | == Conclusions == | ||
+ | * Le nombre minimal des mouvements nécessaires pour résoudre une grille déterminé par ce logiciel correspond à celui indiqué par le programme Traffic!. | ||
+ | * Dans le programme Traffic! le nombre minimal de mouvements nécessaire à résoudre une grille s'affiche qu'une fois la grille résolue. Une question se pose : ''Est-ce que le nombre minimal de mouvements pour résoudre la grille est calculé lors de la résolution de la grille ou est-il préalablement connu ?'' | ||
+ | * PP Compiler génère une erreur de compilation "Out of memory(1)" si le nombre de grilles spécifiées dans [[Solution minimale du jeu Traffic!#Ressources|Trafficsamples.pas]] dépasse les 35. Il faut donc procéder en plusieurs étapes pour résoudre les 40 grilles de Traffic! | ||
+ | * Sur les 40 grilles, 35 peuvent être résolues par ce programme. Seulement 5 grilles demandant trop de ressources au Palm doivent être calculées différemment. | ||
+ | |||
== Ressources == | == Ressources == | ||
+ | * Jeu '''Rush Hour''' conçu par [http://en.wikipedia.org/wiki/Nob_Yoshigahara Nob Yoshigahara] http://www.thinkfun.com | ||
+ | * Jeu gratuit '''Traffic!''' [[Media:Traffic.zip]] | ||
* Solution minimale du jeu Traffic! [[Media:Traffic_pas.PDB]] et [[Media:Trafficsamples_pas.PDB]] | * Solution minimale du jeu Traffic! [[Media:Traffic_pas.PDB]] et [[Media:Trafficsamples_pas.PDB]] | ||
- | * Source [[ | + | * Source [[Traffic.pas]] et [[Trafficsamples.pas]] |
+ | * Logiciel de résolution ''Rush Hour'' disponible depuis le lien http://www.theiling.de/projects/rushhour.html | ||
+ | ** Librairie de report d'erreurs [[Media:Liberror-2-1-80011.tgz.bz2]] | ||
+ | ** Logiciel de résolution de ''Rush Hour'' [[Media:Rush_hour-0.2.7-src.tar.bz2]] | ||
[[Category:Logiciel]] | [[Category:Logiciel]] | ||
[[Category:Pascal]] | [[Category:Pascal]] | ||
[[Category:Palm]] | [[Category:Palm]] |
Version actuelle
Sommaire |
Solution minimale du jeu Traffic!
But
Déterminer le nombre minimal de mouvements pour résoudre une grille du jeu Traffic!.
Introduction
Premièrement, Merci à Phillip Cheng pour l'implémentation de Traffic! et un Grand Merci posthume à Nob Yoshigahara pour sa lumineuse idée.
Traffic! est une implémentation gratuite sous Palm du jeu 'Rush Hour' conçu par Nob Yoshigahara.
Il consiste en un plateau carré de 6 unités sur lequel se trouve des blocs de 2 ou 3 unités qui peuvent se déplacer verticalement ou horizontalement.
Le but du jeu est de faire sortir un bloc de 2 unités horizontalement en déplaçant les autres blocs.
Une croquis vaut mieux qu'un long discours, donc voici une image d'une grille de Traffic! :
Le bloc rouge doit être déplacé vers la sortie.
Résultats
La méthode utilisée pour résoudre une grille de Traffic! est de disposer de trois listes.
- La première contient la liste des grilles en traitement.
- La deuxième contient la liste des grilles à traiter à la prochaine étape.
- La troisième contient la liste des grilles déjà connues.
Méthode de résolution d'une grille
Initialement (niveau 0), la première et la troisième liste contiennent la liste de Traffic! à résoudre; la deuxième liste est vide.
A chaque niveau de la résolution,
- Pour chaque grille de la première liste, l'ensemble des coups (déplacements des blocs) est calculé.
- S'il est possible de terminer une grille par le déplacement du bloc à sortir de la grille, c'est le seul coup qui est considéré pour la grille.
- Si jouer le coup pour la grille en question conduit à une grille inconnue, c'est à dire qui n'est pas dans la troisième liste, cette nouvelle grille est ajoutée à la deuxième liste et à la troisième liste des grilles connues.
- Sinon un nouveau coup est considéré, jusqu'à épuisement des coups et des grilles de la première liste.
- A la fin du niveau, la deuxième liste des grilles à traiter prend la place de la première liste des grilles en traitement et la deuxième liste redevient vide.
Définition d'une grille
Les grilles sont définies dans le fichier Trafficsamples.pas des Ressources.
Les différents blocs de la grilles sont spécifiés par les entrées du tableau de string s avec l'encodage suivant :
- Position x minimale du bloc
- Position Texte italiquey minimale du bloc
- Orientation du bloc
- v pour vertical
- h pour horizontal
- Taille du bloc (2 ou 3)
- Type de bloc
- n pour les bloc normaux
- p pour le bloc principal à sortir de la grille
Remarques
- Les images des grilles ont été crées à l'aide de la librairie graphique GD http://www.libgd.org.
- Les animations flash ont été créées à l'aide de la librairie Ming http://www.libming.org.
- Les grilles 13, 14, 16, 23 et 25 ont été calculées à l'aide du logiciel "Rush Hour" (voir Ressources) car le Palm bloque durant les calculs ! Merci à Henrik Theiling pour ce logiciel. Le calcul de n'importe quelle grille prend au maximum 20 secondes avec son logiciel !
Solutions de grilles
Niveau | Grille | Nombre de blocs | Solution | Nombre de coups | Durée des calculs (HH:MM:SS) | Nombre de grilles différentes |
---|---|---|---|---|---|---|
1 | 8 | Media:Anim1.swf
| 8 | 00:05:41 | 1067 | |
2 | 11 |
| 8 | 00:29:01 | 2753 | |
3 | 6 |
| 14 | 00:01:40 | 770 | |
4 | 7 |
| 9 | 00:00:23 | 356 | |
5 | 11 |
| 9 | 00:23:14 | 2139 | |
6 | 11 |
| 9 | 00:14:30 | 1637 | |
7 | 9 |
| 13 | 01:23:17 | 4613 | |
8 | 14 |
| 12 | 00:05:05 | 950 | |
9 | 12 |
| 12 | 00:01:47 | 681 | |
10 | 12 |
| 17 | 00:16:32 | 1847 | |
11 | 8 |
| 25 | 00:02:27 | 821 | |
12 | 8 |
| 17 | 00:04:45 | 1267 | |
13 | 13 |
| 16 | --- | (8213) | |
14 | 12 |
| 17 | --- | (9568) | |
15 | 14 |
| 23 | 00:01:21 | 521 | |
16 | 11 |
| 21 | --- | (2500) | |
17 | 12 |
| 24 | 00:28:11 | 2104 | |
18 | 9 |
| 25 | 00:11:54 | 1578 | |
19 | 8 |
| 22 | 00:00:44 | 482 | |
20 | 10 |
| 10 | 00:06:45 | 1639 | |
21 | 7 |
| 21 | 00:00:11 | 255 | |
22 | 12 |
| 26 | 01:02:04 | 3572 | |
23 | 10 |
| 29 | --- | (2354) | |
24 | 10 |
| 25 | 01:41:39 | 4336 | |
25 | 13 |
| 27 | --- | (8623) | |
26 | 12 |
| 28 | 02:14:34 | 4806 | |
27 | 10 |
| 28 | 00:30:00 | 2741 | |
28 | 12 |
| 30 | 00:17:17 | 1927 | |
29 | 12 |
| 31 | 01:54:50 | 4326 | |
30 | 10 |
| 32 | 00:05:39 | 1158 | |
31 | 11 |
| 37 | 01:18:17 | 3947 | |
32 | 11 |
| 37 | 00:01:09 | 568 | |
33 | 12 |
| 40 | 01:36:05 | 3960 | |
34 | 12 |
| 43 | 01:58:33 | 4364 | |
35 | 11 |
| 43 | 01:25:03 | 3963 | |
36 | 12 |
| 44 | 00:33:37 | 2556 | |
37 | 13 |
| 47 | 00:24:18 | 1941 | |
38 | 11 |
| 48 | 01:01:16 | 3755 | |
39 | 12 |
| 50 | 00:59:53 | 3581 | |
40 | 13 | Media:Anim40.swf
| 51 | 00:52:22 | 3024 |
Conclusions
- Le nombre minimal des mouvements nécessaires pour résoudre une grille déterminé par ce logiciel correspond à celui indiqué par le programme Traffic!.
- Dans le programme Traffic! le nombre minimal de mouvements nécessaire à résoudre une grille s'affiche qu'une fois la grille résolue. Une question se pose : Est-ce que le nombre minimal de mouvements pour résoudre la grille est calculé lors de la résolution de la grille ou est-il préalablement connu ?
- PP Compiler génère une erreur de compilation "Out of memory(1)" si le nombre de grilles spécifiées dans Trafficsamples.pas dépasse les 35. Il faut donc procéder en plusieurs étapes pour résoudre les 40 grilles de Traffic!
- Sur les 40 grilles, 35 peuvent être résolues par ce programme. Seulement 5 grilles demandant trop de ressources au Palm doivent être calculées différemment.
Ressources
- Jeu Rush Hour conçu par Nob Yoshigahara http://www.thinkfun.com
- Jeu gratuit Traffic! Media:Traffic.zip
- Solution minimale du jeu Traffic! Media:Traffic_pas.PDB et Media:Trafficsamples_pas.PDB
- Source Traffic.pas et Trafficsamples.pas
- Logiciel de résolution Rush Hour disponible depuis le lien http://www.theiling.de/projects/rushhour.html
- Librairie de report d'erreurs Media:Liberror-2-1-80011.tgz.bz2
- Logiciel de résolution de Rush Hour Media:Rush_hour-0.2.7-src.tar.bz2
Catégories: Logiciel | Pascal | Palm