From ca18bc904e8ecdca3c17775c7b428df8f0b83585 Mon Sep 17 00:00:00 2001 From: natymundo <49127475+natymundo@users.noreply.github.com> Date: Sat, 13 Apr 2019 13:22:20 +0200 Subject: [PATCH 01/13] =?UTF-8?q?Modification=20du=20fonctionnement=20g?= =?UTF-8?q?=C3=A9n=C3=A9ral?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- othello/natymundo/othello.py | 137 ++++++----------------------------- 1 file changed, 22 insertions(+), 115 deletions(-) diff --git a/othello/natymundo/othello.py b/othello/natymundo/othello.py index ab2dd8b..9bbc930 100644 --- a/othello/natymundo/othello.py +++ b/othello/natymundo/othello.py @@ -6,7 +6,6 @@ VIDE = 0 NOIR = 1 BLANC = -1 -JOUABLE = 'x' SIZE = 8 COLONNES = 'ABCDEFGH' LIGNES = [str(i+1) for i in range(SIZE)] @@ -113,124 +112,40 @@ def mise_a_jour(self): # ATTENTION: il est obligatoire de retourner au moins un pion adverse à chaque tour! - def casesJouables(self, couleur): + def casesJouables(self): """ - retourne une copie du plateau de jeu - avec le nb de jetons qui seront retournés en jouant sur la case en question - ('x' si ce nombre vaut 1 pour ne pas le confondre avec NOIR) + renvoie une liste des cases qui sont jouables par le joueur actuel """ - # remarquez bien qu'à chaque appel de casesJouables - # on réalloue un tableau de jeu complet, ça peut être une cause - # de lenteur; avez-vous envisagé que ça puisse être à l'appelant - # de passer un jeu en paramètre pour optimiser ces allocations ? - #### - # Ce tableau n'est-il pas détruit à la fin de ma fonction?? - #### - jouable = [] - for l in range(SIZE): - jouable.append([]) - for c in range(len(COLONNES)): - jouable[l].append(self.jeu[l][c]) - pos = self.isJouable(l, c, couleur) - if pos: - jouable[l][c] = len(pos) - if jouable[l][c] == 1: - jouable[l][c] = 'x' - return jouable - - def casesAdjacentes(self, ligne, colonne, couleur): - """ renvoie les couleurs des cases adjacentes """ - couleurs = [] - for (a, b) in DIRECTIONS: - if a == b or a == -b: - pass - else: - if 0 <= ligne+a < SIZE and 0 <= colonne+b < len(COLONNES): - couleurs.append(self.jeu[ligne+a][colonne+b]) - return couleurs - - def retournera(self, ligne, colonne, couleur): - """ renvoie un tableau des jetons à retourner """ - t = [] - for (a, b) in DIRECTIONS: - if a == b == 0: - pass - else: - A = a - B = b - tmp = [] - while 0 <= ligne+A < SIZE and 0 <= colonne+B < SIZE: - if self.jeu[ligne+A][colonne+B] == VIDE: - A = SIZE - B = SIZE - pass - elif self.jeu[ligne+A][colonne+B] == couleur: - if (A, B) in DIRECTIONS: # 1er passage - A = SIZE - B = SIZE - pass - else: - for (l, c) in tmp: - t.append((l, c)) - break - else: - tmp.append((ligne+A, colonne+B)) - A += a - B += b - return t - - def isJouable(self, ligne, colonne, couleur): - """ - renvoie un tableau des cases qui seront retournées ou VIDE si le tableau est vide - """ - pos = VIDE - if self.jeu[ligne][colonne] not in (NOIR, BLANC): - if self.adversaire(couleur) in self.casesAdjacentes(ligne, colonne, couleur): - pos = self.retournera(ligne, colonne, couleur) - if not pos: - pos = VIDE - return pos - - def meilleurCoup(self, couleur): + liste = [] + for case in self.dico_de_cases.keys(): + for tranche in self.dico_de_case[case].values(): + if tranche[0]: + liste.append(case) + break + self.log += f'casesJouables: {liste}' + return liste + + def meilleurCoup(self): """ renvoie le couple (ligne, colonne) correspondant à la case qui retourne le plus de jetons """ - possibilities = self.casesJouables(couleur) - maxSize = 0 - for l in range(SIZE): - for c in range(len(COLONNES)): - n = possibilities[l][c] - if not n in (VIDE, NOIR, BLANC): - if n == 'x': - n = 1 - if n > maxSize: - meilleureCase = (l, c) - maxSize = n - return meilleureCase + pass def score(self): """ renvoie le score (NOIR, BLANC) """ totN = 0 totB = 0 - for l in range(SIZE): - for c in range(len(COLONNES)): - if self.jeu[l][c] == NOIR: - totN += 1 - elif self.jeu[l][c] == BLANC: - totB += 1 + for i in self.jeu: + if i == NOIR: + totN += 1 + elif i == BLANC: + totB += 1 return (totN, totB) - def jouer(self, ligne, colonne, casesARetourner): + def jouer(self, ligne, colonne): """ ajoute le jeton de couleur sur la case, retourne les pions à retourner - efface les autres cases jouables + mets à jour le dictionnaire des tranches de jeu """ - self.jeu[ligne][colonne] = self.joueur - for (l, c) in casesARetourner: - self.jeu[l][c] = -self.jeu[l][c] - for l in range(SIZE): - for c in range(len(COLONNES)): - if self.jeu[l][c] not in (VIDE, NOIR, BLANC): - self.jeu[l][c] = VIDE self.next() def toString(self, case): @@ -240,19 +155,11 @@ def toString(self, case): def playAI(self): """ Détermine la case que jouera l'AI """ - case = self.meilleurCoup(self.joueur) - pos = self.isJouable(case[0], case[1], self.joueur) - self.jouer(case[0], case[1], pos) - return self.toString(case) + pass def playJoueur(self, ligne, colonne): """ Verifie la jouablilité de la case """ - pos = self.isJouable(ligne, colonne, self.joueur) - if pos: - self.jouer(ligne, colonne, pos) - return self.toString((ligne, colonne)) - else: - return False + pass oth = Othello() with open('test.txt', 'w') as f: From 1eafa7564482b2ace3d72d06488dbeaa105d2689 Mon Sep 17 00:00:00 2001 From: natymundo <49127475+natymundo@users.noreply.github.com> Date: Sat, 13 Apr 2019 15:46:54 +0200 Subject: [PATCH 02/13] =?UTF-8?q?Jouabilit=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modifications de game.py pour coller avec les modifications de othello.py Ajout d'une fin de jeu (à ameliorer) ça n'a pas l'air d'aller plus vite, peut-être à cause du log. --- .../natymundo/__pycache__/game.cpython-37.pyc | Bin 0 -> 8302 bytes .../__pycache__/othello.cpython-37.pyc | Bin 0 -> 7256 bytes othello/natymundo/game.py | 18 +- othello/natymundo/othello.py | 88 +- othello/natymundo/test.txt | 30863 +++++++++++++++- othello/natymundo/test2.txt | 8 - othello/natymundo/tranche.py | 6 + 7 files changed, 30880 insertions(+), 103 deletions(-) create mode 100644 othello/natymundo/__pycache__/game.cpython-37.pyc create mode 100644 othello/natymundo/__pycache__/othello.cpython-37.pyc delete mode 100644 othello/natymundo/test2.txt create mode 100644 othello/natymundo/tranche.py diff --git a/othello/natymundo/__pycache__/game.cpython-37.pyc b/othello/natymundo/__pycache__/game.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..01c38bcc55d587c165601599f6804163ee107747 GIT binary patch literal 8302 zcmb_h+ix3Jex5riQWr{=Wyy9DZZ=LrH0$oBmn|G`*0$_8a=kQaZ|!!VmOJ7Z$)u>E zd}e4{1dSH(_N`hJMc=joz7^*d*-&COK|{Qm1#|GfF&f?@oMFXNws!WBI6Um{V4GJA$^N^be~O+#7A{;8qt z(0OkAZs5{Y38zlnu=cyXOYi6H~o24@)s~pSP0ILIGxZL_Ua$Y;OQT_>P8{~OQ+qc&&}<^fS2x!$ZT@i_>Ui^J zs1rR<;pX*zd$1Qq2}qsf^TF2UcCVl8A0!X^(Plq+$N@K_AUW6@M5@2J6YPZ-_Ycx) ztF_mO<4&~GYL&SRS(`ar9xwLdM1v-G(P~BL+iIm1)btg$gz{{w^=J_EvKq~Sju)Gi zN~Cdc7G##PDeu00H&niRQ-@*XyAK|AlJFI|IK^KZge&a$*GP`}3;8+QmdM}qUF9ej z{PvWmO2|u@JpFPeMSn)ksyWarYF;fMud13_L_VvQ)G6e1YFV8|KCf2P8RQFURjnbf zsk7=F@BT{qM(tn#+BeRPgt{RDR&UkJxKEu899o5e+)j9$cIONKXSAtS7dDCg$d3XM>8XbCDfvia=l2kU~ZUU>21#o;IGVg0z` zaX-;vJ?Rg0<-^C}pwsJx!+N{dc{B)hJs#+KFRX9%2T4DwU)^XlW;GR8pGK0}ohV7o zr>QgS_xDosz_0B0f`eO`kg8#%TK(-7tuUQYI(U+B0qJ}kCaqqu74}+Ore99__Yw`` zOsjig90xmLYpegX;fhRCH+&3x_uXD+CklNCx7UxNFm>4Vgosm@>Y?jcS$r0W0UQ#dPpCYdPk5Jj03zU7EM)ocN>NQm;kgJ_;fgk$BaB+-{2`tQW>Jb7YDnKZXQs zN)ow~=kAm&J=nuoRwV^3$hF^YYU<)(jq{0!ULMsS_XlxZg_KmNA*V)pg4G^5dv!y< zg&t`&>JJ`=!Jq}B&~JmH-(gZm(y%gHc$b92mujkV>O|qw7gEjVW zMwr4j1y9Hu50CKVJPOz;9C!k*9Dx&S#?Or}j(24>hu1cGP_2V{P~Y!myAf5ymMHsA zD$pgYxlX0rhQ)oWQn`^(!Jc#=RbB7Im+G+QI%Z1Cxgp1CX(!l;f+%U2+1{qNB`o;? zdW_wAP4+RNeT7kTD>Q7`PJ}{Y9GMWP1@~o*5X%nDXZFbM+DA?%ERq;YAl}A<=5%$o2=8jy{SLml%ud0lygApdJ)F*!X{r&nN3hUcp z^zs)p#Nct*CP#8xs6#QfgAOWS#8CNgs&|;6^VmB3yY)wdPF=nH62YpyEIVkJsgpnrUQzt0v~~YU>cR8|dy#M5*@cdM2Q_rHdwW5o zUeR>m&-Fa1){l4f0t(qgZqi9$^v;g%sMNhpvroNig9Pp*Eh*@M?jJO~%+^c!p8d)m zT|i6s`>=c|`<2XNa9RFL=8jtZ-4hxvigN{XXA16?%~|~C<-cSOGsT#2GKHRV14TUB z#*5fGRD-tNwWuUgvWt=fI&Iyn!X7AKmhqIj-ma~;SYot;ub@X4FMtw!Hd>U#4_HtL zd-yx`buclE+M%d{7&bgGq^*hg{aRUX*R0q>D-%Ufv+_VfPaAM zbTO-o+kG9jBuy9c=J256fi=BBHX^-x=5*d;NxTaE%QtuxeF61NJQ>fe3Y<#CTn5jX z=RBYAR|U^$hy+nn{#MMi+NSl)f(WAw;GLIIg=6YJq;Yj~+(9`GG{R1R<1oPd8o!)ksn!VKAP3?9^pHy1< zu0O>SlN$yYNNkdOW3HfZU)0jV8~-j|z!`C1a82Zp(RCP^4vDs;4h{&%20}*V9XfgJ zDK+5)Xuq#GmTdQx%@X(AaP)7pOiY)SVE6HU5T%vO_E`oOF0%oZOYB|$K1-sHzlYLT zQ#irNjZ&R{f+yz02DAezP5uHQ)AYqzg9*WbKQ{UKWK z;u-U0R``+!-Kk|3!dOA`u`uZShz5?4y{$h%z351~lpDu{AA0jL(uHF!5LrcB61_52 zWw?AoQKZS#;uy+=hnpzyK!OEY2|#++B~Vdx#oh~+GHR)y!charloFWG(F|dYvJX*i z(Op-%0NFGk#Bn>{V!8R1`Gc>_5tKjzp|!p9NebLCPfKqFB`%HB2|z2v6oYfa5-*Nu3c+z0UT+kI?)IX8jXhp8i8(Bxcuo zPOtlS&#b3E!@CWN^V}5LNW8F%2$y-`QsISJ%Diw!qZdX=AQL<=80dBZio|38+Fl7F z<;YrthhL)*T=;PJQT>7OX!ZehtRgz*LETG(fP0w0QT6KpG#vmbpdLAA2$BZWR6!II zPql;SaS(qr)d%ot4-X&~0ID2xM5~H6$FV@ai}?@=>?GKM`hJQxMqXD3(N36~+r16{ zMr!xM2)7`2Zr^D(Z`{*AM8mX}%R-0k1nqla79_5qP9lZAgVGoTxw3kFm6g|!_%^y} z>h(!?%E0^-PfW!!+!}(eXMPvYb#pi`I#3+C3OkuW%Q7CZlN9DWZ70tWJ|IAE8G*K2 z8kZSF4k5}`8Lek%RkR4^UEo`(siJ09YH%YV0cdVaN#;RcSTn{s(J{uV6=TuL7FAWK zO9hpqoyw`prPpS82P@||rdrLxX+7(EOgZ|NnA0Mq zt;} zBDj~&FfsPGWo!cG@z|b>jY}d@u-5U&)+noi6Opkkj6D>0@E+P;=w2Y0X0N07)mh{p z@B&IMM9wuc80S9WeOtp$UECMpPRV;1c6J^nskOC}mi`DQCEPaA$`qWoz?Qo(5Y2P) zaN)jOj^v0MXVVNh<$hoPxwL8WFn)~L$CVtwcRmMz8({6u!(y0?z z{S}^=Ts5p!b451y9qO`XY|z97y2^wYGJ_^^KIATi+j8F`Cv6d!2q-%#9^+3zFN|s#L=ld0 zXA`>>yi_7>4hfASX0x(cE0-6`vt_$HU#^x*Wfvv>ow8S+leSdn;%B3D1y6h($^ZG% zoS#1C)2diBuGembgRi;s=IINr`?Wi7I3V2eO2Fiu08e5Fl!TqRQ*xU6C+M3Uwk-Wy zEPsTgQOfY)0tv?la%!)f^EKHABNi=_(-v7a!B1f&JN_%4iA!!dOfFCC==iRiXD9xc z0}8x;%sNK&`Hcf@`)km<8${8d_it!0K1M7~PAatp4Eg_=5y$P0`uDG!QEJ~j<1G46 zdXSDa{u*IVC_GvFHQOvD{Z`cP=>M3Q_SED?^ZMU-VuAkOFfp#lTU)&#YX9fN%u{k5 zHz=m2Obf7g7Cg`P4ESbF9E+?kaKR~%%>zU#W%t|iO=5M4}H?lL}e;aXKy za%eRR%8Vi$Jxz!x0AK;M*%P!y(B{x`hM&W7pms`Vv!LWO(STZWcy9e+zZ2s_A-;cP zA4SG-zw+U*g4?(3o~|(l0d98qD?bi&N4{*hP&r)P7x2L^U8PNgdI}Ph?o(|;eSElh zEjCXP=zJzF;iFKQ0i?&$^8Hy*l^w!-;!4E2CCEFl3Q8L z1EpVSgBMRl)3s=3OlmcwiW+9YexH*+VqHn>4ciizMMQyJ(_8rt*?7`Z(VhJ_p7=c^ z2ENIhM}(V26vL;8JY8X=vzKtJ;eU8`(#lQ*uj;P}Ud1wHcbc0KhdQyU<9O6Z?Z4oO z=_U}5N_hmrH8=>3Q)wyL#fL9!l?N}slz({6Pl2k_PUM?!hHm6+FC4s$#+p%GhfE$Y x5fHV_k{~H@{&RfgOmA9TTE3ipkN%V{G+sr5?>BDE#n(*!ZRU=>^cTka{|hGV?#KWD literal 0 HcmV?d00001 diff --git a/othello/natymundo/__pycache__/othello.cpython-37.pyc b/othello/natymundo/__pycache__/othello.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4639700cb281fc29b64d897a8b6ad99b683d2374 GIT binary patch literal 7256 zcmai3&2QYs73c74snzNuvizka4&%6v*H9EY4V+Yw-P)4vD0S9}?byLa#)96VWXdaY zcSt6y1s7;5_m~DvdMMBal`k!vL(v|3FX~&-Lk~T)yc9)G{ug{{e{ZzxUp6Mi<7$iVA)|`_CU&CZAK3|I$PMr{U%YxWWnwu5i{+s*EdDm8(^aYgL`= zRf8K%7VfIn`3s9n7cX6YyG}3Yr{XejE#e9fp;%KA<@RKkMM?r;4r02Wt1TTvGC_UI zEY-qDl+{$7JC!o;p(1GHC+{rIuY3@?B3!xbib%xVU0Dk1@rLV1X!4@B<2x&>jUZ}n zMt1{$C5Z02jYhEIJJIGw?DL@CGS}REQe0?wVN?$`n&(DIESlF;1Zgsto0ON!eFP78 zN$vw($h@T7E_Ky}CF-jBxz;LW(w8+s-w0Z`T#1w$ttJ{$=A`V7Y{`ldG(H(w2;EGK z5+3_vjN$%kgVoWP|7e~c;0ixS;r5NnVAPkm#`XIQrZu>EUx9fG+(K>g5ne=H$P5Vs zkMVIlkMIdTiMq(2;Zvwb`9404y2SVM1E|ONL4FAJI6us1P*3n@`E#fz`Sbh;>Sy>1 z+(tdcU*tzo@8c>gc`Pkl&Ga9?2nmaJ?{~$u*WK9WvAyx=s}0xogAMtvQYQ=0k7^y) zA}+Z)&Jv{tq=+f#Td6VsW~8obkscY5xy4phJQcY5sY>r6E3#BrX`ONHu)_6)>|V#c zwxC2K(a6wSw8)iBNU_2Om9&s(lb}sqFKihWqbUA!r(+$U7^x3uUx%6Zx?}8 zgGZZ9_c2-IF$ul{KV(t-DXZ^>RdIp3NO(U_vuE(`9P8O+u2%DWFRIn% z78*g_X@uwI1|O6sFki5iYA{r)`pv4*aYYcO`t{}NMX?XViD?w6?)lN1sb0Cdd@VID zTsdD^OwIKmc4Hy-Q>Q8FGzK|>8h2}TCv?Mfbi)hXno~nR@^3wK8>?c5dXt9_{35mb z64F#54W%%X>C94R*b)4h>=5fr?p{u=dh);=L2AT+GGzT0k!bL2tNgu2q19jqBKa)$-`-RJTTF-@wk2cF-XCp8-0 zn(ywKNxY2lhvzu@?Q>wj6C^X)4r_Ud?su86P^(D^ZM>7xE37lIYvkPPNoy1k7pe0s z3YieKw6)t8T+*5@|T5+=3szuUu0;%>0qe_(`hA(dwI6vE};pfP4O0Sxfbx z3D+?`5nkkG8rP(-slMtp+?1{El3KiqxoI^a!AD_}tTWb^Sq_p*OeV`EZsK80fhSW& z>q~v6tF`A64L*LntGDe$-)3BYKt4a!HLxD|eS&oRfB{S=Zz-*rTSM!L^mX(>X>#LJ zwQDBkb^+0CBq~zOli)S6Y9UBju)r&*#PRHYf~rw5hblF~X2Xk8(`iBxJk{W|;#v8^ z5yIIN6dtMt;f8merYpc7l!1$v3z=b0QR^8hPNPWmh6fBu$nNF3x^Nv%kP639C~(?I zR>WnKGE04BQm5Q+$X&_#r1j}5#ARg^Wi7L>^cNfLPl1{aKZ!`nKF;!K=tXWanu4a1 z(@f^0=(UDZAwF4;QORB zo4X+zge#kH>)H*+ro>>^13&cmqle zmako0ys><>ay`pkJH1A{4uz!qbJ3CRgd0IjIE|n%+jFZ_r=<&`pMuC=TIek;W#?0N z;cMv22Moy-LrRQ_F%G9v)kAEConh0=VkOqe@i_P($0K2pfG<7ZpSa$emiyOExhlG=%XBuMb< zG-4@X7;)@Nc*Gmn~)*5 zXGG^t12FExF4wWmfpVaCHXj94w<+8W&lNqSXG7HkfoR(dd`^DScL3q8IRXyg&f0Ed z0~QWux9^1CFCywkK zjKuUP@RpbtRj=org@A#43c-d{c8%=U*7ZSpcask2<;EJ=-mCN(_ z*N{7mo6R7kuUl~5A?Jf5Xa43i0ukDQZ#%JYyvY9OhKQxSBs1iDibtl(4e6ARDW+HC zW~*a*K6l$^JG%YqtM;Xi>YbI_vCe2N=e#YxgZ^bh*r-xNevlDWojhI~&fdy2Fp__k zYEe597x8W{q9)Gb#oM?fWmHB$QrQ&f=_G3Uo5bHVE2`rvJ1V$N}G& z0_0WzfbgWxz)L8E*Y7$65t$9XIdA0i#KaVe?_x*MpRPCv)R#I|1V5i6%Tb6$;Fi{v z5jfS6V!|wVU&2dqfePYFlK++UjQ5;FL(1++*0U=di=%kAiYuH%q39HcXIM#{rjm8` z^-Vmq-`Qcjnz#Lio94U93Npqg+s_m2XoKWb^Onit;K*T^COV~C-Fs1DGl-4nr zY7&W>f}Yy>FxQTaA3S%DKsL~S7{D`;4SO-oktsXNjeVz-eGCp8PjPy!RnC{j~q z$X&h>B_8Z|rHWQor+J5I28}X+q*U3L=?Kn{gORhuNm& zvxS(av(9wic*CFOwj0-Duomzx@egagKD=v6^oWS@DGF?`5Npk#MMcXD z5+nhhhjtITTsd&a#!wYmof(qQREhePWQwM)L=;0uj)|{Rb+WV z&_;f*z>mEZ4gLjQXD1XYDWwFZkYXtC5B83-XHLV&E9j_EYT<9VNmy?~KuCj5GMWvv zsXeqQ?O#ar4g&X2@P!VtZcwNfuc7V{H{cnB9oWvs0)59gg~UKip0))h<_F$E_Y2cFpGB?V8J?3pBSGAU)?bs`g94q3!2>OMI%dEEBk^x( zeH4KDKLQJW`2?3`n8?sl!bEos!txfoxCMd`APVDUS^083W{NBh07+ z9b!q|kwNZz^hj9*iHWAjf~LgUK|H1!*g@u#Pa__wL7`gw2EDW0fJyY?5Rf;;j^a9n zy8!}a-yDJDgSj6b$3u2`Bu@j)E6bO0 zHYrbqhV!SO#bhqDD;HQ%a6J+@ruhSUgcQ&fI1iF%eyrE;kVg*QI)!KzCaeHX--i++61 z7@1;jy24w<76_gRWq==0;(GM3x08_$(>Xb$n0MsC?^Bg?Nqh(aD}D9I)U~I2M1>T! z3n@ifc{anJ@j9biJtaxXpqfM5-a%(NXPu^_WZ&6vYqhjkt8D}vXFIqr)oR%JG^~UttJQ+g3jtC5fp?mAwBgix|1}K=)QE^ECWkZzfW!Xf<%=bKcZr=5_v~_UJz}a zz$Nz!mZq!4lBHR?HG)#JrmQ2@gjGUavYxRFYgG0xk5&yN>E@<9yc3sboIGh|$9Cj~ jaxWup(%k|TG}T@*q}D>FiF1S^sZa<4%w>O5Y+U<4*U(xW literal 0 HcmV?d00001 diff --git a/othello/natymundo/game.py b/othello/natymundo/game.py index 09d17db..9f348fe 100644 --- a/othello/natymundo/game.py +++ b/othello/natymundo/game.py @@ -33,8 +33,10 @@ def jouer(self, event): # activé par un clic sur la surface de jeu if self.jeu.joueur == self.joueur: ligne = int((event.x - zoom)/zoom) colonne = int((event.y - zoom)/zoom) - case = self.jeu.playJoueur(ligne, colonne) - if case: + case = self.jeu.playJoueur((ligne, colonne)) + if case == 'EOG': + self.end_of_game() + elif case: self.drawtable(self.jeu.jeu) self.set_label_case(case) else: @@ -47,11 +49,17 @@ def jouer(self, event): # activé par un clic sur la surface de jeu def next(self): # activé par le bouton 'AI' if self.jeu.joueur == -self.joueur: case = self.jeu.playAI() + if case == 'EOG': + self.end_of_game() + self.nouveau_jeu() self.drawtable(self.jeu.jeu) self.set_label_case(case) else: # évitez les backslashes quand c'est possible self.message_box("C'est à vous de jouer...") + + def end_of_game(self): + self.message_box(f"Il n'y a plus de case jouable;\nle jeu est fini!\n\nEt le winner is: {couleurs[self.gagnant()]}") def message_box(self, message): """ @@ -80,8 +88,10 @@ def nouveau_jeu(self): # activé par le bouton 'Changer de couleur' def help(self): """ Fait apparaître les cases jouables """ - hilfe = self.jeu.casesJouables(self.jeu.joueur) - self.drawtable(hilfe) + hilfe = self.jeu.casesJouables() + for (l,k) in hilfe: + cir = self.C.create_oval( + (l+1)*zoom, (k+1)*zoom, (l+2)*zoom, (k+2)*zoom, fill=couleurs['help']) def set_label_case(self, text): self.label_case_case.destroy() diff --git a/othello/natymundo/othello.py b/othello/natymundo/othello.py index 9bbc930..6efa864 100644 --- a/othello/natymundo/othello.py +++ b/othello/natymundo/othello.py @@ -67,6 +67,7 @@ def directions(self, case): A += a B += b self.dico_de_cases[case][(a, b)] = self.direction_a_retourner(tranche) + def direction_a_retourner(self, direction): """ @@ -91,7 +92,6 @@ def direction_a_retourner(self, direction): direction[0] = False else: direction[i] = -1 - txt += f'direction[{i}]=-1 // ' else: direction[0] = False if direction[0]: @@ -103,50 +103,75 @@ def mise_a_jour(self): """ Met à jour le dictionnaire des cases qui donne pour chaque case le dictionnaire des directions """ + self.log += '\nMise à jour\n' for case in self.dico_de_cases.keys(): - self.directions(case) - # for (k, v) in self.dico_de_cases[case].items(): - # self.log += f'{case}: {k}={v}\n' - # self.log += '-'*10 + '\n' - + if self.jeu[case[0]][case[1]]==VIDE: + self.directions(case) + else: + for k in self.dico_de_cases[case].keys(): + self.dico_de_cases[case][k]=[False,1] + with open('test.txt', 'a') as f: + f.write(self.log) - # ATTENTION: il est obligatoire de retourner au moins un pion adverse à chaque tour! def casesJouables(self): """ renvoie une liste des cases qui sont jouables par le joueur actuel """ liste = [] for case in self.dico_de_cases.keys(): - for tranche in self.dico_de_case[case].values(): + for tranche in self.dico_de_cases[case].values(): if tranche[0]: liste.append(case) break - self.log += f'casesJouables: {liste}' return liste def meilleurCoup(self): - """ renvoie le couple (ligne, colonne) correspondant à la case qui retourne le plus de jetons """ - pass + """ renvoie la case de la liste des possibilities qui retourne le plus de jetons """ + possibilities = self.casesJouables() + if possibilities: + best = 0 + meilleureCase = possibilities[0] # -> Changer 0 par un random! + for case in possibilities: + num = 0 + for tranche in self.dico_de_cases[case].values(): + num += tranche.count(-1) + #self.log += f'{case}: num = {num}\n' + if num > best: + best = num + meilleureCase = case + self.log += f'meilleureCase= {meilleureCase}\n' + else: meilleureCase = None + return meilleureCase def score(self): """ renvoie le score (NOIR, BLANC) """ totN = 0 totB = 0 - for i in self.jeu: - if i == NOIR: - totN += 1 - elif i == BLANC: - totB += 1 + for l in self.jeu: + for i in l: + if i == NOIR: + totN += 1 + elif i == BLANC: + totB += 1 return (totN, totB) - def jouer(self, ligne, colonne): + def jouer(self, case): """ ajoute le jeton de couleur sur la case, retourne les pions à retourner mets à jour le dictionnaire des tranches de jeu """ + (l, c) = case + self.log += f'case jouée: {(l, c)}\n' + for (dir, tranche) in self.dico_de_cases[case].items(): + if tranche[0]: + index = tranche[1:].index(1) + self.log += f'index des jetons à retourner dans {dir}:{tranche} = {index}\n' + for i in range(index+1): + self.jeu[l+dir[0]*i][c+dir[1]*i] = self.joueur self.next() + self.mise_a_jour() def toString(self, case): c = COLONNES[case[0]] @@ -155,13 +180,30 @@ def toString(self, case): def playAI(self): """ Détermine la case que jouera l'AI """ - pass + self.log += '\n' + '*'*10 + 'AI is playing...' + '*'*10 + '\n' + case = self.meilleurCoup() + if case: + self.jouer(case) + t = self.toString(case) + else: + t = 'EOG' + return t - def playJoueur(self, ligne, colonne): + def playJoueur(self, case): """ Verifie la jouablilité de la case """ - pass + self.log += '\n' + '*'*10 + 'Joueur is playing...' + '*'*10 + '\n' + possibilities = self.casesJouables() + if possibilities: + if case in possibilities: + self.jouer(case) + return self.toString(case) + else: + return False + else: return 'EOG' -oth = Othello() -with open('test.txt', 'w') as f: - f.write(oth.log) +# oth = Othello() +# oth.playAI() +# oth.playJoueur((4,2)) + # with open('test.txt', 'w') as f: + # f.write(oth.log) diff --git a/othello/natymundo/test.txt b/othello/natymundo/test.txt index 730458b..b0d5681 100644 --- a/othello/natymundo/test.txt +++ b/othello/natymundo/test.txt @@ -1,69 +1,30796 @@ LOG: ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- -index=2 // i=1 // direction[1]=-1 // direction: [True, -1, 1, 0, 0, 0] ----------- ----------- ----------- ----------- ----------- ----------- ----------- -index=2 // i=1 // direction[1]=-1 // direction: [True, -1, 1, 0, 0, 0] ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- -index=2 // i=1 // direction[1]=-1 // direction: [True, -1, 1, 0, 0, 0] ----------- ----------- ----------- ----------- ----------- ----------- ----------- -index=2 // i=1 // direction[1]=-1 // direction: [True, -1, 1, 0, 0, 0] ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 0) +case jouée: (7, 0) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 0) +case jouée: (7, 0) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (1, 6) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 0) +case jouée: (7, 0) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (1, 6) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (6, 6) +case jouée: (6, 6) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 0) +case jouée: (7, 0) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (1, 6) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (6, 6) +case jouée: (6, 6) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (0, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 0) +case jouée: (7, 0) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (1, 6) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (6, 6) +case jouée: (6, 6) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (0, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] + +**********AI is playing...********** +meilleureCase= (5, 3) +case jouée: (5, 3) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 0) +case jouée: (7, 0) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (1, 6) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (6, 6) +case jouée: (6, 6) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (0, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] + +**********AI is playing...********** +meilleureCase= (5, 3) +case jouée: (5, 3) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] + +**********Joueur is playing...********** +case jouée: (5, 7) +index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 +index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 0) +case jouée: (7, 0) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (1, 6) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (6, 6) +case jouée: (6, 6) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (0, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] + +**********AI is playing...********** +meilleureCase= (5, 3) +case jouée: (5, 3) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] + +**********Joueur is playing...********** +case jouée: (5, 7) +index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 +index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (1, 7) +case jouée: (1, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 0) +case jouée: (7, 0) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (1, 6) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (6, 6) +case jouée: (6, 6) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (0, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] + +**********AI is playing...********** +meilleureCase= (5, 3) +case jouée: (5, 3) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] + +**********Joueur is playing...********** +case jouée: (5, 7) +index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 +index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (1, 7) +case jouée: (1, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 1, -1, 1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 0) +case jouée: (7, 0) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (1, 6) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (6, 6) +case jouée: (6, 6) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (0, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] + +**********AI is playing...********** +meilleureCase= (5, 3) +case jouée: (5, 3) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] + +**********Joueur is playing...********** +case jouée: (5, 7) +index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 +index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (1, 7) +case jouée: (1, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 1, -1, 1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 7) +case jouée: (7, 7) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1, -1, -1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 0) +case jouée: (7, 0) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (1, 6) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (6, 6) +case jouée: (6, 6) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (0, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] + +**********AI is playing...********** +meilleureCase= (5, 3) +case jouée: (5, 3) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] + +**********Joueur is playing...********** +case jouée: (5, 7) +index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 +index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (1, 7) +case jouée: (1, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 1, -1, 1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 7) +case jouée: (7, 7) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1, -1, -1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 7) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 0) +case jouée: (7, 0) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (1, 6) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (6, 6) +case jouée: (6, 6) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (0, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] + +**********AI is playing...********** +meilleureCase= (5, 3) +case jouée: (5, 3) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] + +**********Joueur is playing...********** +case jouée: (5, 7) +index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 +index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (1, 7) +case jouée: (1, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 1, -1, 1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 7) +case jouée: (7, 7) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1, -1, -1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 7) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 1) +case jouée: (7, 1) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 0) +case jouée: (7, 0) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (1, 6) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (6, 6) +case jouée: (6, 6) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (0, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] + +**********AI is playing...********** +meilleureCase= (5, 3) +case jouée: (5, 3) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] + +**********Joueur is playing...********** +case jouée: (5, 7) +index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 +index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (1, 7) +case jouée: (1, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 1, -1, 1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 7) +case jouée: (7, 7) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1, -1, -1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 7) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 1) +case jouée: (7, 1) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 3) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 0) +case jouée: (7, 0) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (1, 6) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (6, 6) +case jouée: (6, 6) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (0, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] + +**********AI is playing...********** +meilleureCase= (5, 3) +case jouée: (5, 3) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] + +**********Joueur is playing...********** +case jouée: (5, 7) +index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 +index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (1, 7) +case jouée: (1, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 1, -1, 1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 7) +case jouée: (7, 7) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1, -1, -1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 7) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 1) +case jouée: (7, 1) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 3) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 2) +case jouée: (7, 2) +index des jetons à retourner dans (-1, 1):[True, -1, -1, -1, 1, 1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 0) +case jouée: (7, 0) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (1, 6) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (6, 6) +case jouée: (6, 6) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (0, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] + +**********AI is playing...********** +meilleureCase= (5, 3) +case jouée: (5, 3) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] + +**********Joueur is playing...********** +case jouée: (5, 7) +index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 +index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (1, 7) +case jouée: (1, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 1, -1, 1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 7) +case jouée: (7, 7) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1, -1, -1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 7) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 1) +case jouée: (7, 1) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 3) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 2) +case jouée: (7, 2) +index des jetons à retourner dans (-1, 1):[True, -1, -1, -1, 1, 1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 3) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, -1, -1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +LOG: + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (3, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (2, 2) +case jouée: (2, 2) +index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (1, 1) +case jouée: (1, 1) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 0) +case jouée: (0, 0) +index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (2, 3) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 2) +case jouée: (0, 2) +index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] + +**********AI is playing...********** +meilleureCase= (5, 5) +case jouée: (5, 5) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (1, 3) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (2, 4) +case jouée: (2, 4) +index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (0, 3) +index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 4) +case jouée: (0, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 4) +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] + +**********AI is playing...********** +meilleureCase= (0, 1) +case jouée: (0, 1) +index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (5, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (0, 5) +case jouée: (0, 5) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (1, 5) +index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] + +**********AI is playing...********** +meilleureCase= (6, 4) +case jouée: (6, 4) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 5) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (0, 6) +case jouée: (0, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (3, 5) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (4, 2) +case jouée: (4, 2) +index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (3, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 1) +case jouée: (4, 1) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 0) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (5, 1) +case jouée: (5, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** + +**********Joueur is playing...********** +case jouée: (5, 2) +index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********AI is playing...********** +meilleureCase= (5, 0) +case jouée: (5, 0) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (4, 6) +case jouée: (4, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 +index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (4, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] + +**********AI is playing...********** +meilleureCase= (2, 0) +case jouée: (2, 0) +index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 5) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 +index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 7) +case jouée: (3, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 4) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (3, 6) +case jouée: (3, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 7) +index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] + +**********AI is playing...********** +meilleureCase= (2, 1) +case jouée: (2, 1) +index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (5, 6) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 5) +case jouée: (7, 5) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] + +**********Joueur is playing...********** +case jouée: (7, 6) +index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (3, 0) +case jouée: (3, 0) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (2, 6) +index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 0) +case jouée: (7, 0) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (1, 6) +index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (6, 6) +case jouée: (6, 6) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (0, 7) +index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 0] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] + +**********AI is playing...********** +meilleureCase= (5, 3) +case jouée: (5, 3) +index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 +index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 + +Mise à jour +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] + +**********Joueur is playing...********** +case jouée: (5, 7) +index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 +index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 + +Mise à jour +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (1, 7) +case jouée: (1, 7) +index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 1) +index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 1, -1, 1] = 2 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 7) +case jouée: (7, 7) +index des jetons à retourner dans (-1, -1):[True, -1, 1, -1, -1, -1, -1, -1] = 1 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 1, -1] + +**********Joueur is playing...********** +case jouée: (6, 7) +index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1, -1] = 2 +index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0, 1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=2 // i=1 // direction: [True, -1, 1] +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] + +**********AI is playing...********** +meilleureCase= (7, 1) +case jouée: (7, 1) +index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 + +Mise à jour +index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (6, 3) +index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, 1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, 1] +index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (7, 2) +case jouée: (7, 2) +index des jetons à retourner dans (-1, 1):[True, -1, -1, -1, 1, 1] = 3 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1] +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] + +**********Joueur is playing...********** +case jouée: (7, 3) +index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, -1, -1, -1, -1] = 1 + +Mise à jour +index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] +index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] + +**********AI is playing...********** +meilleureCase= (6, 2) +case jouée: (6, 2) +index des jetons à retourner dans (-1, 1):[True, -1, 1, 1, -1, -1] = 1 +index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 + +Mise à jour diff --git a/othello/natymundo/test2.txt b/othello/natymundo/test2.txt deleted file mode 100644 index 8f4d0da..0000000 --- a/othello/natymundo/test2.txt +++ /dev/null @@ -1,8 +0,0 @@ -0;0;0;0;0;0;0;0 -0;0;0;0;0;0;0;0 -0;0;0;0;0;0;0;0 -0;0;0;-1;1;0;0;0 -0;0;0;1;-1;0;0;0 -0;0;0;0;0;0;0;0 -0;0;0;0;0;0;0;0 -0;0;0;0;0;0;0;0 \ No newline at end of file diff --git a/othello/natymundo/tranche.py b/othello/natymundo/tranche.py new file mode 100644 index 0000000..dd55399 --- /dev/null +++ b/othello/natymundo/tranche.py @@ -0,0 +1,6 @@ +class Tranche(): + def __init__(self): + pass + + def get_tranche(self): + return self \ No newline at end of file From eb36212f65657a1f7abe5d68e77a3753f1fe9841 Mon Sep 17 00:00:00 2001 From: natymundo <49127475+natymundo@users.noreply.github.com> Date: Sat, 13 Apr 2019 22:23:38 +0200 Subject: [PATCH 03/13] Gros nettoyage --- .../natymundo/__pycache__/game.cpython-37.pyc | Bin 8302 -> 9343 bytes .../__pycache__/othello.cpython-37.pyc | Bin 7256 -> 6342 bytes .../__pycache__/tranche.cpython-37.pyc | Bin 0 -> 1762 bytes othello/natymundo/game.py | 116 +- othello/natymundo/main.py | 1 + othello/natymundo/othello.py | 161 +- othello/natymundo/test.txt | 30796 ---------------- othello/natymundo/tranche.py | 55 +- 8 files changed, 185 insertions(+), 30944 deletions(-) create mode 100644 othello/natymundo/__pycache__/tranche.cpython-37.pyc delete mode 100644 othello/natymundo/test.txt diff --git a/othello/natymundo/__pycache__/game.cpython-37.pyc b/othello/natymundo/__pycache__/game.cpython-37.pyc index 01c38bcc55d587c165601599f6804163ee107747..9969f4fc98ef8dcfb5ccfa2716893ce89383d56d 100644 GIT binary patch literal 9343 zcmbta+m9R9d7mqXOLDJT>tZVo700pYx@zLMY3n$Std%UwRVYWYrIb)gjCf{O=#&0~!cYDEzB8O9SF5^4 zxtKF&zH^)NU4P%1y)ZvtvGDuXi+_K6?={Q%FFs6u9xCT?C7+^Dma_X+%a*&-axYuT zQSN7!awG4N+wvp-k<}_GFDgZDFL=jNzSPR7m83TJj)j&=s~XjCpMPYx7F5t$#5`p+ zhk52AySIdymO-hgDk#;QvZCx8R-^V5Z(%h%EGIt)mGiigRTPoDUCU9naz3+Ku5vNT z%gSqmVLuw`q{H6)@owW{Kk_vDSj6_>yBgfX9s;PO6_Z zadiUsMRii0!hK1-s9wT-S)Eqjzs5Qm^3tg8H_475C%nJL)yu zPpGr1f%{33>+6|!8Juf&C`SHx=OyC*0V=80v-h2`HMSo+Hp;QpcE>JCFZK6JW3=?V z$0*yu*xD~YhVCc}s%1ADbD5KFX8!vc3s6MexSK*OrL8bYBb@~uqk5SOO~`_4MjbM@ z7Y(z8j*h}KYTxgwjVMhTp7!x7dId%1r{SG`q>qtMD4!NlE`xRwS0ZL>FW4pgE!m@a z?h#63-k?x*&dG7I*S|!Cd&Pd7o_h*vzv<{dPrb3-^V8BvD=ocbJ+dDJpk2&(=-u~FrJ9w(d+~@;7TKmh`sDfzeVk7v%nq-Sx!pL;><5`Q8Vt5Fd$(2D#+!X;8mm#P+Jp5r%{rS?I=nBE z%NCL-ZTG`FQNPXiZk5x)ja0+hv+7oqB;iKXzB72x@I~gCAML<_wETW|BaT{7n*Jb; zqs-&bL-NmjzLx$b-Y|I)g=MeE-;!OnE4BxHs5zc}8rP^I8X?^~^mhEw5zwYZ9d4rX zj5>TEqV^tJ5A8AhD1>|t!tq7O*HJ6Y2snVrOaxd~B1{pW*UX&vuIN)(VaQ@lWcFmg zzB3pmbrn%`k%r(JbHaPgy$Ij+OQ^L< z4aouu@}@$*IONJ`PWZtd1v|(VI!$564l39nuAbeKZQ;pz%x4#D0Auz&1>4#8NqKBT zf8i6%Q`M4Z_jA$V_;u;)ODmTfca0g1e5pKj!zBp5< zAMryss(I2G=;-bG=&d8V)GKG9>e7Q;H+B)K9YnCO%TZt2jnSJ2%WX$m4gU{|HA+S* zVkrS%GK^E>uPCF;mn9pv5!I}eM5sSRucU^;g32z~o^#gmoY9hqXv(GvKUP9d`m#b& zskLuINgXJ#Ge*eYvme4|_gu)xcptatD?k9{?ZKy`R|y{7R{owt?}auAR(V@6b``u^ z4?twkedv#Uv{x9+*gkfRk5g5Gkl`3_F~gzl!FGKZNA>k6e)8882n5%mhsiCy4z*t= zx9PKB(9z83D8=B3Ga78x?+v?k_2dg+i*8!)hsCVLATU*8MDP>iNS-nf0I&Gn?NB{1 zx7~)Fc_}pgDK#98t{&XaN^mU0t+?e}+k_F(OcfFo1`X zdaGhQBVVvJXZ&z`uzARs#n|7+R0+3h`DMF?KPt-t?0Uh@m1WAE&X{$fEWeAvFj!F+ z1|5jf%UjvJxxD$zxw$ism_1ns=9rXgg@rcI2dEoHWtcSi`25TY6Q&8&n4N1Ikw zmG=vWZ6J(K&@G{Nvz!Y2U}eIwsV)V_$gRQ=-o=CAn3RM+;_wjo?FS!@?TgmWFWhz> zIxsi@qn=OmI|1;p3R5X+j&cfGUP}W-(BbX*550RY-$I4}4wr_nV!8VJA=EwG23Nx; ze@kBWqeMb}5#^J*{vLYj-$s#nz}4GS@^!@aW}_^jqczWfnIJS16(p@Ha8?0#l%W^Sje4{PQH47-gh=k7^pW693r3tz18 zTC^&9F7aA#p<>ud^-F=k$UgWadym*s+Mt9;stBi5Y0t~iP|$?5X|7K>mvG^!%Nkh$ z-1sKz-$#)JF!N+PjI)X{b=F~!=h=aZCg!bwk2M;Vrfp2(DHk}rQ3l-(u7nF)P@xrj zbWD8oEWRo9i0+1)mJKroPd2RVQ-sV;QyY(DV*PKR$8$8fBxca0E>3czs#%%guK9IV zq}pJYj8*z8SG=%!^okc|gj(#8xMge;MFAqLAm9Tq+`z8)UEY}@cm`a0&1+Y#>n7jf z8j1IiNcF4N$!s)IFLW zUaoZTMh1s{gsC#`=9P<=GXKKW_nK=*i$}kXe)n)q-mxaK$$`MkTNbP$|0n7|_e)kC zWKypFG1`qgT*+;8$}1lI8rkB39twX_z7pXEm36dwNL8O@A!Dbo@DEX$VByqF;nhxA z0C2A4VO8<}%wwCym-A;xP;r6F(Y<-9XO= zxbjr8Y`Bvoa_wfZm|s+~0AQU#C`T_nb$J4S)8~dGM!rc0utT*+LsjtndNC zOsoisSizc!6^6!Gftqj=aRR*bdw^yVSH5yoI)~)lIfXcMiW2b=Y5aTjTh_hWEh=0^ z6s`nW1jCSfm`2PO0jIivall-X!%3DB4eKh56Qa3J81ID18#7}7-nMW7;31!ptWs30 z=yMRUG@~2>mYaqf&}Hgevr)}_9mX3`?jdemX9(;^i4!jKJxXh*xP_$eO(pUI+2!)>k?H9OAs^l-(s|aG>#dXmh zEr1-i*3Z23illdo96kH#K<-7#rVd(&oKXf0wOJ#s6yafT;h;ukMz=?q?*jk=b zPk9hD#^!V=Mr!>IMiUsAxen%@n$?$Ck#^>@0#absGM`f%KIU_}V?&=CyE3bLFBJvA z`Ax6fD;MVsepCNGc3}dkiLo1a#_zv>jLcNH%%cHK_fS9w;#Ooh-BEP2Rl0iRGUQ|) zKR8H=0HuA7DH*lV-{36F+A}+BmBg{FwE}a0Gqbxn?P^ZD`sN{VWmQT8NRUeSCzvOp zJGJcNz{E@TNt6e*92rjym~qI30DG8V;`4ZB3g#eafT8qaUeRK(vA+jT*De)Qo&yB1 zFjC6}HGl=e`&D6mxZ}u2=Bi1OTW)5-Pm$H&V2oO+au=v?;WaeD(P*(bi>~u5MH*Y) z2S8T(HS}xD8)x`72MUf65M9kP31m>Ieh+QgLQcsMuf9Oyq#J>nu^x%RXW2GMMsO%} zq{}Q0?aai74 zn%t@GGjc$>DAJa0&R2j1%Eyl=7e!wXigN5PG? zYu7KmT_2vn)5S=~-6wy=JO?nF9`DH)5yn*yg{EvJPhIj%ryH*irWpM$rpl^Qp0dde^b-honAo{3?}4ExI%DeMQx7F5y$4o8p& z`i2jI5u8AxLL9zVl2p;_*=R#>LLY=NRbp5NQv(@iD_5uiF*~SbP>~AZlJF1894H84 zhx%0}vtmUCJ|8ACnYkuybI+_eKcOEnW&x|7|m8dpN zv??6pQ>rMU$^jC&3WC6q%#*VQmb=qfB`YOqx3jrBos`G`O<*?N(@_6_RJ-M3p2o7o zI!Q@1gR{QFf@oayE3JyH zBS{9h3?_AEd*UL?21W`l7MOzPDm96*3iVokWKqUBIbFg6zf|OBhbATV@ADH*!_9nr zQNY)R(%q=LaW~as$dz}@fz5Az@7>0t;b&=0Vu^8}KPUH!NM`~cGh8E+K5O(-n)}kb zC^GL(H&*&Ps285p^#Vai6=Ebd>^Wh@Bl046#;E&mbF2)3B*}=hvxEFcVsdy_ui62e$0t)UU;j-{6 zL3z1c#ouB%z@J~nUgXci(>(qv_*;}w9SkUbE^6m-B}8)vU(w_n8k~x9Kl?i0(0DGj zkX0pC;-u%pXxQv<1^#&F>#yNT-a@jveUipn5#s~TwnzGnVy&dl366+pi2sQv`%Jz7{|l@zoFM8Z(W{VR9a^Y`v1Qoj+wgZ z-=DXlv>v@;4P%T8X*-i0x>Ghm)bgBd2I-(354t*=TK3rVM)UTsz3_ERXwEZ_hDZ3! z)xOgYUXUJ|G~-x&i`fpv);^;}=vlr!9h3J49OsZ5}=6_;ox75XXd810|=41}rs4 zFRk4jbQApN0KN^GuQ?L{S2;VX-~`&7RX3m+g64d=W#yevcX=wB`A|80db>qQ(m}L> z_h=K5o&Y~Xyh*i<^g#mqOz@r|q?}HW14Fuaj~NW0Nlj2Rjvqpc1{tohovuFf1=(e# zD{*==#Mf6G@QB7`)$5_^4(`Zz2mQzB+NyNGiwC0VS~T+!sZ~Q2HPn(Kdzu$h(LG5?_QE}eFA X5(Of^zvP$Xe5vB{?ztbR`-;u-SqTo zy=gbO7cX(U=-P$H6{~E!jjX~oki(MzJfl=^)?gAx@jfsRO8`j2Xpp`v&U6-*b@7>U zqTK;NguF1nJC(G6a`mw^p@OGHsk}gr?ylJ*WPYP z9pgY^(!*c2RL zfx@Q{WB_Dk-%~S4IO-rzb?hDYEHE1ADv2dnn3?pCv#7Eg!T@>&=ad-o#nrJydmIor zfn+fkPTPSKjz}L$A028d=XMuXY8mI`lT0zQU28TnmYpdT8+HalskmOV-wf9Px0@Ne z;bt}}PGveAUUD-)d|YuHn`bJG`3wYD26pnyAhsHwQ7)F9qU^Y0Ix*ab$9@||Lk1u* zv2V^XM|^5N5T`;vW=ZjB=*scaz`@{r@Sx~e&v0Tc8{%=K%D1<8A0Rv_rowaL-SD;X z47^@~;oCwpSrq0=Q3)fGPH6bZb?IVN~@kg|8#lG0FWH zfaF*(7epA$FvzvC7>~R$2mZlJ#D@XovJr2vR$RAhh2YrTCqFNK7@0eTZt|yNF#6GO z3^8&yI=<&_Q8fG0$AOZA;h#wkgMY(p0HXGCT7bElrHn|Hy07i24-;ZH`s(s4sMR?Do(kDyJIg$Eqf)Eo zvN~y(zT3i-#?>J zOA#$^l%LT>?%5bFi+^O4eicAA`r>iXmZTQHju@%>4q~Wpl%s~6lzR;hH8RL^NPyv+ z9CE_TEcHn$^$uI;?aF6>4~|vbVmZtB1$e^%)_Bn=+kpvgt>l+HrDi*xxwv{`HJ4ku z#V?A3{-JZ^;Y+ZF+{{-|mQJb4(_Bmw{4z2Z0OS>Jm-r$%31fUmeA|C=m{JnFg)Krg(()t7HKp?9vTd_d=U~gjF7aW0n2}_0og@%JAveg%?NV`&pR6KzES{Q-3 zW_8p`SV?z`?%+5=D+T}leVx+IaCH=TNuVY{+JrR#@kERmElfbFM)KgkO4I~U83<(7 zP%v*0C`qIonV0H{b;nUS@FuN+V8sCOh7Y$4=nE1T-IzV3QG0 z3Iqfk4QTr7AmXR;!^t~=$ipq36Fy7AF}IT>kgbz!!>536rLv!pm0!)AItgKQhU5vaqX<)Y0zmwH>PjemGY+R$?Ij$c(++` zU7O>5u;9*PHsCiAU=82xTdTVqN^QN_#%>I1D5EJs-rzr=NjdBkYEW#qi`=c)T_#G% ztILq8ca2+%t2dYCGkN*)N)yY{6`MPir@unkK^cGgYkNLJd6zH2glE_b!tL!Qp|-@o z4-`s8p1NJMb_hOsK2Ldi!>yFIp7hdncL6VEDhS)^}uOq;snNRIIQt zLGh{V+H3w}*<*J+w&X>5{c)-8Y*flkZhL*Ddae1u=@BSn2SxO(U2vgm%j-8*u42Z; zq)8>qQ`akw#b@CiIwABL$3B*i3ukb?&4&R05sU_!NRrcRh+3c&wS)<#vJ?%3(O6dQ#G>JW=7yZzKuzVJ0Mz#)sjFLC@(;1L8^LH$xi zJr8P3rlWqBT0=5FncMGv4y!K}Gb|{66{FJ+iOy{LbPR|X(G8@TEMb~SGioYk+>Drp zsR4$6)zr-xkBL5cL^u<_S-cOE{nkR}rx1S`K-Ta}Y#$O1`!e(%^>SoP2xBsGQm~1B zQ8zUWXZ}I#Os+wX`ekxb{B6=;e-!_kydJz4rVRF(C{L|K4lOVYC3!Stxb=clukg>s zU#716Tq@wi6}e1^{ppjtnGaYS(?VABdj<1Rkyo&qdK$DrzH{lGwHkN7%y_OXjSU# zbgMZBN}rqaTLxeSlV?!e-EP(1pvWf1mU4@_M4@w++be5^{z t<@m|qXASDQNc|f~qa0)-Mj48d(+0j$hN76#WB6W&xE&U^kG;fB{0C?+axDM= diff --git a/othello/natymundo/__pycache__/othello.cpython-37.pyc b/othello/natymundo/__pycache__/othello.cpython-37.pyc index 4639700cb281fc29b64d897a8b6ad99b683d2374..a93cf5cad837c3655bb73b39db4698cc3ce07621 100644 GIT binary patch literal 6342 zcmai2U2ojR73J__ms+i4MUfp@NgT#;Y_IF6ZWE+NqA0N?*^%q49LpcULdk;O8A+5^ zg0?_`z7!Hrv{2Ef{ssLDzV^v~!7uH(!zFj6D#6y{2=mW^lb`a-(K(vsU0% zt;h?!_*@gVDD1L%ZI{)CxXp*2YrLfHN_?1?*Yw)(ZHa{Xw%Ub2s3#_44 zUoey}{)^uW8?BmsS9a2T7Bv4y#+bAy}D8BA{R z!gCE~FLE1okq_|_YMV@qdMGt;t;A39G29RHSNJ&UGJlm%pdR6;`5Dxs{53v_`V>FQ zr%;da*ZCW$U*T`^bEwDpTiikYDu0`wM?JxHSoWQyxRlx>ej8GjoZj!Qa5hBj@YvZr z{O6`{{9sc(t2Ss?^rPCuHHRzQL(yTf49#nG&3_cJ4LvdAXMCHgx z9cGs#8R=+yqx%|z%VDo}6$rL?wA~UfNctBfeu@V|#u0oGGL~_LS5SD6;_LI|7ZHo} zT}CUwPq4#X?3%FlC!;+TVt5WW`9#P&8NN>ol5>b8IJxory}ThvO(T-DI{t#m?bhU=wVT?Tj7YS8f9` zNRBR&owGe4gd5KZ5sDJ`iR{ds_Z=zxXMrc2rf^zKHxe#zo5D8?;?P+QBmm4W#l91{ zPnz^NVWoT}QZcbfNY{B3u=Nyi3D#p=$9lch9sx&fNIFXiB2H ztoIVZj{$y?R;uWVcw`anV`>BMtO;LiwdCvtnv#SwwVkVdJ%NCam_HjnoxeyZH#Y*$ z@2!(qO>fN?$5xUROg*^9`JY|`6Oub9qhl}cQkx<`S`cq0#d=*yNQzX_Yx>TqV>35s zSM(#T(OZf_uA-p=50uW0?~Ly!K;-%!9Ik^vw9lCKSmWlG+I{US)X=9DU&AZTLPL7d z3AX31A5!$VhX*kIw}}}?tJk3=TlkHDd;VIL@Eo+@tk$=fO{8Wr)D9DK z)oY4`tsdK|`~_COh$|$VYWf)48Ob)PCds!+cFwoi!p)in?w}Z(ZS}*hu{GT>z$zEJ z=9bej_ZT<#iDkyS7L)*{>3~T|3GFM7wf59wQihc(BQiHI24#U4zSFyfPGPSI9vzBG z#J$Q(it+ETtdq0*{U7w0CVb~a#pUn5=fIINrM6?wah=112%0@SP?m6?iH1YmFs-z3 znY34N-pk)ln3U6y1_1gwDtQ?NdB!W$H!R7fi50e*UX&Ev7Hq;31GFXIP!C)w-EB!h zzgCnYTz6YSzKOd&$yJIeFn>wC*Qt0PMPfER_<(Xb#aYL2Yf9nrpJ8A)ibAtYHpWW0 z99%o)%&s&j_j{r!nopsZRzt9%3xQ`3nB6e;VX%EBuk`N`k_^hxDDZu$&B(q z#=;3b!Y+m2mWU%`hk$AGbjoR%Ag!f~5{3>}bJ%G*vDd(T`yx|+|I(c&${37XIk z{QTL2Th)r0j3{Ei6U0P|Aow*A)w6I=a``i)bgn0bBxn8se>Xu^5otLjg=*F$8)c^6 z*BCv{9fACwE~POV&sm2}5;y8Qmz=woJRcDUR1GS>)L%XY%tr=W>R|8)4n`~ z7m*nkdvdCn2)A$t8h|G7b;qNT!DFLv%=?y3m9vuwBG| zf?(+J!vlGEAo@&l`Kj1;J^>}rJiXVhI?voDF#L%VAq{G*D~l>9s})a}uaXN_tyoEE ze)0ao+=IoX>T*)-O;Ia8Nasp3j(4yjBvPc^#3b<&1Ir&nK~l;^3V)4}DN$P`)`vrX zKdm<>GR#;Wh^5n}CLYRKd#a9O6z2O2}GBFO7A# z4W%hv|F~81br7~BX(BOUg;36;nL+L*+Q-x(DcV24mFmF+vE`r}NbPdaSr|%}Qp7qM z6t=d$8BoT(E&)#OfYZ)u038lCR7VCpXKd>ljqD(G-!ql!&UH-$Hmd{G(RewFz*gvh zC7E_lYtJIAjXef%0azpc3d`l&%!rIYMyJCRrF|uaAV)&8Vll8IP~CS?;*@p_%=V`v z;#M?*P(kXG3sg{4NX$oz^9xBq;TMDmZ$M0Ik$cDw@w{TC4owMf4QUl*kxJ7yXojO9 zMShGvI_`&KC^VBI$`sPxQN$HM@O0+yY9AQ~=gOzKa*vO21Jr?*_8BEbvdI}#kF(@i z4f(=@jt*qr>RRY6Y+Z%gS;vCfb*1*HZn0D76!#3Jcsg_GliIJeZlQf0>V^THn$qbM zFrU>m+s#o=-Z(cgrWDuL%jCD9RzAAA^@6pTqIM$yDPN`o+f_#$*eU}$ zg!`*phK`ETLD9o!&5VMms>+*^KJ1)y)IgF&lm7;f^W&Mx%1{HT#iqO`&u7)h{Nzu$ zY@Yc13pX9MqIZFrt=}q_2P%7P>7(CL87UGXAQ0JT&-o{jr4IH1m)+vlOk{S7>U4dr zYiDm@POAfS652cV1ink5HgS)4(tE_Z`_SVg@T~0>_BHu8)I~b?qqYh6X}Z-rHXMnD z4t_4k1FWJFF2I!Vnnn1KVq}W^er84Q41hdzS|A7&Q?p)~vki^i{HciB3vxYA>8FH! zcS($erQ6lYP|Eif&M2Fqau`X8ggURMSeT_-V*136g5^l!bc46vrC!BU6wy*loTV0# zyYigG0#k~ulaT`b2>E*q4e7&xRCx8xpk5jW|%hr$Hq zF60@iZEyp4Kq%>*Sj_6c-YL|p?-zx;i?{J1MV&&yAN^gay(pv~BjF`1`4?Ovk*NlF zmj}K&WD3gtTgR9q(gHug5G8+LUPvp?p$Fd=IoqccK2PIgI?*`uI0y;3iGxOl8So*p zc+#GWoc6||(~7-Nb@bf$3%o~Robr?OJIa@6{YVr~3i!scePi*j7?$ST1~P6|)^|oT z>PiRXCNMBE-&FscvXKRoE0j7uEyxSUw?=^gn@rEz7ch(SNJwv$zO=Z#cuTa8qu)T9 zr~>OPneB^$;K07plr2T#B0V~4uB1e=-%%f;{(;9KeSFo7GB#*qi-mzizCW;Xnm#u9 z?xv{MlTy9D8E|ChXqW5tcI-BLPw-`e2aS4NDz+pjO3I|wFrRmnC?eRRY&ZOb09hf$mMkX=H1%r4vG z=p9nyDzxUp6Mi<7$iVA)|`_CU&CZAK3|I$PMr{U%YxWWnwu5i{+s*EdDm8(^aYgL`= zRf8K%7VfIn`3s9n7cX6YyG}3Yr{XejE#e9fp;%KA<@RKkMM?r;4r02Wt1TTvGC_UI zEY-qDl+{$7JC!o;p(1GHC+{rIuY3@?B3!xbib%xVU0Dk1@rLV1X!4@B<2x&>jUZ}n zMt1{$C5Z02jYhEIJJIGw?DL@CGS}REQe0?wVN?$`n&(DIESlF;1Zgsto0ON!eFP78 zN$vw($h@T7E_Ky}CF-jBxz;LW(w8+s-w0Z`T#1w$ttJ{$=A`V7Y{`ldG(H(w2;EGK z5+3_vjN$%kgVoWP|7e~c;0ixS;r5NnVAPkm#`XIQrZu>EUx9fG+(K>g5ne=H$P5Vs zkMVIlkMIdTiMq(2;Zvwb`9404y2SVM1E|ONL4FAJI6us1P*3n@`E#fz`Sbh;>Sy>1 z+(tdcU*tzo@8c>gc`Pkl&Ga9?2nmaJ?{~$u*WK9WvAyx=s}0xogAMtvQYQ=0k7^y) zA}+Z)&Jv{tq=+f#Td6VsW~8obkscY5xy4phJQcY5sY>r6E3#BrX`ONHu)_6)>|V#c zwxC2K(a6wSw8)iBNU_2Om9&s(lb}sqFKihWqbUA!r(+$U7^x3uUx%6Zx?}8 zgGZZ9_c2-IF$ul{KV(t-DXZ^>RdIp3NO(U_vuE(`9P8O+u2%DWFRIn% z78*g_X@uwI1|O6sFki5iYA{r)`pv4*aYYcO`t{}NMX?XViD?w6?)lN1sb0Cdd@VID zTsdD^OwIKmc4Hy-Q>Q8FGzK|>8h2}TCv?Mfbi)hXno~nR@^3wK8>?c5dXt9_{35mb z64F#54W%%X>C94R*b)4h>=5fr?p{u=dh);=L2AT+GGzT0k!bL2tNgu2q19jqBKa)$-`-RJTTF-@wk2cF-XCp8-0 zn(ywKNxY2lhvzu@?Q>wj6C^X)4r_Ud?su86P^(D^ZM>7xE37lIYvkPPNoy1k7pe0s z3YieKw6)t8T+*5@|T5+=3szuUu0;%>0qe_(`hA(dwI6vE};pfP4O0Sxfbx z3D+?`5nkkG8rP(-slMtp+?1{El3KiqxoI^a!AD_}tTWb^Sq_p*OeV`EZsK80fhSW& z>q~v6tF`A64L*LntGDe$-)3BYKt4a!HLxD|eS&oRfB{S=Zz-*rTSM!L^mX(>X>#LJ zwQDBkb^+0CBq~zOli)S6Y9UBju)r&*#PRHYf~rw5hblF~X2Xk8(`iBxJk{W|;#v8^ z5yIIN6dtMt;f8merYpc7l!1$v3z=b0QR^8hPNPWmh6fBu$nNF3x^Nv%kP639C~(?I zR>WnKGE04BQm5Q+$X&_#r1j}5#ARg^Wi7L>^cNfLPl1{aKZ!`nKF;!K=tXWanu4a1 z(@f^0=(UDZAwF4;QORB zo4X+zge#kH>)H*+ro>>^13&cmqle zmako0ys><>ay`pkJH1A{4uz!qbJ3CRgd0IjIE|n%+jFZ_r=<&`pMuC=TIek;W#?0N z;cMv22Moy-LrRQ_F%G9v)kAEConh0=VkOqe@i_P($0K2pfG<7ZpSa$emiyOExhlG=%XBuMb< zG-4@X7;)@Nc*Gmn~)*5 zXGG^t12FExF4wWmfpVaCHXj94w<+8W&lNqSXG7HkfoR(dd`^DScL3q8IRXyg&f0Ed z0~QWux9^1CFCywkK zjKuUP@RpbtRj=org@A#43c-d{c8%=U*7ZSpcask2<;EJ=-mCN(_ z*N{7mo6R7kuUl~5A?Jf5Xa43i0ukDQZ#%JYyvY9OhKQxSBs1iDibtl(4e6ARDW+HC zW~*a*K6l$^JG%YqtM;Xi>YbI_vCe2N=e#YxgZ^bh*r-xNevlDWojhI~&fdy2Fp__k zYEe597x8W{q9)Gb#oM?fWmHB$QrQ&f=_G3Uo5bHVE2`rvJ1V$N}G& z0_0WzfbgWxz)L8E*Y7$65t$9XIdA0i#KaVe?_x*MpRPCv)R#I|1V5i6%Tb6$;Fi{v z5jfS6V!|wVU&2dqfePYFlK++UjQ5;FL(1++*0U=di=%kAiYuH%q39HcXIM#{rjm8` z^-Vmq-`Qcjnz#Lio94U93Npqg+s_m2XoKWb^Onit;K*T^COV~C-Fs1DGl-4nr zY7&W>f}Yy>FxQTaA3S%DKsL~S7{D`;4SO-oktsXNjeVz-eGCp8PjPy!RnC{j~q z$X&h>B_8Z|rHWQor+J5I28}X+q*U3L=?Kn{gORhuNm& zvxS(av(9wic*CFOwj0-Duomzx@egagKD=v6^oWS@DGF?`5Npk#MMcXD z5+nhhhjtITTsd&a#!wYmof(qQREhePWQwM)L=;0uj)|{Rb+WV z&_;f*z>mEZ4gLjQXD1XYDWwFZkYXtC5B83-XHLV&E9j_EYT<9VNmy?~KuCj5GMWvv zsXeqQ?O#ar4g&X2@P!VtZcwNfuc7V{H{cnB9oWvs0)59gg~UKip0))h<_F$E_Y2cFpGB?V8J?3pBSGAU)?bs`g94q3!2>OMI%dEEBk^x( zeH4KDKLQJW`2?3`n8?sl!bEos!txfoxCMd`APVDUS^083W{NBh07+ z9b!q|kwNZz^hj9*iHWAjf~LgUK|H1!*g@u#Pa__wL7`gw2EDW0fJyY?5Rf;;j^a9n zy8!}a-yDJDgSj6b$3u2`Bu@j)E6bO0 zHYrbqhV!SO#bhqDD;HQ%a6J+@ruhSUgcQ&fI1iF%eyrE;kVg*QI)!KzCaeHX--i++61 z7@1;jy24w<76_gRWq==0;(GM3x08_$(>Xb$n0MsC?^Bg?Nqh(aD}D9I)U~I2M1>T! z3n@ifc{anJ@j9biJtaxXpqfM5-a%(NXPu^_WZ&6vYqhjkt8D}vXFIqr)oR%JG^~UttJQ+g3jtC5fp?mAwBgix|1}K=)QE^ECWkZzfW!Xf<%=bKcZr=5_v~_UJz}a zz$Nz!mZq!4lBHR?HG)#JrmQ2@gjGUavYxRFYgG0xk5&yN>E@<9yc3sboIGh|$9Cj~ jaxWup(%k|TG}T@*q}D>FiF1S^sZa<4%w>O5Y+U<4*U(xW diff --git a/othello/natymundo/__pycache__/tranche.cpython-37.pyc b/othello/natymundo/__pycache__/tranche.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..37ae4cd6d926f0a4cc124e57a34b7270adf47f16 GIT binary patch literal 1762 zcmZux&1)Pt6qn{>XLg;G#Qm_{lL&?Nf@5ee384*XVwzHd3#~)JEKFuc+IZ|)%~~@P z;-Edn{XguZq4W@X>7n$n|HWK;%D>Q4f6~mZmrxCQdeZySy!X?4eDh|HVEn!PZum!s zkblf(FRVKi<_H3Jraa?63`-Xivu-b`-KQP0rKIRk5Vh2Q1O(LQlP^w)} za2HsQ2_|I6&ZRl^I6+G2{=lz&`&YGRu3UGQx2xA)iZW_*PzNnD@M^CR*;ttxC{s3N zu5d+Eh~?iOo;(;nFN7+FPlYN~#l>(hPpXNKC63ba`)V{CXL&h2E01zH%$pPrWn7+3 zD#`O<8)kQUR)SHidCdXvcnUZXGnG*o#ko8*GxsjPDEAlUNctLU6MeN=dxulfnuJ-Q1v+ijhYwz^gFGL%l zI@JUhw{rOnK3dsj+D!}Onm9A-A(@{;cnkEX*nAG&!nm)GWZ%Ee|8BE^BEItDvUPwdw5#6MY zvrZqFeIlP3u;aw#-mf@4>8Ka0 zdz0`>%H0hzbG6Ie6HmS1jSuXtMSv4uyJH8wO`qvh>y(f?%e?I21tX>C2B{q9c)w+8 zHf{175V8VKwTRhqUd5v{OUwDy?$W`cc-vN*i5)oN;`M;#^FJRfwM?1sHV)8VL{XyH zY?S92x`(u#$%I!EVPm0^E3w+kn3{j!&qlJP#+9>vyKS-1J~Y$JxKJ_`3QesY#02wT~W}DD|naGLQEf9QB$NrBl-c z??6=C0wIA1h&TYpCjA@$xrWDz_WmF+eL=<(5k++`iY7TnuLOT1icYIIYb8Mx@jQtl wWqOANquMmw^+haap=$odOxt3@z;nVNyshj%4yaxK&#Vr=Zel;Qwy-Dv0oixGvj6}9 literal 0 HcmV?d00001 diff --git a/othello/natymundo/game.py b/othello/natymundo/game.py index 9f348fe..8d78aff 100644 --- a/othello/natymundo/game.py +++ b/othello/natymundo/game.py @@ -14,23 +14,22 @@ def __missing__(self, key): couleurs[oth.BLANC] = 'Green' couleurs[oth.VIDE] = 'White' -# des valeurs utiles, facilement changeables qui pourront faire partie un jour d'un fichier config +# quelques valeurs utiles sizeV = oth.SIZE sizeH = len(oth.COLONNES) zoom = 20 class Game(tk.Frame): - def __init__(self, master=None, couleur=oth.NOIR): + def __init__(self, master=None, table=None, couleur=oth.NOIR): tk.Frame.__init__(self, master) self.master = master - self.jeu = oth.Othello() - # self.joueur est la couleur du joueur, self.jeu.joueur est la couleur de celui dont c'est le tour - self.joueur = couleur + self.couleur = couleur + self.jeu = oth.Othello(table, self.couleur) self.create_widgets() def jouer(self, event): # activé par un clic sur la surface de jeu - if self.jeu.joueur == self.joueur: + if oth.JOUEURS[self.jeu.joueur] == 'Player': ligne = int((event.x - zoom)/zoom) colonne = int((event.y - zoom)/zoom) case = self.jeu.playJoueur((ligne, colonne)) @@ -41,25 +40,32 @@ def jouer(self, event): # activé par un clic sur la surface de jeu self.set_label_case(case) else: self.set_label_case( - f'La case {self.jeu.toString((ligne, colonne))} \nn\'est pas jouable...') + f"La case {self.jeu.toString((ligne, colonne))} \nn'est pas jouable...") else: self.message_box( - 'Ce n\'est pas votre tour\n(veuillez cliquer sur le bouton AI)') + "Ce n'est pas votre tour\n(veuillez cliquer sur le bouton AI)") def next(self): # activé par le bouton 'AI' - if self.jeu.joueur == -self.joueur: + if oth.JOUEURS[self.jeu.joueur] == 'AI': case = self.jeu.playAI() if case == 'EOG': self.end_of_game() - self.nouveau_jeu() - self.drawtable(self.jeu.jeu) - self.set_label_case(case) + else: + self.drawtable(self.jeu.jeu) + self.set_label_case(case) else: - # évitez les backslashes quand c'est possible self.message_box("C'est à vous de jouer...") def end_of_game(self): - self.message_box(f"Il n'y a plus de case jouable;\nle jeu est fini!\n\nEt le winner is: {couleurs[self.gagnant()]}") + self.drawtable(self.jeu.jeu) + if self.gagnant() == self.couleur: + self.message_box(f"Bravo!!!\nVous avez gagné!\n\ + \nVotre score: {self.score(self.couleur)}\ + \n(le score de votre adversaire: {self.score(-self.couleur)})") + else: + self.message_box(f"Vous avez perdu\n\ + \nVotre score: {self.score(self.couleur)}\ + \n(le score de votre adversaire: {self.score(-self.couleur)})") def message_box(self, message): """ @@ -74,21 +80,18 @@ def message_box(self, message): label_text.grid(row=1, column=1) bouton_ok = tk.Button(m_box, text='Ok', command=m_box_root.destroy) bouton_ok.grid(row=2, column=1) + m_box.mainloop() - def nouveau_jeu(self): # activé par le bouton 'Changer de couleur' + def nouveau_jeu(self): # activé par le bouton Nouvelle partie """ Commence une nouvelle partie avec l'autre couleur """ self.label_couleur_couleur.destroy() self.label_score_score.destroy() self.label_case_case.destroy() - self.__init__(master=self.master, couleur=-self.joueur) - if self.joueur != self.jeu.joueur: - case = self.jeu.playAI() - self.set_label_case(case) - self.drawtable(self.jeu.jeu) + self.__init__(master=self.master, table=None, couleur=-self.couleur) def help(self): """ Fait apparaître les cases jouables """ - hilfe = self.jeu.casesJouables() + hilfe = self.jeu.casesJouables(self.jeu.get_couleur(self.jeu.joueur)) for (l,k) in hilfe: cir = self.C.create_oval( (l+1)*zoom, (k+1)*zoom, (l+2)*zoom, (k+2)*zoom, fill=couleurs['help']) @@ -103,6 +106,9 @@ def scoreN(self): def scoreB(self): return self.jeu.score()[1] + + def score(self, couleur): + return self.scoreN() if couleur == oth.NOIR else self.scoreB() def gagnant(self): return oth.NOIR if self.scoreN() > self.scoreB() else oth.VIDE if self.scoreN() == self.scoreB() else oth.BLANC @@ -114,7 +120,8 @@ def set_label_score(self): def create_label_score(self): self.label_score_score = tk.Label(self.master, text=f'{couleurs[oth.NOIR]}={self.scoreN()}|{couleurs[oth.BLANC]}={self.scoreB()}', - fg=couleurs[self.gagnant()]) + fg=couleurs[self.gagnant()], + bg='White') self.label_score_score.grid(row=4, column=1, columnspan=2) def drawtable(self, table): @@ -130,32 +137,45 @@ def drawtable(self, table): (l+1)*zoom, (k+1)*zoom, (l+2)*zoom, (k+2)*zoom, fill=couleurs[table[l][k]]) self.set_label_score() - def create_widgets(self): - # Définition des widgets - self.C = tk.Canvas(self.master, width=(len(oth.COLONNES)+2)*zoom, - height=(oth.SIZE+2)*zoom, bg='white') + def draw_canvas(self, canvas): + x, y = 3*zoom/2, zoom/2 + for a in oth.COLONNES: + labelC = canvas.create_text(x, y, text=a) + labelC2 = canvas.create_text(x, (sizeV+3/2)*zoom, text=a) + x += zoom + x, y = zoom/2, 3*zoom/2 + for i in oth.LIGNES: + labelL = canvas.create_text(x, y, text=i) + labelL2 = canvas.create_text((sizeH+3/2)*zoom, y, text=i) + y += zoom + self.drawtable(self.jeu.jeu) + + def create_boutons(self): self.bouton_quit = tk.Button(self.master, text='Quitter', fg='red', - command=self.master.destroy) - self.label_couleur_info = tk.Label(self.master, text='Votre couleur: ') - self.label_couleur_couleur = tk.Label(self.master, - text=couleurs[self.joueur], - bg=couleurs[self.joueur]) + command=self.master.destroy) self.bouton_nouveau = tk.Button( self.master, text='Nouvelle partie', command=self.nouveau_jeu) self.bouton_help = tk.Button( self.master, text='Help', command=self.help) - self.label_score = tk.Label(self.master, text='SCORE: ') self.bouton_AI = tk.Button( - self.master, text='AI', fg=couleurs[-self.joueur], command=self.next) + self.master, text='AI', fg=couleurs[-self.couleur], command=self.next) + + def create_labels(self): + self.label_couleur_info = tk.Label(self.master, text='Votre couleur: ') + self.label_couleur_couleur = tk.Label(self.master, + text=couleurs[self.couleur], + bg=couleurs[self.couleur]) + self.label_score = tk.Label(self.master, text='SCORE: ') + self.create_label_score() self.label_case = tk.Label(self.master, text='Dernière case jouée: ') self.label_case_case = tk.Label(self.master) - - # Placement des widgets + + def griding(self): self.C.grid(row=1, column=3, rowspan=sizeV+2, columnspan=sizeH+2, padx=5, pady=5) self.bouton_AI.grid(row=sizeV+3, column=3, sticky=tk.W) self.label_couleur_info.grid( - row=1, column=1, columnspan=2, sticky=tk.W) + row=1, column=1, columnspan=2, sticky=tk.W) self.label_couleur_couleur.grid(row=2, column=1, columnspan=2) self.label_score.grid(row=3, column=1, columnspan=2, sticky=tk.W) self.bouton_nouveau.grid(row=sizeV+3, column=sizeH+3, sticky=tk.E) @@ -164,21 +184,17 @@ def create_widgets(self): self.label_case.grid(row=5, column=1, columnspan=2, sticky=tk.W) self.rowconfigure(sizeV+4, pad=2) self.columnconfigure(sizeH+3, pad=2) + + def create_widgets(self): + # Définition des widgets + self.C = tk.Canvas(self.master, width=(len(oth.COLONNES)+2)*zoom, + height=(oth.SIZE+2)*zoom, bg='white') + self.create_boutons() + self.create_labels() + self.draw_canvas(self.C) # Attention! draw_canvas ne peut apparaître qu'après avec créé les labels - self.create_label_score() - - # Le Canvas - x, y = 3*zoom/2, zoom/2 - for a in oth.COLONNES: - labelC = self.C.create_text(x, y, text=a) - labelC2 = self.C.create_text(x, (sizeV+3/2)*zoom, text=a) - x += zoom - x, y = zoom/2, 3*zoom/2 - for i in oth.LIGNES: - labelL = self.C.create_text(x, y, text=i) - labelL2 = self.C.create_text((sizeH+3/2)*zoom, y, text=i) - y += zoom - self.drawtable(self.jeu.jeu) + # Placement des widgets + self.griding() # Events self.C.bind('', self.jouer) diff --git a/othello/natymundo/main.py b/othello/natymundo/main.py index c538da3..8b6ebab 100755 --- a/othello/natymundo/main.py +++ b/othello/natymundo/main.py @@ -2,6 +2,7 @@ import tkinter as tk import game + root = tk.Tk() jeu = game.Game(master=root) jeu.master.title('Othello') diff --git a/othello/natymundo/othello.py b/othello/natymundo/othello.py index 6efa864..72d5741 100644 --- a/othello/natymundo/othello.py +++ b/othello/natymundo/othello.py @@ -1,7 +1,7 @@ # Othello import numpy as np - +import tranche VIDE = 0 NOIR = 1 @@ -10,6 +10,7 @@ COLONNES = 'ABCDEFGH' LIGNES = [str(i+1) for i in range(SIZE)] DIRECTIONS = {(a, b) for a in (-1, 0, 1) for b in (-1, 0, 1)} +JOUEURS = ['AI', 'Player'] class Othello: @@ -17,26 +18,33 @@ class Othello: Le jeu du même nom """ - def __init__(self, jeu=None): - self.log = 'LOG: \n' + def __init__(self, jeu=None, couleur=NOIR): + # self.log = '__init__ \n' if jeu: self.jeu = jeu else: self.jeu = np.zeros((SIZE, len(COLONNES)), dtype=np.int8) self.jeu[3][4], self.jeu[4][3] = NOIR, NOIR self.jeu[3][3], self.jeu[4][4] = BLANC, BLANC - self.joueur = NOIR + self.couleur = couleur # La couleur de Player + self.joueur = 1 if self.couleur == NOIR else 0 # Le joueur dont c'est le tour de jouer (correspond à l'indice dans JOUEURS) self.dico_de_cases = dict({(l,c):dict() for l in range(SIZE) for c in range(len(COLONNES))}) self.mise_a_jour() def __str__(self): + """ renvoie le plateau de jeu sous forme d'un tableau """ return '\n'.join(';'.join(str(i) for i in ligne) for ligne in self.jeu) def write(self, file): + """ Ecrit le plateau de jeu dans le fichier donné """ with open(file, 'w', encoding='utf8') as f: f.write(str(self)) def read(self, file): + """ + Renvoie le plateau de jeu lu dans le fichier donné + - un fichier qui a été écrit avec self.write(file) - + """ array = [] with open(file, 'r', encoding='utf8') as f: for line in f: @@ -46,101 +54,69 @@ def read(self, file): return jeu.reshape((SIZE, len(COLONNES))) def next(self): - self.joueur = -self.joueur - - def adversaire(self, couleur): - return -couleur - - def directions(self, case): """ - Mets à jour le dictionnaire des directions de la case considérée (key = une direction, value = tranche de jeu pour la case considérée) - ex: (1, 0):[self.joueur, BLANC, BLANC, NOIR, BLANC, VIDE] + Renvoie True si le jeu peut continuer et passe alors au joueur suivant, + renvoie False sinon """ - for (a, b) in DIRECTIONS: - if a==b and b==0: - pass - else: - tranche = [self.jeu[case[0]][case[1]]] - A, B = case[0]+a, case[1]+b - while 0 <= A < SIZE and 0 <= B < len(COLONNES): - tranche.append(self.jeu[A][B]) - A += a - B += b - self.dico_de_cases[case][(a, b)] = self.direction_a_retourner(tranche) - + if self.casesJouables(self.get_couleur(self.adversaire(self.joueur))): + self.joueur = self.adversaire(self.joueur) + return True + else: + return False + + def adversaire(self, joueur): + """ L'indice de l'adversaire dans JOUEURS """ + return 1-joueur + + def get_couleur(self, joueur): + """ La couleur du joueur """ + return self.couleur if JOUEURS[joueur] == 'Player' else -self.couleur - def direction_a_retourner(self, direction): + def directions(self, case): """ - La direction est une tranche de jeu. - Renvoie une liste des retournables pour la direction donnée, - Le premier de la liste correspond à la case regardée, et sera un booléen pour savoir si cette direction est retournables - Ensuite, -1 s'il faut retourner, 1 quand ça s'arrête - En reprenant l'exemple de self.directions(jeu, case): - en supposant que self.joueur = NOIR, alors on aurait [True, -1, -1, 1, BLANC, VIDE] + Mets à jour le dictionnaire des directions de la case considérée + (key = une direction, value = tranche de jeu pour la case considérée) """ - txt = '' - direction[0] = True - if self.joueur in direction[2:]: - index = direction[1:].index(self.joueur) + 1 - txt += f'index={index} // ' - if index == 1: - direction[0] = False - direction[index] = 1 - for i in range(1, index): - txt += f'i={i} // ' - if direction[i] == VIDE or index == 1: - direction[0] = False - else: - direction[i] = -1 - else: - direction[0] = False - if direction[0]: - self.log += txt + f'direction: {direction}\n' - return direction - - + for dir in DIRECTIONS: + self.dico_de_cases[case][dir] = tranche.Tranche(self.jeu, case, dir) + + def mise_a_jour(self): """ Met à jour le dictionnaire des cases qui donne pour chaque case le dictionnaire des directions """ - self.log += '\nMise à jour\n' for case in self.dico_de_cases.keys(): - if self.jeu[case[0]][case[1]]==VIDE: - self.directions(case) - else: - for k in self.dico_de_cases[case].keys(): - self.dico_de_cases[case][k]=[False,1] - with open('test.txt', 'a') as f: - f.write(self.log) - + self.directions(case) + # with open('test.txt', 'a') as f: + # f.write(self.log) + # self.log = '' - def casesJouables(self): + def casesJouables(self, couleur): """ - renvoie une liste des cases qui sont jouables par le joueur actuel + renvoie une liste des cases qui sont jouables par la couleur indiquée """ liste = [] for case in self.dico_de_cases.keys(): - for tranche in self.dico_de_cases[case].values(): - if tranche[0]: - liste.append(case) - break + if self.jeu[case[0]][case[1]]==VIDE: # on ne regarde que les cases qui sont vide (gain d'efficacité) + for tranche in self.dico_de_cases[case].values(): + if tranche.description(couleur)[0]: + liste.append(case) + break return liste - def meilleurCoup(self): + def meilleurCoup(self, couleur): """ renvoie la case de la liste des possibilities qui retourne le plus de jetons """ - possibilities = self.casesJouables() + possibilities = self.casesJouables(couleur) if possibilities: best = 0 meilleureCase = possibilities[0] # -> Changer 0 par un random! for case in possibilities: num = 0 for tranche in self.dico_de_cases[case].values(): - num += tranche.count(-1) - #self.log += f'{case}: num = {num}\n' + num += tranche.description(couleur)[1]-1 if num > best: best = num meilleureCase = case - self.log += f'meilleureCase= {meilleureCase}\n' else: meilleureCase = None return meilleureCase @@ -156,22 +132,23 @@ def score(self): totB += 1 return (totN, totB) - def jouer(self, case): + def jouer(self, case, joueur): """ ajoute le jeton de couleur sur la case, retourne les pions à retourner mets à jour le dictionnaire des tranches de jeu """ (l, c) = case - self.log += f'case jouée: {(l, c)}\n' for (dir, tranche) in self.dico_de_cases[case].items(): - if tranche[0]: - index = tranche[1:].index(1) - self.log += f'index des jetons à retourner dans {dir}:{tranche} = {index}\n' - for i in range(index+1): - self.jeu[l+dir[0]*i][c+dir[1]*i] = self.joueur - self.next() - self.mise_a_jour() + if tranche.description(self.get_couleur(joueur))[0]: + index = tranche.description(self.get_couleur(joueur))[1] + for i in range(index): + self.jeu[l+dir[0]*i][c+dir[1]*i] = self.get_couleur(joueur) + if self.next(): + self.mise_a_jour() + return self.toString(case) + else: + return 'EOG' def toString(self, case): c = COLONNES[case[0]] @@ -179,27 +156,25 @@ def toString(self, case): return ''.join((c, l)) def playAI(self): - """ Détermine la case que jouera l'AI """ - self.log += '\n' + '*'*10 + 'AI is playing...' + '*'*10 + '\n' - case = self.meilleurCoup() + """ Détermine la case que jouera l'AI puis joue """ + # self.log += '\n' + '* '*10 + 'AI is playing' + ' *'*10 + '\n' + case = self.meilleurCoup(-self.couleur) if case: - self.jouer(case) - t = self.toString(case) + return self.jouer(case, 0) else: - t = 'EOG' - return t + return 'EOG' def playJoueur(self, case): """ Verifie la jouablilité de la case """ - self.log += '\n' + '*'*10 + 'Joueur is playing...' + '*'*10 + '\n' - possibilities = self.casesJouables() + # self.log += '\n' + '* '*10 + 'Joueur is playing' + ' *'*10 + '\n' + possibilities = self.casesJouables(self.couleur) if possibilities: if case in possibilities: - self.jouer(case) - return self.toString(case) + return self.jouer(case, 1) else: return False - else: return 'EOG' + else: + return 'EOG' # oth = Othello() # oth.playAI() diff --git a/othello/natymundo/test.txt b/othello/natymundo/test.txt deleted file mode 100644 index b0d5681..0000000 --- a/othello/natymundo/test.txt +++ /dev/null @@ -1,30796 +0,0 @@ -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 0) -case jouée: (7, 0) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 0) -case jouée: (7, 0) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (1, 6) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 0) -case jouée: (7, 0) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (1, 6) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (6, 6) -case jouée: (6, 6) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 0) -case jouée: (7, 0) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (1, 6) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (6, 6) -case jouée: (6, 6) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (0, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 0) -case jouée: (7, 0) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (1, 6) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (6, 6) -case jouée: (6, 6) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (0, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] - -**********AI is playing...********** -meilleureCase= (5, 3) -case jouée: (5, 3) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 0) -case jouée: (7, 0) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (1, 6) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (6, 6) -case jouée: (6, 6) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (0, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] - -**********AI is playing...********** -meilleureCase= (5, 3) -case jouée: (5, 3) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] - -**********Joueur is playing...********** -case jouée: (5, 7) -index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 -index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 0) -case jouée: (7, 0) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (1, 6) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (6, 6) -case jouée: (6, 6) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (0, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] - -**********AI is playing...********** -meilleureCase= (5, 3) -case jouée: (5, 3) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] - -**********Joueur is playing...********** -case jouée: (5, 7) -index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 -index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (1, 7) -case jouée: (1, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 0) -case jouée: (7, 0) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (1, 6) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (6, 6) -case jouée: (6, 6) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (0, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] - -**********AI is playing...********** -meilleureCase= (5, 3) -case jouée: (5, 3) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] - -**********Joueur is playing...********** -case jouée: (5, 7) -index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 -index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (1, 7) -case jouée: (1, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 1, -1, 1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 0) -case jouée: (7, 0) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (1, 6) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (6, 6) -case jouée: (6, 6) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (0, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] - -**********AI is playing...********** -meilleureCase= (5, 3) -case jouée: (5, 3) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] - -**********Joueur is playing...********** -case jouée: (5, 7) -index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 -index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (1, 7) -case jouée: (1, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 1, -1, 1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 7) -case jouée: (7, 7) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1, -1, -1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 0) -case jouée: (7, 0) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (1, 6) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (6, 6) -case jouée: (6, 6) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (0, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] - -**********AI is playing...********** -meilleureCase= (5, 3) -case jouée: (5, 3) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] - -**********Joueur is playing...********** -case jouée: (5, 7) -index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 -index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (1, 7) -case jouée: (1, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 1, -1, 1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 7) -case jouée: (7, 7) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1, -1, -1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 7) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 0) -case jouée: (7, 0) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (1, 6) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (6, 6) -case jouée: (6, 6) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (0, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] - -**********AI is playing...********** -meilleureCase= (5, 3) -case jouée: (5, 3) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] - -**********Joueur is playing...********** -case jouée: (5, 7) -index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 -index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (1, 7) -case jouée: (1, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 1, -1, 1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 7) -case jouée: (7, 7) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1, -1, -1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 7) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 1) -case jouée: (7, 1) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 0) -case jouée: (7, 0) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (1, 6) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (6, 6) -case jouée: (6, 6) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (0, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] - -**********AI is playing...********** -meilleureCase= (5, 3) -case jouée: (5, 3) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] - -**********Joueur is playing...********** -case jouée: (5, 7) -index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 -index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (1, 7) -case jouée: (1, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 1, -1, 1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 7) -case jouée: (7, 7) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1, -1, -1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 7) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 1) -case jouée: (7, 1) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 3) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 0) -case jouée: (7, 0) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (1, 6) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (6, 6) -case jouée: (6, 6) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (0, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] - -**********AI is playing...********** -meilleureCase= (5, 3) -case jouée: (5, 3) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] - -**********Joueur is playing...********** -case jouée: (5, 7) -index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 -index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (1, 7) -case jouée: (1, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 1, -1, 1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 7) -case jouée: (7, 7) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1, -1, -1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 7) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 1) -case jouée: (7, 1) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 3) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 2) -case jouée: (7, 2) -index des jetons à retourner dans (-1, 1):[True, -1, -1, -1, 1, 1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 0) -case jouée: (7, 0) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (1, 6) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (6, 6) -case jouée: (6, 6) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (0, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] - -**********AI is playing...********** -meilleureCase= (5, 3) -case jouée: (5, 3) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] - -**********Joueur is playing...********** -case jouée: (5, 7) -index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 -index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (1, 7) -case jouée: (1, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 1, -1, 1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 7) -case jouée: (7, 7) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1, -1, -1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 7) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 1) -case jouée: (7, 1) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 3) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 2) -case jouée: (7, 2) -index des jetons à retourner dans (-1, 1):[True, -1, -1, -1, 1, 1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 3) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, -1, -1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -LOG: - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (3, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (2, 2) -case jouée: (2, 2) -index des jetons à retourner dans (1, 1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (1, 1) -case jouée: (1, 1) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, 0, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 0) -case jouée: (0, 0) -index des jetons à retourner dans (1, 1):[True, -1, 1, -1, -1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (2, 3) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 2) -case jouée: (0, 2) -index des jetons à retourner dans (1, 0):[True, -1, 1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] - -**********AI is playing...********** -meilleureCase= (5, 5) -case jouée: (5, 5) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (1, 3) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (2, 4) -case jouée: (2, 4) -index des jetons à retourner dans (-1, -1):[True, -1, 1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0] = 1 -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (0, 3) -index des jetons à retourner dans (1, 0):[True, -1, -1, -1, 1, 0, 0, 0] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 4) -case jouée: (0, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, -1] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 4) -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] - -**********AI is playing...********** -meilleureCase= (0, 1) -case jouée: (0, 1) -index des jetons à retourner dans (1, 1):[True, -1, -1, 1, 1, 0, 0] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (5, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (0, 5) -case jouée: (0, 5) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (1, 5) -index des jetons à retourner dans (0, -1):[True, -1, 1, -1, 1, 1] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] - -**********AI is playing...********** -meilleureCase= (6, 4) -case jouée: (6, 4) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 5) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, 0, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (0, 6) -case jouée: (0, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (3, 5) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (4, 2) -case jouée: (4, 2) -index des jetons à retourner dans (0, 1):[True, -1, 1, 1, 0, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (3, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, 1, 1, 0, 0] = 2 -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 1) -case jouée: (4, 1) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 0) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, -1, 1, 0, 0] = 4 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (5, 1) -case jouée: (5, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** - -**********Joueur is playing...********** -case jouée: (5, 2) -index des jetons à retourner dans (-1, 0):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********AI is playing...********** -meilleureCase= (5, 0) -case jouée: (5, 0) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, -1, -1] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, -1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (4, 6) -case jouée: (4, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, 1] = 4 -index des jetons à retourner dans (1, -1):[True, -1, 1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=7 // i=1 // i=2 // i=3 // i=4 // i=5 // i=6 // direction: [True, -1, -1, -1, -1, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (4, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, -1, -1, 1] = 6 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, 0, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] - -**********AI is playing...********** -meilleureCase= (2, 0) -case jouée: (2, 0) -index des jetons à retourner dans (-1, 1):[True, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 5) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, 0, -1] = 2 -index des jetons à retourner dans (1, 0):[True, -1, 1, -1, 1, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 7) -case jouée: (3, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, -1, 0] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 4) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, 1, 1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (3, 6) -case jouée: (3, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, 1, 0] = 2 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 7) -index des jetons à retourner dans (1, 0):[True, -1, 1, 0, 0, 0] = 1 -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 0, 0] = 1 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 0, -1] - -**********AI is playing...********** -meilleureCase= (2, 1) -case jouée: (2, 1) -index des jetons à retourner dans (0, 1):[True, -1, -1, -1, 1, 0, 1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (5, 6) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 0, 0, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 1, 1, 1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 5) -case jouée: (7, 5) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0, 0] - -**********Joueur is playing...********** -case jouée: (7, 6) -index des jetons à retourner dans (-1, -1):[True, -1, 1, 1, -1, -1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, 1, 0, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (3, 0) -case jouée: (3, 0) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, -1, -1, 1, 1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (2, 6) -index des jetons à retourner dans (1, -1):[True, -1, 1, 0, 0, 0] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, 0, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 0) -case jouée: (7, 0) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (1, 6) -index des jetons à retourner dans (0, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (1, -1):[True, -1, -1, 1, 1, 0, -1] = 2 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=6 // i=1 // i=2 // i=3 // i=4 // i=5 // direction: [True, -1, -1, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (6, 6) -case jouée: (6, 6) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, -1, -1, 1] = 5 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1, 0, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0, 1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (0, 7) -index des jetons à retourner dans (1, -1):[True, -1, 1, 1, 1, 1, 0, -1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 0] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 0] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] - -**********AI is playing...********** -meilleureCase= (5, 3) -case jouée: (5, 3) -index des jetons à retourner dans (0, 1):[True, -1, 1, -1, 0] = 1 -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 0] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, 1, -1] = 1 -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1] = 1 -index des jetons à retourner dans (0, -1):[True, -1, -1, 1] = 2 - -Mise à jour -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 0, -1] - -**********Joueur is playing...********** -case jouée: (5, 7) -index des jetons à retourner dans (-1, -1):[True, -1, -1, -1, 1, -1] = 3 -index des jetons à retourner dans (1, -1):[True, -1, 1] = 1 - -Mise à jour -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (1, 7) -case jouée: (1, 7) -index des jetons à retourner dans (0, -1):[True, -1, -1, -1, -1, 1, -1, -1] = 4 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 1) -index des jetons à retourner dans (-1, 1):[True, -1, -1, 1, 1, -1, 1] = 2 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=5 // i=1 // i=2 // i=3 // i=4 // direction: [True, -1, -1, -1, -1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 7) -case jouée: (7, 7) -index des jetons à retourner dans (-1, -1):[True, -1, 1, -1, -1, -1, -1, -1] = 1 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, 1, 0, 0, 1, -1] - -**********Joueur is playing...********** -case jouée: (6, 7) -index des jetons à retourner dans (-1, -1):[True, -1, -1, 1, -1, -1, -1] = 2 -index des jetons à retourner dans (0, -1):[True, -1, 1, 1, 0, 0, 1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=2 // i=1 // direction: [True, -1, 1] -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] - -**********AI is playing...********** -meilleureCase= (7, 1) -case jouée: (7, 1) -index des jetons à retourner dans (-1, 0):[True, -1, -1, -1, 1, -1, -1, -1] = 3 - -Mise à jour -index=3 // i=1 // i=2 // direction: [True, -1, -1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (6, 3) -index des jetons à retourner dans (-1, 1):[True, -1, 1, -1, 1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, 1] -index=4 // i=1 // i=2 // i=3 // direction: [True, -1, -1, -1, 1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (7, 2) -case jouée: (7, 2) -index des jetons à retourner dans (-1, 1):[True, -1, -1, -1, 1, 1] = 3 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, 1, 1] -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1, -1, -1] - -**********Joueur is playing...********** -case jouée: (7, 3) -index des jetons à retourner dans (-1, 0):[True, -1, 1, 1, -1, -1, -1, -1] = 1 - -Mise à jour -index=2 // i=1 // direction: [True, -1, 1, 1, -1, -1] -index=2 // i=1 // direction: [True, -1, 1, -1, -1, -1, -1] - -**********AI is playing...********** -meilleureCase= (6, 2) -case jouée: (6, 2) -index des jetons à retourner dans (-1, 1):[True, -1, 1, 1, -1, -1] = 1 -index des jetons à retourner dans (-1, 0):[True, -1, 1, -1, -1, -1, -1] = 1 - -Mise à jour diff --git a/othello/natymundo/tranche.py b/othello/natymundo/tranche.py index dd55399..19ec183 100644 --- a/othello/natymundo/tranche.py +++ b/othello/natymundo/tranche.py @@ -1,6 +1,51 @@ -class Tranche(): - def __init__(self): - pass +class Tranche: + """ + Une classe qui définit des 'tranches' + de table du jeu Othello + à partir d'une case donnée, + dans une direction donnée + et pour une couleur donnée (default = 1) + """ - def get_tranche(self): - return self \ No newline at end of file + def __init__(self, table, case, direction): + self.table = table + self.case = case + self.direction = direction + self.tranche = self.get_tranche(self.table, self.case, self.direction) + # self.descr = self.description(couleur) + + def get_tranche(self, table, case, direction): + """ + Renvoie une 'tranche' de la table à partir de la case donnée et dans la direction donnée + """ + (a, b) = direction + (l, c) = case + tranche = [table[l][c]] + if a==b==0: + pass + else: + A, B = l+a, c+b + while 0 <= A < len(table) and 0 <= B < len(table[l]): + tranche.append(table[A][B]) + A += a + B += b + return tranche + + def description(self, couleur): + """" + Donne les infos utiles de la tranche sur sa jouabilité. + Renvoie (jouable, index) où: + - jouable est un booléen qui informe sur la jouabilité de la case + - index donnes l'index dans la tranche du dernier jeton à retourner + """ + descr = (False, 0) + if self.tranche[0] != 0: + pass + elif couleur in self.tranche[1:]: + index = self.tranche[1:].index(couleur) + 1 + if index > 1 and not 0 in self.tranche[1:index]: + descr = (True, index) + return descr + + + \ No newline at end of file From a7ce054444d3b757997e7b0457680e0aa35d043d Mon Sep 17 00:00:00 2001 From: natymundo <49127475+natymundo@users.noreply.github.com> Date: Sun, 14 Apr 2019 10:09:44 +0200 Subject: [PATCH 04/13] =?UTF-8?q?Gain=20de=20m=C3=A9moire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit J'avais fait la même erreur que dans l'essai précédent: je recréais 450 objets tranches à chaque tour de jeu. Erreur réparéé: j'update mes tranches à chaque tour de jeu. --- .../__pycache__/othello.cpython-37.pyc | Bin 6342 -> 6312 bytes .../__pycache__/tranche.cpython-37.pyc | Bin 1762 -> 1983 bytes othello/natymundo/othello.py | 46 ++++++++++-------- othello/natymundo/tranche.py | 12 ++++- 4 files changed, 36 insertions(+), 22 deletions(-) diff --git a/othello/natymundo/__pycache__/othello.cpython-37.pyc b/othello/natymundo/__pycache__/othello.cpython-37.pyc index a93cf5cad837c3655bb73b39db4698cc3ce07621..9f75d28a1c26318c04aaf651467bbc5306ac2268 100644 GIT binary patch delta 1710 zcmZ`(O>A355Z--%eo1WCiQN2=q)F2RUMLaaCxv1_jq^iF{uuIk87>5r?W54yXcV_9cZ{!PfhB-t5f0nQvzI zr-@G|l2eI9D}mqi(bsR??fEKs$Dr@azl_~COQb;xZ4I&?KOmHp$TIPqoJW;i659bg zGQsD_0^kM$1@IEe++a0jRD!&HlksY(tmXOqj52*zQEql|VKJARS(dl03!X}q%B$5v zi4_DdR#w+psGM3*DhlSA$_kmk#?u(LPu{aeQ`Dla(Mt#5@6a@L4xg|GC>@qdPQkta zX2bFuXTlpn2lVnNA4J)`4=o_6SfLOKUMLL7GqE4fqlL28%05$ct;v*Mgw2t|KVp+~ z*8>p(j={o*0e}PEj=DDfC@jhj1HUYkQw#!DDJipD5&W#)C~{uh<~<@POPFb84OJj#Wv~|e1yarIu2{KLI zp4~AUW`j129&#hb9~X4rXpjxFVKmHxV|~NSkS!;&X_!4^-$IK6dZLjZ#DDG718@%F zdX`QrZ{f_ydSbNwDt;2%OYBw}r@e;!EYZJ<2_b7bp?5%lpd`!-x`(q&>b@|9xkn+z z%nq$j!kZ=RJ*qXMJ4R%;K`@CmBLhDB4n~OH4-87S##YEy_X??;uMgtRe(V4X?tp^9 zwo@CM+Hh@!lqeh-qZZ1)6JxQ#Xw2n!a&Fh<1CX1-YJ{?3{I5691%FW+++f?`aqWuw zimvkKLEqd$WaxEx!W00p9O}{}?Vu^zXQb%OhIYt+HS&agVl25ZW81atR0|j o;W(IHB5%V41l#&@j0Rx_1Ke+ObT=Z;QQKZc={bbUa<4o44;qwJ!2kdN delta 1579 zcmZuxT}&KR6ux)<7YTAEu)G%u*cwh9zH;bFon(msW9D{3ESCdsB!TU(!c z3fGZ>V6g4ta(vSd!`hhR1l1sRoUzHUR&m2xWe8+We)#_lYi5B_cbvQ%TgJM`KKO`>LAyqg`kNW-G%kU(XWqh}B{OEE*r6p%7}Pie4QD$!YT%#Y+-rATRE87Wkcm&pIFQtFjAv5c_M9OaU}!d5=VAWv|bfQEwQ>~@XtkHxoL%_3dU#8_OI$1elWC9<_AyroZG zo_rbiJ{8SVpI>+lr6uGBQ39w>a0TILKBV{$>5cW!-I`w56|Z;imJi)!|Bl^LuBE+R z_@5XVit$RV?$_a-IM?&`71_fQSrWH_t~gvEkS(FBlJ<(oBRd2#qpW(7bW}Cav4EHa zSH+{AQO7bhQ#UO$i~pM0YGzQ*nQdk#YFiG7|F-s2C{ib{P=_1*13C&~h2mldt&0e9y$jfK-j(!DL=Hu9btw4& z*3C)5egKDli)=c%yEvMpVl|M5mpsp#{9f{2e4Vyy#bO@ub@%adbZPeOI;{2&+^HaU ziw?~ozmMEP|K@F}$|ISQp<|S(Tp>dPCF9ybe8Yn{Qv<})&~P<+4=Xm)6R#CwqVP_l zQU+Kz#6!cn62Yb@i7904^NNATpv53$;1gXQY%!=2OQfXaM5S?=p`Yr;mFN_?ZN7VD zE*uI;C;_I7p)v`THn^R4e%3Bddd_IzbmEjaq30yTi~JM(>+j*{ENL^!Hj&SbQDb7LCQC4bCg;Sihc-GusT#%_hIob=CLqaJ z!we*WtOY6ZL82@v3_x9sewwVeSW6OCSPSt zW#<4g85r3%+cV`cDzbybkyHS=w-^&|F(%z&%(=ywT*Nl{9J3@VD^OT)@*8HG&8)0T z8CBRos#r7gQc^24S&BeL++t78FU?6UExN^;l3JWxR3tk29Gg6&(&Tq+`i$(8<=Bnc cKxPz4Opak!*WgPnzmgPlWgayPpP0JS Changer 0 par un random! for case in possibilities: num = 0 - for tranche in self.dico_de_cases[case].values(): + for tranche in self.dico_de_tranches[case].values(): num += tranche.description(couleur)[1]-1 if num > best: best = num @@ -139,13 +145,13 @@ def jouer(self, case, joueur): mets à jour le dictionnaire des tranches de jeu """ (l, c) = case - for (dir, tranche) in self.dico_de_cases[case].items(): + for (dir, tranche) in self.dico_de_tranches[case].items(): if tranche.description(self.get_couleur(joueur))[0]: index = tranche.description(self.get_couleur(joueur))[1] for i in range(index): - self.jeu[l+dir[0]*i][c+dir[1]*i] = self.get_couleur(joueur) + self.jeu[l+dir[0]*i][c+dir[1]*i] = self.get_couleur(joueur) if self.next(): - self.mise_a_jour() + self.update() return self.toString(case) else: return 'EOG' diff --git a/othello/natymundo/tranche.py b/othello/natymundo/tranche.py index 19ec183..ed468ed 100644 --- a/othello/natymundo/tranche.py +++ b/othello/natymundo/tranche.py @@ -8,10 +8,9 @@ class Tranche: """ def __init__(self, table, case, direction): - self.table = table self.case = case self.direction = direction - self.tranche = self.get_tranche(self.table, self.case, self.direction) + self.tranche = self.get_tranche(table, self.case, self.direction) # self.descr = self.description(couleur) def get_tranche(self, table, case, direction): @@ -31,6 +30,14 @@ def get_tranche(self, table, case, direction): B += b return tranche + def update(self, table): + """ + Mets à jour la tranche + Renvoie la tranche complète + """ + self.tranche = self.get_tranche(table, self.case, self.direction) + return self + def description(self, couleur): """" Donne les infos utiles de la tranche sur sa jouabilité. @@ -46,6 +53,7 @@ def description(self, couleur): if index > 1 and not 0 in self.tranche[1:index]: descr = (True, index) return descr + \ No newline at end of file From 4c427d13c067d9b2ebd152357b08f64dc87ed42d Mon Sep 17 00:00:00 2001 From: natymundo <49127475+natymundo@users.noreply.github.com> Date: Mon, 15 Apr 2019 18:09:51 +0200 Subject: [PATCH 05/13] suppression des _pycache_ --- .../natymundo/__pycache__/game.cpython-37.pyc | Bin 9343 -> 0 bytes .../natymundo/__pycache__/othello.cpython-37.pyc | Bin 6312 -> 0 bytes .../natymundo/__pycache__/tranche.cpython-37.pyc | Bin 1983 -> 0 bytes 3 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 othello/natymundo/__pycache__/game.cpython-37.pyc delete mode 100644 othello/natymundo/__pycache__/othello.cpython-37.pyc delete mode 100644 othello/natymundo/__pycache__/tranche.cpython-37.pyc diff --git a/othello/natymundo/__pycache__/game.cpython-37.pyc b/othello/natymundo/__pycache__/game.cpython-37.pyc deleted file mode 100644 index 9969f4fc98ef8dcfb5ccfa2716893ce89383d56d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9343 zcmbta+m9R9d7mqXOLDJT>tZVo700pYx@zLMY3n$Std%UwRVYWYrIb)gjCf{O=#&0~!cYDEzB8O9SF5^4 zxtKF&zH^)NU4P%1y)ZvtvGDuXi+_K6?={Q%FFs6u9xCT?C7+^Dma_X+%a*&-axYuT zQSN7!awG4N+wvp-k<}_GFDgZDFL=jNzSPR7m83TJj)j&=s~XjCpMPYx7F5t$#5`p+ zhk52AySIdymO-hgDk#;QvZCx8R-^V5Z(%h%EGIt)mGiigRTPoDUCU9naz3+Ku5vNT z%gSqmVLuw`q{H6)@owW{Kk_vDSj6_>yBgfX9s;PO6_Z zadiUsMRii0!hK1-s9wT-S)Eqjzs5Qm^3tg8H_475C%nJL)yu zPpGr1f%{33>+6|!8Juf&C`SHx=OyC*0V=80v-h2`HMSo+Hp;QpcE>JCFZK6JW3=?V z$0*yu*xD~YhVCc}s%1ADbD5KFX8!vc3s6MexSK*OrL8bYBb@~uqk5SOO~`_4MjbM@ z7Y(z8j*h}KYTxgwjVMhTp7!x7dId%1r{SG`q>qtMD4!NlE`xRwS0ZL>FW4pgE!m@a z?h#63-k?x*&dG7I*S|!Cd&Pd7o_h*vzv<{dPrb3-^V8BvD=ocbJ+dDJpk2&(=-u~FrJ9w(d+~@;7TKmh`sDfzeVk7v%nq-Sx!pL;><5`Q8Vt5Fd$(2D#+!X;8mm#P+Jp5r%{rS?I=nBE z%NCL-ZTG`FQNPXiZk5x)ja0+hv+7oqB;iKXzB72x@I~gCAML<_wETW|BaT{7n*Jb; zqs-&bL-NmjzLx$b-Y|I)g=MeE-;!OnE4BxHs5zc}8rP^I8X?^~^mhEw5zwYZ9d4rX zj5>TEqV^tJ5A8AhD1>|t!tq7O*HJ6Y2snVrOaxd~B1{pW*UX&vuIN)(VaQ@lWcFmg zzB3pmbrn%`k%r(JbHaPgy$Ij+OQ^L< z4aouu@}@$*IONJ`PWZtd1v|(VI!$564l39nuAbeKZQ;pz%x4#D0Auz&1>4#8NqKBT zf8i6%Q`M4Z_jA$V_;u;)ODmTfca0g1e5pKj!zBp5< zAMryss(I2G=;-bG=&d8V)GKG9>e7Q;H+B)K9YnCO%TZt2jnSJ2%WX$m4gU{|HA+S* zVkrS%GK^E>uPCF;mn9pv5!I}eM5sSRucU^;g32z~o^#gmoY9hqXv(GvKUP9d`m#b& zskLuINgXJ#Ge*eYvme4|_gu)xcptatD?k9{?ZKy`R|y{7R{owt?}auAR(V@6b``u^ z4?twkedv#Uv{x9+*gkfRk5g5Gkl`3_F~gzl!FGKZNA>k6e)8882n5%mhsiCy4z*t= zx9PKB(9z83D8=B3Ga78x?+v?k_2dg+i*8!)hsCVLATU*8MDP>iNS-nf0I&Gn?NB{1 zx7~)Fc_}pgDK#98t{&XaN^mU0t+?e}+k_F(OcfFo1`X zdaGhQBVVvJXZ&z`uzARs#n|7+R0+3h`DMF?KPt-t?0Uh@m1WAE&X{$fEWeAvFj!F+ z1|5jf%UjvJxxD$zxw$ism_1ns=9rXgg@rcI2dEoHWtcSi`25TY6Q&8&n4N1Ikw zmG=vWZ6J(K&@G{Nvz!Y2U}eIwsV)V_$gRQ=-o=CAn3RM+;_wjo?FS!@?TgmWFWhz> zIxsi@qn=OmI|1;p3R5X+j&cfGUP}W-(BbX*550RY-$I4}4wr_nV!8VJA=EwG23Nx; ze@kBWqeMb}5#^J*{vLYj-$s#nz}4GS@^!@aW}_^jqczWfnIJS16(p@Ha8?0#l%W^Sje4{PQH47-gh=k7^pW693r3tz18 zTC^&9F7aA#p<>ud^-F=k$UgWadym*s+Mt9;stBi5Y0t~iP|$?5X|7K>mvG^!%Nkh$ z-1sKz-$#)JF!N+PjI)X{b=F~!=h=aZCg!bwk2M;Vrfp2(DHk}rQ3l-(u7nF)P@xrj zbWD8oEWRo9i0+1)mJKroPd2RVQ-sV;QyY(DV*PKR$8$8fBxca0E>3czs#%%guK9IV zq}pJYj8*z8SG=%!^okc|gj(#8xMge;MFAqLAm9Tq+`z8)UEY}@cm`a0&1+Y#>n7jf z8j1IiNcF4N$!s)IFLW zUaoZTMh1s{gsC#`=9P<=GXKKW_nK=*i$}kXe)n)q-mxaK$$`MkTNbP$|0n7|_e)kC zWKypFG1`qgT*+;8$}1lI8rkB39twX_z7pXEm36dwNL8O@A!Dbo@DEX$VByqF;nhxA z0C2A4VO8<}%wwCym-A;xP;r6F(Y<-9XO= zxbjr8Y`Bvoa_wfZm|s+~0AQU#C`T_nb$J4S)8~dGM!rc0utT*+LsjtndNC zOsoisSizc!6^6!Gftqj=aRR*bdw^yVSH5yoI)~)lIfXcMiW2b=Y5aTjTh_hWEh=0^ z6s`nW1jCSfm`2PO0jIivall-X!%3DB4eKh56Qa3J81ID18#7}7-nMW7;31!ptWs30 z=yMRUG@~2>mYaqf&}Hgevr)}_9mX3`?jdemX9(;^i4!jKJxXh*xP_$eO(pUI+2!)>k?H9OAs^l-(s|aG>#dXmh zEr1-i*3Z23illdo96kH#K<-7#rVd(&oKXf0wOJ#s6yafT;h;ukMz=?q?*jk=b zPk9hD#^!V=Mr!>IMiUsAxen%@n$?$Ck#^>@0#absGM`f%KIU_}V?&=CyE3bLFBJvA z`Ax6fD;MVsepCNGc3}dkiLo1a#_zv>jLcNH%%cHK_fS9w;#Ooh-BEP2Rl0iRGUQ|) zKR8H=0HuA7DH*lV-{36F+A}+BmBg{FwE}a0Gqbxn?P^ZD`sN{VWmQT8NRUeSCzvOp zJGJcNz{E@TNt6e*92rjym~qI30DG8V;`4ZB3g#eafT8qaUeRK(vA+jT*De)Qo&yB1 zFjC6}HGl=e`&D6mxZ}u2=Bi1OTW)5-Pm$H&V2oO+au=v?;WaeD(P*(bi>~u5MH*Y) z2S8T(HS}xD8)x`72MUf65M9kP31m>Ieh+QgLQcsMuf9Oyq#J>nu^x%RXW2GMMsO%} zq{}Q0?aai74 zn%t@GGjc$>DAJa0&R2j1%Eyl=7e!wXigN5PG? zYu7KmT_2vn)5S=~-6wy=JO?nF9`DH)5yn*yg{EvJPhIj%ryH*irWpM$rpl^Qp0dde^b-honAo{3?}4ExI%DeMQx7F5y$4o8p& z`i2jI5u8AxLL9zVl2p;_*=R#>LLY=NRbp5NQv(@iD_5uiF*~SbP>~AZlJF1894H84 zhx%0}vtmUCJ|8ACnYkuybI+_eKcOEnW&x|7|m8dpN zv??6pQ>rMU$^jC&3WC6q%#*VQmb=qfB`YOqx3jrBos`G`O<*?N(@_6_RJ-M3p2o7o zI!Q@1gR{QFf@oayE3JyH zBS{9h3?_AEd*UL?21W`l7MOzPDm96*3iVokWKqUBIbFg6zf|OBhbATV@ADH*!_9nr zQNY)R(%q=LaW~as$dz}@fz5Az@7>0t;b&=0Vu^8}KPUH!NM`~cGh8E+K5O(-n)}kb zC^GL(H&*&Ps285p^#Vai6=Ebd>^Wh@Bl046#;E&mbF2)3B*}=hvxEFcVsdy_ui62e$0t)UU;j-{6 zL3z1c#ouB%z@J~nUgXci(>(qv_*;}w9SkUbE^6m-B}8)vU(w_n8k~x9Kl?i0(0DGj zkX0pC;-u%pXxQv<1^#&F>#yNT-a@jveUipn5#s~TwnzGnVy&dl366+pi2sQv`%Jz7{|l@zoFM8Z(W{VR9a^Y`v1Qoj+wgZ z-=DXlv>v@;4P%T8X*-i0x>Ghm)bgBd2I-(354t*=TK3rVM)UTsz3_ERXwEZ_hDZ3! z)xOgYUXUJ|G~-x&i`fpv);^;}=vlr!9h3J49OsZ5}=6_;ox75XXd810|=41}rs4 zFRk4jbQApN0KN^GuQ?L{S2;VX-~`&7RX3m+g64d=W#yevcX=wB`A|80db>qQ(m}L> z_h=K5o&Y~Xyh*i<^g#mqOz@r|q?}HW14Fuaj~NW0Nlj2Rjvqpc1{tohovuFf1=(e# zD{*==#Mf6G@QB7`)$5_^4(`Zz2mQzB+NyNGiwC0VS~T+!sZ~Q2HPn(Kdzu$h(LG5?_QE}eFA X5(Of^zvP$Xe5vB{?ztm`{RJcIwj0Q)u)?Hw+*p=?? zI-rqe(!tX=x6?lKwJ?+Ej63a1{{{aS``RZS`|6kWckXIef|5j<`?+`TJ@`X#r)`@S}k$5u9PpF;0&d5!cd?5 z7rzq=y{dKN=ECCAt=nJJ=>h#z6a!@eC7eXHt#p(JV_g<09T4{lj{TF`(y=8Iw6@F= zEsR82P1MM9qU} zC-66eXvb|df=%Cv4)$W72ieSQ^Wa5suHl7IJ=kl`4-;8*uBiy(Y)&^ZGpGA920KLe zr7mb*R34PNYKL{yE%nb@tCUh-)&#vH=;HDwl5WhJm`IqDu!nLct%fl9VrVXOQ!+{z zW@L<@|9_h$>W$^ZyxVXNTv5k@{6}YgjuQR_l`91fVKWl8t8b}X$WHrki@oBRse39dr2ZzYA*R37o0pt5N9ek-oM>&7;Z?Y-xJ-*at0 z*ptsHb-ES(sMS#xP{Kc;>M&6P=arh`-;3C;8flRp8Ha33#mMCBsY=hHLR3&8uU&k01_Q&* z%nJ0?;L$WU0JPEmev#9 z^P}sDURhmUON^Ta8a`Imiu&RBSMsV$C7zy+m?j zkeeX$F00Z$MFIUYY=e1jyS}^M6!UM|Cc? z(T})BptOJz&Y+U`45oAKsrJVS;GKHJBG|?uJ7!F|uWOTJY0|ui+JYsV=l3i48l3$bLoL{qv!M4&>PhIt+uC_nh(E#%AboG6^ zqaQJ@A4BgRjCTz%0g%%H;1Cm9@7-5g)AxxPM#_vx-^Ci#CO4m|U9)2z6#zFwQIQ}@ zT1g@PJ&v_=5M29Si)p}i&ShNw?)x?jDPw9Y_H4&~{wxA#pFfk5a2~sLo3LS4a^YR# zUfF&>e?MVDltB#?=sh%obdW6LC7K%+KSh%mVYA^yiRm;U6P{>*DnU4s7>*Fmfj|@j zeF=2!-EY-larWrMsIcDI-KYUM^Pz;&c;{~ z#YSnDGP%;C-0lgYXg{gFKSu{BO$DCf2s*o~9YbKpxMhC~EY~QMArF-TNjuINlL=)* z#I7BBq`Ty)nrMTi)$`$R0M&r-IpH zqo#r;>dxBcbau4j!03EbX@3k5G zvD1LAe`fc>i_C2|<%#F)SI&v6l#QggxV*Nsu(7;aSx*YREvki$G*n3=lQ(dovM!~7 zGz7s+q7#vc1|rT#Bq`>Eg?I2;Poayf#HQ7Du0Z`oIS`O^av=B?18`Ugs}Vayucqub zBH%Y=I}hf%Z2u#SWcVm&-hn5O>vo}Z6x>r_cx2KJ>G)XfVgBTO#lHgIfG04D)A%B1nMuP{J`(if%Fs05c9yevKUNXl68NRGOPK zMOjp&z3iYv9(Vt1$vY-_cb9m#3p?R3^(h4{Y-mb}G#LHZ{x!*eX)SW~<*p8&Y;*wU zv|h}^C!4S__~W}uYaSkX>^_2c*pL=~h2wI5WEf0(Px)VJI1+Xxw?p7M8JGlM06Pq= zk1hmuKKup9;ocibe46+gqGvXNpD#p+c= zgrFs5_#EwU+8c_GFvn4PTqkEZjfi~|F0shk7c;KQdt~k-XFlzfgH?n9loZN*%qX4{ z4bH%NWQ$V@LY<9{Dq+mPthqk}wzG}_kWwYvr@MuY*(n?W%D{Nas?=n`a?I2sv~=@*PsN;T>uD4_9vPj z?}>9{kd(5;3qjm$Vb73!lcE-pMj?@cAasai8a-Y1+Y^~s24BoUip+t4N}9x7bii>a zGt6S1lpRv|a4-n%=n?t9YxrKGg5#_;jTsd)(~up_s1$@swU@9(s^7Nz97n)W58x-> zrTlWnmic9QfQR_lAj2@alXw+XPd}@A6hswS-xNgad07(TL)!dzc${XIDzT&lHV|7Z z3fb~dT&~O=DTU!VRR05m4%<|_(3$;jrO87pk5Yi}F>lCV8nGNS5P@{h_$Luy56(d^ zyM_I^NbeLRq+jb=*&Eo?fP;p117fTRe0f5vV~lswG2HJO_y}+(C_h%jcW43cjK&t} zeHtnDGM-Zo+Q!cTcmP#otOzwFea(WCklc2v`Td}f-WgEx&~5@Cq?^xXMUFPKcJIf6 zfb7da&v)l9_su2ImR4_9%0sDRFpysDh0+T<48^qAB+Q1e>_cb@^hNFKid>uH7+Fhh zG4EiIrflRU$Z3;h$iBuk=mT6yFWJ&719zvdYLt~E=F0MIe0GrubkFUjw~}{}w>ksD z6}QmH0f1pDYw*q-Vt+M&LnI)?JqO|Vjb*zTd!d}@nehtVL*gtbSV}(u5v*h}?>WvqG4Xlk;KuTI zSe8at8j=N8Qu}^9U66}F!^-?p{S<3Ab0+UmjP%G9Z=byyIRadg9DxzPja}?}uJE?# zBazedw*>phS_dLm=~!=x>|W#q2kxZ}XyO<2=(Mv*s|ksgZ_?pcshXkc7gR~p zp`<6ZDT=V9C8d5!O6b=#M-mdGSYn;34XXP0kUfG(LD3c!`9aLmbak|3>6T%QSi@*_ zt7MI$KZbT3vqN%yd8BHwK`0mr5+PYDO=hQi z67n~07Q=$v#g0V9zSoB$&x=MlzhKiu=}a-cQ=!oWO!7j?`IWfSTu)@l zP{cDOQk@lYA-7_o*|eyX)kupf7qD*cv)f#ZlPcHjOZLgYYNsAVfCFbA=pj&f3z%^X ziHUK6Q$sEs1N?{p(MvpYIe}Er{ef3|_{O@|J*QrKE_B=mU5D)g6-$wiYu^U1um%dt zc12VK)4$(7ygPha3RMmt38huV#c;1ktBH^rjxzmCH5!idLQhZiVIhY_leM8t^y#FM zyco8QcBiLx6vvqUI7Y;j0Wd-X_?_K+($r#iq0l8@4RkOGHUY0;VcelJ^JczrU=C&> zBp}!(Cfp{^=`1py@jc>_V@G|;De%uv{-8uU@`VYEw+VX2-y{y1^=AE-BTh}vYE#8E zG4vHZChB+T!HqqT^;_9F%FxS-{FaF>D4h1dcYm8)Qc6tEc%Ok~(>FfM{gcN(5fec< zoN59Ow}nMe{vhOwA`=!03lQ!ABw3!c2wXv%JzYf`10-?88fbU5T|lYx@dg}%mp@6mPGU8863E~>Z!v=jk_1LqFOTd)E2Vp;*YKu&{RW6@jfgSZRjJE2Pk89Bnw z2UFBQrIRnxxfHRqm`wBeZ(4Lp1J6dV4BLh}a8@#cXkP|g2i24(T6_SfB?eFY4SIHC z5n&_jfJhh?rxHqYh3Og zd+Hf)Y{1^$2;syx?$`m_*gb=4of7h47vvuFBftyvwoHx-=terjO^d81ZLEYWmI-Dv z8D)8<=U2O(fki5BTWK!tfFUkk4p=e&^KPew82+d+0NqlQ8j#FJMUg`Z( z7nEhiSNj+Q^jr3$-sIGz+7IzOzh#qmj% Date: Tue, 16 Apr 2019 22:07:20 +0200 Subject: [PATCH 06/13] Create .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fd20fdd --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ + +*.pyc From 5622e58c24e623b08a67f85ff66dd70563548a3a Mon Sep 17 00:00:00 2001 From: natymundo <49127475+natymundo@users.noreply.github.com> Date: Wed, 17 Apr 2019 16:39:53 +0200 Subject: [PATCH 07/13] slices de numpy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit En recherche de slices efficaces, à creuser pour les diagonales.(voir np.ix_ ) --- othello/natymundo/othello.py | 3 ++- othello/natymundo/tranche.py | 31 +++++++++++++++++++++---------- 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/othello/natymundo/othello.py b/othello/natymundo/othello.py index 2720e38..7616cec 100644 --- a/othello/natymundo/othello.py +++ b/othello/natymundo/othello.py @@ -9,7 +9,8 @@ SIZE = 8 COLONNES = 'ABCDEFGH' LIGNES = [str(i+1) for i in range(SIZE)] -DIRECTIONS = {(a, b) for a in (-1, 0, 1) for b in (-1, 0, 1)} +# DIRECTIONS = {(a, b) for a in (-1, 0, 1) for b in (-1, 0, 1)} +DIRECTIONS = ('N', 'S', 'E', 'W', 'NE', 'SE', 'NW', 'SW') JOUEURS = ['AI', 'Player'] diff --git a/othello/natymundo/tranche.py b/othello/natymundo/tranche.py index ed468ed..761ff4c 100644 --- a/othello/natymundo/tranche.py +++ b/othello/natymundo/tranche.py @@ -1,3 +1,5 @@ +import numpy as np + class Tranche: """ Une classe qui définit des 'tranches' @@ -17,17 +19,26 @@ def get_tranche(self, table, case, direction): """ Renvoie une 'tranche' de la table à partir de la case donnée et dans la direction donnée """ - (a, b) = direction (l, c) = case - tranche = [table[l][c]] - if a==b==0: - pass - else: - A, B = l+a, c+b - while 0 <= A < len(table) and 0 <= B < len(table[l]): - tranche.append(table[A][B]) - A += a - B += b + # tranche = table[l][c] + if direction == 'E': + tranche = table[l, c:] + elif direction == 'W': + tranche = table[l, :c+1] + elif direction == 'N': + tranche = table[:l+1, c] + elif direction == 'S': + tranche = table[l:, c] + elif direction == 'SE': # Utiliser np.ix_ + tranche = table[l:, c:] + elif direction == 'SW': + tranche = table[l:, :c+1] + elif direction == 'NE': + tranche = table[:l+1, c:] + elif direction == 'NW': + tranche = table[:l+1, :c+1] + # tranche = np.array(tranche) + print((direction, tranche)) return tranche def update(self, table): From d3f9d57a6e9913df49feecdb238def133ed4cef8 Mon Sep 17 00:00:00 2001 From: natymundo <49127475+natymundo@users.noreply.github.com> Date: Wed, 17 Apr 2019 21:41:14 +0200 Subject: [PATCH 08/13] Tentative de simplification du programme Ne marche pas pour le moment --- .gitignore | 1 + othello/natymundo/othello.py | 56 ++++++++++++++++++++++++++++++------ othello/natymundo/tranche.py | 36 +++++++++++------------ 3 files changed, 66 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index fd20fdd..f03e394 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.pyc +othello/natymundo/test.txt diff --git a/othello/natymundo/othello.py b/othello/natymundo/othello.py index 7616cec..3c7d37f 100644 --- a/othello/natymundo/othello.py +++ b/othello/natymundo/othello.py @@ -3,6 +3,8 @@ import numpy as np import tranche +import timeit + VIDE = 0 NOIR = 1 BLANC = -1 @@ -10,7 +12,15 @@ COLONNES = 'ABCDEFGH' LIGNES = [str(i+1) for i in range(SIZE)] # DIRECTIONS = {(a, b) for a in (-1, 0, 1) for b in (-1, 0, 1)} -DIRECTIONS = ('N', 'S', 'E', 'W', 'NE', 'SE', 'NW', 'SW') +DIRECTIONS = {'N':(-1,0), + 'S':(1,0), + 'E':(0,1), + 'W':(0,-1), + 'NE':(-1,1), + 'SE':(1,1), + 'NW':(-1,-1), + 'SW':(1,-1), + } JOUEURS = ['AI', 'Player'] @@ -20,6 +30,7 @@ class Othello: """ def __init__(self, jeu=None, couleur=NOIR): + # self.log = 'LOG: \n' if jeu: self.jeu = jeu else: @@ -72,16 +83,42 @@ def get_couleur(self, joueur): """ La couleur du joueur """ return self.couleur if JOUEURS[joueur] == 'Player' else -self.couleur + def get_tranche(self, case, direction): + """ + Renvoie une 'tranche' de la table à partir de la case donnée et dans la direction donnée + """ + (l, c) = case + if direction == 'E': + return self.jeu[l, c:] + elif direction == 'W': + return self.jeu[l, :c+1] + elif direction == 'N': + return self.jeu[:l+1, c] + elif direction == 'S': + return self.jeu[l:, c] + elif direction == 'SE': + return self.jeu[l:].diagonal(c) + elif direction == 'SW': # A revoir + return np.array([self.jeu[i, k] for i, k in zip(range(l, SIZE), range(c))]) + # print((case, tranche)) + elif direction == 'NE': # A revoir + return np.array([self.jeu[i, k] for i, k in zip(range(l+1), range(c, len(COLONNES)))]) + elif direction == 'NW': + return self.jeu[:l].diagonal(c-l) + else: + return np.array([0]) + def directions(self, dico, case): """ Mets à jour le dictionnaire des directions de la case considérée (key = une direction, value = tranche de jeu pour la case considérée) """ for dir in DIRECTIONS: - if not dir in dico[case]: - dico[case][dir] = tranche.Tranche(self.jeu, case, dir) - else: - dico[case][dir] = dico[case][dir].update(self.jeu) + dico[case][dir] = self.get_tranche(case, dir) + # if not dir in dico[case]: + # dico[case][dir] = tranche.Tranche(self.jeu, case, dir) + # else: + # dico[case][dir] = dico[case][dir].update(self.jeu) def update(self): @@ -97,6 +134,7 @@ def update(self): else: for case in self.dico_de_tranches.keys(): self.directions(self.dico_de_tranches, case) + # self.log += f'{self.dico_de_tranches.items()}\n' def casesJouables(self, couleur): """ @@ -150,7 +188,7 @@ def jouer(self, case, joueur): if tranche.description(self.get_couleur(joueur))[0]: index = tranche.description(self.get_couleur(joueur))[1] for i in range(index): - self.jeu[l+dir[0]*i][c+dir[1]*i] = self.get_couleur(joueur) + self.jeu[l+DIRECTIONS[dir][0]*i][c+DIRECTIONS[dir][1]*i] = self.get_couleur(joueur) if self.next(): self.update() return self.toString(case) @@ -184,8 +222,8 @@ def playJoueur(self, case): return 'EOG' # oth = Othello() -# oth.playAI() -# oth.playJoueur((4,2)) - # with open('test.txt', 'w') as f: +# with open('test.txt', 'w') as f: # f.write(oth.log) +# oth = Othello() +timeit.timeit('[Othello()]', globals=globals()) diff --git a/othello/natymundo/tranche.py b/othello/natymundo/tranche.py index 761ff4c..6513a65 100644 --- a/othello/natymundo/tranche.py +++ b/othello/natymundo/tranche.py @@ -20,7 +20,6 @@ def get_tranche(self, table, case, direction): Renvoie une 'tranche' de la table à partir de la case donnée et dans la direction donnée """ (l, c) = case - # tranche = table[l][c] if direction == 'E': tranche = table[l, c:] elif direction == 'W': @@ -29,18 +28,18 @@ def get_tranche(self, table, case, direction): tranche = table[:l+1, c] elif direction == 'S': tranche = table[l:, c] - elif direction == 'SE': # Utiliser np.ix_ - tranche = table[l:, c:] - elif direction == 'SW': - tranche = table[l:, :c+1] - elif direction == 'NE': - tranche = table[:l+1, c:] - elif direction == 'NW': - tranche = table[:l+1, :c+1] - # tranche = np.array(tranche) - print((direction, tranche)) + elif direction == 'SE': + tranche = table[l:].diagonal(c) + elif direction == 'SW': # A revoir + tranche = np.array([table[i, k] for i, k in zip(range(l, len(table)), range(c))]) + # print((case, tranche)) + elif direction == 'NE': # A revoir + tranche = np.array([table[i, k] for i, k in zip(range(l+1), range(c, len(table)))]) + elif direction == 'NW': + tranche = table[:l].diagonal(c-l) return tranche + ### inutile d'update: les basic-slices sont des vues, donc mises à jour automatiques! def update(self, table): """ Mets à jour la tranche @@ -54,15 +53,16 @@ def description(self, couleur): Donne les infos utiles de la tranche sur sa jouabilité. Renvoie (jouable, index) où: - jouable est un booléen qui informe sur la jouabilité de la case - - index donnes l'index dans la tranche du dernier jeton à retourner + - index donne l'index dans la tranche du dernier jeton à retourner """ descr = (False, 0) - if self.tranche[0] != 0: - pass - elif couleur in self.tranche[1:]: - index = self.tranche[1:].index(couleur) + 1 - if index > 1 and not 0 in self.tranche[1:index]: - descr = (True, index) + # if len(self.tranche)>0: + # if self.tranche[0] != 0: + # pass + # elif couleur in self.tranche[1:]: + # index = self.tranche[1:].tolist().index(couleur) + 1 + # if index > 1 and not 0 in self.tranche[1:index]: + # descr = (True, index) return descr From 5c07bbbd7c505e9e20b873d8d2f00295105d0cb3 Mon Sep 17 00:00:00 2001 From: natymundo <49127475+natymundo@users.noreply.github.com> Date: Mon, 22 Apr 2019 19:28:01 +0200 Subject: [PATCH 09/13] suppression de la classe tranche MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit le fichier log.txt décrit les fameuses tranches. Il faut revoir les directions SW et NE qui ne donnent pas ce qui est attendu. --- othello/natymundo/log.txt | 513 +++++++++++++++++++++++++++++++++++ othello/natymundo/othello.py | 61 +++-- 2 files changed, 552 insertions(+), 22 deletions(-) create mode 100644 othello/natymundo/log.txt diff --git a/othello/natymundo/log.txt b/othello/natymundo/log.txt new file mode 100644 index 0000000..0c25999 --- /dev/null +++ b/othello/natymundo/log.txt @@ -0,0 +1,513 @@ +LOG: +case:(0, 0) -> N=[0] +case:(0, 0) -> S=[0 0 0 0 0 0 0 0] +case:(0, 0) -> E=[0 0 0 0 0 0 0 0] +case:(0, 0) -> W=[0] +case:(0, 0) -> NE=[0] +case:(0, 0) -> SE=[ 0 0 0 -1 -1 0 0 0] +case:(0, 0) -> NW=[] +case:(0, 0) -> SW=[ 0 0 0 -1 -1 0 0 0] +case:(0, 1) -> N=[0] +case:(0, 1) -> S=[0 0 0 0 0 0 0 0] +case:(0, 1) -> E=[0 0 0 0 0 0 0] +case:(0, 1) -> W=[0 0] +case:(0, 1) -> NE=[] +case:(0, 1) -> SE=[0 0 0 1 0 0 0] +case:(0, 1) -> NW=[] +case:(0, 1) -> SW=[0 0 0 1 0 0 0] +case:(0, 2) -> N=[0] +case:(0, 2) -> S=[0 0 0 0 0 0 0 0] +case:(0, 2) -> E=[0 0 0 0 0 0] +case:(0, 2) -> W=[0 0 0] +case:(0, 2) -> NE=[] +case:(0, 2) -> SE=[0 0 0 0 0 0] +case:(0, 2) -> NW=[] +case:(0, 2) -> SW=[0 0 0 0 0 0] +case:(0, 3) -> N=[0] +case:(0, 3) -> S=[ 0 0 0 -1 1 0 0 0] +case:(0, 3) -> E=[0 0 0 0 0] +case:(0, 3) -> W=[0 0 0 0] +case:(0, 3) -> NE=[] +case:(0, 3) -> SE=[0 0 0 0 0] +case:(0, 3) -> NW=[] +case:(0, 3) -> SW=[0 0 0 0 0] +case:(0, 4) -> N=[0] +case:(0, 4) -> S=[ 0 0 0 1 -1 0 0 0] +case:(0, 4) -> E=[0 0 0 0] +case:(0, 4) -> W=[0 0 0 0 0] +case:(0, 4) -> NE=[] +case:(0, 4) -> SE=[0 0 0 0] +case:(0, 4) -> NW=[] +case:(0, 4) -> SW=[0 0 0 0] +case:(0, 5) -> N=[0] +case:(0, 5) -> S=[0 0 0 0 0 0 0 0] +case:(0, 5) -> E=[0 0 0] +case:(0, 5) -> W=[0 0 0 0 0 0] +case:(0, 5) -> NE=[] +case:(0, 5) -> SE=[0 0 0] +case:(0, 5) -> NW=[] +case:(0, 5) -> SW=[0 0 0] +case:(0, 6) -> N=[0] +case:(0, 6) -> S=[0 0 0 0 0 0 0 0] +case:(0, 6) -> E=[0 0] +case:(0, 6) -> W=[0 0 0 0 0 0 0] +case:(0, 6) -> NE=[] +case:(0, 6) -> SE=[0 0] +case:(0, 6) -> NW=[] +case:(0, 6) -> SW=[0 0] +case:(0, 7) -> N=[0] +case:(0, 7) -> S=[0 0 0 0 0 0 0 0] +case:(0, 7) -> E=[0] +case:(0, 7) -> W=[0 0 0 0 0 0 0 0] +case:(0, 7) -> NE=[] +case:(0, 7) -> SE=[0] +case:(0, 7) -> NW=[] +case:(0, 7) -> SW=[0] +case:(1, 0) -> N=[0 0] +case:(1, 0) -> S=[0 0 0 0 0 0 0] +case:(1, 0) -> E=[0 0 0 0 0 0 0 0] +case:(1, 0) -> W=[0] +case:(1, 0) -> NE=[0 0] +case:(1, 0) -> SE=[0 0 0 1 0 0 0] +case:(1, 0) -> NW=[] +case:(1, 0) -> SW=[0 0 0 1 0 0 0] +case:(1, 1) -> N=[0 0] +case:(1, 1) -> S=[0 0 0 0 0 0 0] +case:(1, 1) -> E=[0 0 0 0 0 0 0] +case:(1, 1) -> W=[0 0] +case:(1, 1) -> NE=[0] +case:(1, 1) -> SE=[ 0 0 -1 -1 0 0 0] +case:(1, 1) -> NW=[0] +case:(1, 1) -> SW=[0 0 0 0 0 0] +case:(1, 2) -> N=[0 0] +case:(1, 2) -> S=[0 0 0 0 0 0 0] +case:(1, 2) -> E=[0 0 0 0 0 0] +case:(1, 2) -> W=[0 0 0] +case:(1, 2) -> NE=[] +case:(1, 2) -> SE=[0 0 1 0 0 0] +case:(1, 2) -> NW=[0] +case:(1, 2) -> SW=[0 0 0 0 0] +case:(1, 3) -> N=[0 0] +case:(1, 3) -> S=[ 0 0 -1 1 0 0 0] +case:(1, 3) -> E=[0 0 0 0 0] +case:(1, 3) -> W=[0 0 0 0] +case:(1, 3) -> NE=[] +case:(1, 3) -> SE=[0 0 0 0 0] +case:(1, 3) -> NW=[0] +case:(1, 3) -> SW=[0 0 0 0] +case:(1, 4) -> N=[0 0] +case:(1, 4) -> S=[ 0 0 1 -1 0 0 0] +case:(1, 4) -> E=[0 0 0 0] +case:(1, 4) -> W=[0 0 0 0 0] +case:(1, 4) -> NE=[] +case:(1, 4) -> SE=[0 0 0 0] +case:(1, 4) -> NW=[0] +case:(1, 4) -> SW=[0 0 0] +case:(1, 5) -> N=[0 0] +case:(1, 5) -> S=[0 0 0 0 0 0 0] +case:(1, 5) -> E=[0 0 0] +case:(1, 5) -> W=[0 0 0 0 0 0] +case:(1, 5) -> NE=[] +case:(1, 5) -> SE=[0 0 0] +case:(1, 5) -> NW=[0] +case:(1, 5) -> SW=[0 0] +case:(1, 6) -> N=[0 0] +case:(1, 6) -> S=[0 0 0 0 0 0 0] +case:(1, 6) -> E=[0 0] +case:(1, 6) -> W=[0 0 0 0 0 0 0] +case:(1, 6) -> NE=[] +case:(1, 6) -> SE=[0 0] +case:(1, 6) -> NW=[0] +case:(1, 6) -> SW=[0] +case:(1, 7) -> N=[0 0] +case:(1, 7) -> S=[0 0 0 0 0 0 0] +case:(1, 7) -> E=[0] +case:(1, 7) -> W=[0 0 0 0 0 0 0 0] +case:(1, 7) -> NE=[] +case:(1, 7) -> SE=[0] +case:(1, 7) -> NW=[0] +case:(1, 7) -> SW=[] +case:(2, 0) -> N=[0 0 0] +case:(2, 0) -> S=[0 0 0 0 0 0] +case:(2, 0) -> E=[0 0 0 0 0 0 0 0] +case:(2, 0) -> W=[0] +case:(2, 0) -> NE=[0 0 0] +case:(2, 0) -> SE=[0 0 0 0 0 0] +case:(2, 0) -> NW=[] +case:(2, 0) -> SW=[0 0 0 0 0 0] +case:(2, 1) -> N=[0 0 0] +case:(2, 1) -> S=[0 0 0 0 0 0] +case:(2, 1) -> E=[0 0 0 0 0 0 0] +case:(2, 1) -> W=[0 0] +case:(2, 1) -> NE=[0 0] +case:(2, 1) -> SE=[0 0 1 0 0 0] +case:(2, 1) -> NW=[0] +case:(2, 1) -> SW=[0 0 0 0 0] +case:(2, 2) -> N=[0 0 0] +case:(2, 2) -> S=[0 0 0 0 0 0] +case:(2, 2) -> E=[0 0 0 0 0 0] +case:(2, 2) -> W=[0 0 0] +case:(2, 2) -> NE=[0] +case:(2, 2) -> SE=[ 0 -1 -1 0 0 0] +case:(2, 2) -> NW=[0 0] +case:(2, 2) -> SW=[0 0 0 0] +case:(2, 3) -> N=[0 0 0] +case:(2, 3) -> S=[ 0 -1 1 0 0 0] +case:(2, 3) -> E=[0 0 0 0 0] +case:(2, 3) -> W=[0 0 0 0] +case:(2, 3) -> NE=[] +case:(2, 3) -> SE=[0 1 0 0 0] +case:(2, 3) -> NW=[0 0] +case:(2, 3) -> SW=[0 0 0] +case:(2, 4) -> N=[0 0 0] +case:(2, 4) -> S=[ 0 1 -1 0 0 0] +case:(2, 4) -> E=[0 0 0 0] +case:(2, 4) -> W=[0 0 0 0 0] +case:(2, 4) -> NE=[] +case:(2, 4) -> SE=[0 0 0 0] +case:(2, 4) -> NW=[0 0] +case:(2, 4) -> SW=[0 0] +case:(2, 5) -> N=[0 0 0] +case:(2, 5) -> S=[0 0 0 0 0 0] +case:(2, 5) -> E=[0 0 0] +case:(2, 5) -> W=[0 0 0 0 0 0] +case:(2, 5) -> NE=[] +case:(2, 5) -> SE=[0 0 0] +case:(2, 5) -> NW=[0 0] +case:(2, 5) -> SW=[0] +case:(2, 6) -> N=[0 0 0] +case:(2, 6) -> S=[0 0 0 0 0 0] +case:(2, 6) -> E=[0 0] +case:(2, 6) -> W=[0 0 0 0 0 0 0] +case:(2, 6) -> NE=[] +case:(2, 6) -> SE=[0 0] +case:(2, 6) -> NW=[0 0] +case:(2, 6) -> SW=[] +case:(2, 7) -> N=[0 0 0] +case:(2, 7) -> S=[0 0 0 0 0 0] +case:(2, 7) -> E=[0] +case:(2, 7) -> W=[0 0 0 0 0 0 0 0] +case:(2, 7) -> NE=[] +case:(2, 7) -> SE=[0] +case:(2, 7) -> NW=[0 0] +case:(2, 7) -> SW=[] +case:(3, 0) -> N=[0 0 0 0] +case:(3, 0) -> S=[0 0 0 0 0] +case:(3, 0) -> E=[ 0 0 0 -1 1 0 0 0] +case:(3, 0) -> W=[0] +case:(3, 0) -> NE=[ 0 0 0 -1] +case:(3, 0) -> SE=[0 0 0 0 0] +case:(3, 0) -> NW=[] +case:(3, 0) -> SW=[0 0 0 0 0] +case:(3, 1) -> N=[0 0 0 0] +case:(3, 1) -> S=[0 0 0 0 0] +case:(3, 1) -> E=[ 0 0 -1 1 0 0 0] +case:(3, 1) -> W=[0 0] +case:(3, 1) -> NE=[0 0 0] +case:(3, 1) -> SE=[0 0 0 0 0] +case:(3, 1) -> NW=[0] +case:(3, 1) -> SW=[0 0 0 0] +case:(3, 2) -> N=[0 0 0 0] +case:(3, 2) -> S=[0 0 0 0 0] +case:(3, 2) -> E=[ 0 -1 1 0 0 0] +case:(3, 2) -> W=[0 0 0] +case:(3, 2) -> NE=[0 0] +case:(3, 2) -> SE=[0 1 0 0 0] +case:(3, 2) -> NW=[0 0] +case:(3, 2) -> SW=[0 0 0] +case:(3, 3) -> N=[ 0 0 0 -1] +case:(3, 3) -> S=[-1 1 0 0 0] +case:(3, 3) -> E=[-1 1 0 0 0] +case:(3, 3) -> W=[ 0 0 0 -1] +case:(3, 3) -> NE=[0] +case:(3, 3) -> SE=[-1 -1 0 0 0] +case:(3, 3) -> NW=[0 0 0] +case:(3, 3) -> SW=[0 0] +case:(3, 4) -> N=[0 0 0 1] +case:(3, 4) -> S=[ 1 -1 0 0 0] +case:(3, 4) -> E=[1 0 0 0] +case:(3, 4) -> W=[ 0 0 0 -1 1] +case:(3, 4) -> NE=[] +case:(3, 4) -> SE=[1 0 0 0] +case:(3, 4) -> NW=[0 0 0] +case:(3, 4) -> SW=[0] +case:(3, 5) -> N=[0 0 0 0] +case:(3, 5) -> S=[0 0 0 0 0] +case:(3, 5) -> E=[0 0 0] +case:(3, 5) -> W=[ 0 0 0 -1 1 0] +case:(3, 5) -> NE=[] +case:(3, 5) -> SE=[0 0 0] +case:(3, 5) -> NW=[0 0 0] +case:(3, 5) -> SW=[] +case:(3, 6) -> N=[0 0 0 0] +case:(3, 6) -> S=[0 0 0 0 0] +case:(3, 6) -> E=[0 0] +case:(3, 6) -> W=[ 0 0 0 -1 1 0 0] +case:(3, 6) -> NE=[] +case:(3, 6) -> SE=[0 0] +case:(3, 6) -> NW=[0 0 0] +case:(3, 6) -> SW=[] +case:(3, 7) -> N=[0 0 0 0] +case:(3, 7) -> S=[0 0 0 0 0] +case:(3, 7) -> E=[0] +case:(3, 7) -> W=[ 0 0 0 -1 1 0 0 0] +case:(3, 7) -> NE=[] +case:(3, 7) -> SE=[0] +case:(3, 7) -> NW=[0 0 0] +case:(3, 7) -> SW=[] +case:(4, 0) -> N=[0 0 0 0 0] +case:(4, 0) -> S=[0 0 0 0] +case:(4, 0) -> E=[ 0 0 0 1 -1 0 0 0] +case:(4, 0) -> W=[0] +case:(4, 0) -> NE=[ 0 0 0 -1 -1] +case:(4, 0) -> SE=[0 0 0 0] +case:(4, 0) -> NW=[] +case:(4, 0) -> SW=[0 0 0 0] +case:(4, 1) -> N=[0 0 0 0 0] +case:(4, 1) -> S=[0 0 0 0] +case:(4, 1) -> E=[ 0 0 1 -1 0 0 0] +case:(4, 1) -> W=[0 0] +case:(4, 1) -> NE=[0 0 0 1] +case:(4, 1) -> SE=[0 0 0 0] +case:(4, 1) -> NW=[0] +case:(4, 1) -> SW=[0 0 0] +case:(4, 2) -> N=[0 0 0 0 0] +case:(4, 2) -> S=[0 0 0 0] +case:(4, 2) -> E=[ 0 1 -1 0 0 0] +case:(4, 2) -> W=[0 0 0] +case:(4, 2) -> NE=[0 0 0] +case:(4, 2) -> SE=[0 0 0 0] +case:(4, 2) -> NW=[0 0] +case:(4, 2) -> SW=[0 0] +case:(4, 3) -> N=[ 0 0 0 -1 1] +case:(4, 3) -> S=[1 0 0 0] +case:(4, 3) -> E=[ 1 -1 0 0 0] +case:(4, 3) -> W=[0 0 0 1] +case:(4, 3) -> NE=[0 0] +case:(4, 3) -> SE=[1 0 0 0] +case:(4, 3) -> NW=[0 0 0] +case:(4, 3) -> SW=[0] +case:(4, 4) -> N=[ 0 0 0 1 -1] +case:(4, 4) -> S=[-1 0 0 0] +case:(4, 4) -> E=[-1 0 0 0] +case:(4, 4) -> W=[ 0 0 0 1 -1] +case:(4, 4) -> NE=[0] +case:(4, 4) -> SE=[-1 0 0 0] +case:(4, 4) -> NW=[ 0 0 0 -1] +case:(4, 4) -> SW=[] +case:(4, 5) -> N=[0 0 0 0 0] +case:(4, 5) -> S=[0 0 0 0] +case:(4, 5) -> E=[0 0 0] +case:(4, 5) -> W=[ 0 0 0 1 -1 0] +case:(4, 5) -> NE=[] +case:(4, 5) -> SE=[0 0 0] +case:(4, 5) -> NW=[0 0 0 1] +case:(4, 5) -> SW=[] +case:(4, 6) -> N=[0 0 0 0 0] +case:(4, 6) -> S=[0 0 0 0] +case:(4, 6) -> E=[0 0] +case:(4, 6) -> W=[ 0 0 0 1 -1 0 0] +case:(4, 6) -> NE=[] +case:(4, 6) -> SE=[0 0] +case:(4, 6) -> NW=[0 0 0 0] +case:(4, 6) -> SW=[] +case:(4, 7) -> N=[0 0 0 0 0] +case:(4, 7) -> S=[0 0 0 0] +case:(4, 7) -> E=[0] +case:(4, 7) -> W=[ 0 0 0 1 -1 0 0 0] +case:(4, 7) -> NE=[] +case:(4, 7) -> SE=[0] +case:(4, 7) -> NW=[0 0 0 0] +case:(4, 7) -> SW=[] +case:(5, 0) -> N=[0 0 0 0 0 0] +case:(5, 0) -> S=[0 0 0] +case:(5, 0) -> E=[0 0 0 0 0 0 0 0] +case:(5, 0) -> W=[0] +case:(5, 0) -> NE=[ 0 0 0 -1 -1 0] +case:(5, 0) -> SE=[0 0 0] +case:(5, 0) -> NW=[] +case:(5, 0) -> SW=[0 0 0] +case:(5, 1) -> N=[0 0 0 0 0 0] +case:(5, 1) -> S=[0 0 0] +case:(5, 1) -> E=[0 0 0 0 0 0 0] +case:(5, 1) -> W=[0 0] +case:(5, 1) -> NE=[0 0 0 1 0] +case:(5, 1) -> SE=[0 0 0] +case:(5, 1) -> NW=[0] +case:(5, 1) -> SW=[0 0] +case:(5, 2) -> N=[0 0 0 0 0 0] +case:(5, 2) -> S=[0 0 0] +case:(5, 2) -> E=[0 0 0 0 0 0] +case:(5, 2) -> W=[0 0 0] +case:(5, 2) -> NE=[0 0 0 0] +case:(5, 2) -> SE=[0 0 0] +case:(5, 2) -> NW=[0 0] +case:(5, 2) -> SW=[0] +case:(5, 3) -> N=[ 0 0 0 -1 1 0] +case:(5, 3) -> S=[0 0 0] +case:(5, 3) -> E=[0 0 0 0 0] +case:(5, 3) -> W=[0 0 0 0] +case:(5, 3) -> NE=[0 0 0] +case:(5, 3) -> SE=[0 0 0] +case:(5, 3) -> NW=[0 0 0] +case:(5, 3) -> SW=[] +case:(5, 4) -> N=[ 0 0 0 1 -1 0] +case:(5, 4) -> S=[0 0 0] +case:(5, 4) -> E=[0 0 0 0] +case:(5, 4) -> W=[0 0 0 0 0] +case:(5, 4) -> NE=[0 0] +case:(5, 4) -> SE=[0 0 0] +case:(5, 4) -> NW=[0 0 0 1] +case:(5, 4) -> SW=[] +case:(5, 5) -> N=[0 0 0 0 0 0] +case:(5, 5) -> S=[0 0 0] +case:(5, 5) -> E=[0 0 0] +case:(5, 5) -> W=[0 0 0 0 0 0] +case:(5, 5) -> NE=[0] +case:(5, 5) -> SE=[0 0 0] +case:(5, 5) -> NW=[ 0 0 0 -1 -1] +case:(5, 5) -> SW=[] +case:(5, 6) -> N=[0 0 0 0 0 0] +case:(5, 6) -> S=[0 0 0] +case:(5, 6) -> E=[0 0] +case:(5, 6) -> W=[0 0 0 0 0 0 0] +case:(5, 6) -> NE=[] +case:(5, 6) -> SE=[0 0] +case:(5, 6) -> NW=[0 0 0 1 0] +case:(5, 6) -> SW=[] +case:(5, 7) -> N=[0 0 0 0 0 0] +case:(5, 7) -> S=[0 0 0] +case:(5, 7) -> E=[0] +case:(5, 7) -> W=[0 0 0 0 0 0 0 0] +case:(5, 7) -> NE=[] +case:(5, 7) -> SE=[0] +case:(5, 7) -> NW=[0 0 0 0 0] +case:(5, 7) -> SW=[] +case:(6, 0) -> N=[0 0 0 0 0 0 0] +case:(6, 0) -> S=[0 0] +case:(6, 0) -> E=[0 0 0 0 0 0 0 0] +case:(6, 0) -> W=[0] +case:(6, 0) -> NE=[ 0 0 0 -1 -1 0 0] +case:(6, 0) -> SE=[0 0] +case:(6, 0) -> NW=[] +case:(6, 0) -> SW=[0 0] +case:(6, 1) -> N=[0 0 0 0 0 0 0] +case:(6, 1) -> S=[0 0] +case:(6, 1) -> E=[0 0 0 0 0 0 0] +case:(6, 1) -> W=[0 0] +case:(6, 1) -> NE=[0 0 0 1 0 0] +case:(6, 1) -> SE=[0 0] +case:(6, 1) -> NW=[0] +case:(6, 1) -> SW=[0] +case:(6, 2) -> N=[0 0 0 0 0 0 0] +case:(6, 2) -> S=[0 0] +case:(6, 2) -> E=[0 0 0 0 0 0] +case:(6, 2) -> W=[0 0 0] +case:(6, 2) -> NE=[0 0 0 0 0] +case:(6, 2) -> SE=[0 0] +case:(6, 2) -> NW=[0 0] +case:(6, 2) -> SW=[] +case:(6, 3) -> N=[ 0 0 0 -1 1 0 0] +case:(6, 3) -> S=[0 0] +case:(6, 3) -> E=[0 0 0 0 0] +case:(6, 3) -> W=[0 0 0 0] +case:(6, 3) -> NE=[0 0 0 0] +case:(6, 3) -> SE=[0 0] +case:(6, 3) -> NW=[0 0 0] +case:(6, 3) -> SW=[] +case:(6, 4) -> N=[ 0 0 0 1 -1 0 0] +case:(6, 4) -> S=[0 0] +case:(6, 4) -> E=[0 0 0 0] +case:(6, 4) -> W=[0 0 0 0 0] +case:(6, 4) -> NE=[0 0 0] +case:(6, 4) -> SE=[0 0] +case:(6, 4) -> NW=[0 0 0 0] +case:(6, 4) -> SW=[] +case:(6, 5) -> N=[0 0 0 0 0 0 0] +case:(6, 5) -> S=[0 0] +case:(6, 5) -> E=[0 0 0] +case:(6, 5) -> W=[0 0 0 0 0 0] +case:(6, 5) -> NE=[0 0] +case:(6, 5) -> SE=[0 0] +case:(6, 5) -> NW=[0 0 0 1 0] +case:(6, 5) -> SW=[] +case:(6, 6) -> N=[0 0 0 0 0 0 0] +case:(6, 6) -> S=[0 0] +case:(6, 6) -> E=[0 0] +case:(6, 6) -> W=[0 0 0 0 0 0 0] +case:(6, 6) -> NE=[0] +case:(6, 6) -> SE=[0 0] +case:(6, 6) -> NW=[ 0 0 0 -1 -1 0] +case:(6, 6) -> SW=[] +case:(6, 7) -> N=[0 0 0 0 0 0 0] +case:(6, 7) -> S=[0 0] +case:(6, 7) -> E=[0] +case:(6, 7) -> W=[0 0 0 0 0 0 0 0] +case:(6, 7) -> NE=[] +case:(6, 7) -> SE=[0] +case:(6, 7) -> NW=[0 0 0 1 0 0] +case:(6, 7) -> SW=[] +case:(7, 0) -> N=[0 0 0 0 0 0 0 0] +case:(7, 0) -> S=[0] +case:(7, 0) -> E=[0 0 0 0 0 0 0 0] +case:(7, 0) -> W=[0] +case:(7, 0) -> NE=[ 0 0 0 -1 -1 0 0 0] +case:(7, 0) -> SE=[0] +case:(7, 0) -> NW=[] +case:(7, 0) -> SW=[0] +case:(7, 1) -> N=[0 0 0 0 0 0 0 0] +case:(7, 1) -> S=[0] +case:(7, 1) -> E=[0 0 0 0 0 0 0] +case:(7, 1) -> W=[0 0] +case:(7, 1) -> NE=[0 0 0 1 0 0 0] +case:(7, 1) -> SE=[0] +case:(7, 1) -> NW=[0] +case:(7, 1) -> SW=[] +case:(7, 2) -> N=[0 0 0 0 0 0 0 0] +case:(7, 2) -> S=[0] +case:(7, 2) -> E=[0 0 0 0 0 0] +case:(7, 2) -> W=[0 0 0] +case:(7, 2) -> NE=[0 0 0 0 0 0] +case:(7, 2) -> SE=[0] +case:(7, 2) -> NW=[0 0] +case:(7, 2) -> SW=[] +case:(7, 3) -> N=[ 0 0 0 -1 1 0 0 0] +case:(7, 3) -> S=[0] +case:(7, 3) -> E=[0 0 0 0 0] +case:(7, 3) -> W=[0 0 0 0] +case:(7, 3) -> NE=[0 0 0 0 0] +case:(7, 3) -> SE=[0] +case:(7, 3) -> NW=[0 0 0] +case:(7, 3) -> SW=[] +case:(7, 4) -> N=[ 0 0 0 1 -1 0 0 0] +case:(7, 4) -> S=[0] +case:(7, 4) -> E=[0 0 0 0] +case:(7, 4) -> W=[0 0 0 0 0] +case:(7, 4) -> NE=[0 0 0 0] +case:(7, 4) -> SE=[0] +case:(7, 4) -> NW=[0 0 0 0] +case:(7, 4) -> SW=[] +case:(7, 5) -> N=[0 0 0 0 0 0 0 0] +case:(7, 5) -> S=[0] +case:(7, 5) -> E=[0 0 0] +case:(7, 5) -> W=[0 0 0 0 0 0] +case:(7, 5) -> NE=[0 0 0] +case:(7, 5) -> SE=[0] +case:(7, 5) -> NW=[0 0 0 0 0] +case:(7, 5) -> SW=[] +case:(7, 6) -> N=[0 0 0 0 0 0 0 0] +case:(7, 6) -> S=[0] +case:(7, 6) -> E=[0 0] +case:(7, 6) -> W=[0 0 0 0 0 0 0] +case:(7, 6) -> NE=[0 0] +case:(7, 6) -> SE=[0] +case:(7, 6) -> NW=[0 0 0 1 0 0] +case:(7, 6) -> SW=[] +case:(7, 7) -> N=[0 0 0 0 0 0 0 0] +case:(7, 7) -> S=[0] +case:(7, 7) -> E=[0] +case:(7, 7) -> W=[0 0 0 0 0 0 0 0] +case:(7, 7) -> NE=[0] +case:(7, 7) -> SE=[0] +case:(7, 7) -> NW=[ 0 0 0 -1 -1 0 0] +case:(7, 7) -> SW=[] diff --git a/othello/natymundo/othello.py b/othello/natymundo/othello.py index 3c7d37f..8c21a70 100644 --- a/othello/natymundo/othello.py +++ b/othello/natymundo/othello.py @@ -1,7 +1,7 @@ # Othello import numpy as np -import tranche +# import tranche import timeit @@ -11,7 +11,6 @@ SIZE = 8 COLONNES = 'ABCDEFGH' LIGNES = [str(i+1) for i in range(SIZE)] -# DIRECTIONS = {(a, b) for a in (-1, 0, 1) for b in (-1, 0, 1)} DIRECTIONS = {'N':(-1,0), 'S':(1,0), 'E':(0,1), @@ -25,12 +24,12 @@ class Othello: - """ - Le jeu du même nom - """ + """ Le jeu du même nom """ def __init__(self, jeu=None, couleur=NOIR): - # self.log = 'LOG: \n' + with open('log.txt', 'w', encoding='utf8') as f: + f.write('LOG:\n') + self.log = '' if jeu: self.jeu = jeu else: @@ -99,10 +98,11 @@ def get_tranche(self, case, direction): elif direction == 'SE': return self.jeu[l:].diagonal(c) elif direction == 'SW': # A revoir - return np.array([self.jeu[i, k] for i, k in zip(range(l, SIZE), range(c))]) - # print((case, tranche)) + return self.jeu[l:].transpose().diagonal(c) + # return np.array([self.jeu[i, k] for i, k in zip(range(l, SIZE), range(c))]) elif direction == 'NE': # A revoir - return np.array([self.jeu[i, k] for i, k in zip(range(l+1), range(c, len(COLONNES)))]) + return self.jeu[:l+1].transpose().diagonal(c) + # return np.array([self.jeu[i, k] for i, k in zip(range(l+1), range(c, len(COLONNES)))]) elif direction == 'NW': return self.jeu[:l].diagonal(c-l) else: @@ -115,10 +115,9 @@ def directions(self, dico, case): """ for dir in DIRECTIONS: dico[case][dir] = self.get_tranche(case, dir) - # if not dir in dico[case]: - # dico[case][dir] = tranche.Tranche(self.jeu, case, dir) - # else: - # dico[case][dir] = dico[case][dir].update(self.jeu) + self.log = f'case:{case} -> {dir}={dico[case][dir]}\n' + with open('log.txt', 'a', encoding='utf8') as f: + f.write(self.log) def update(self): @@ -134,31 +133,49 @@ def update(self): else: for case in self.dico_de_tranches.keys(): self.directions(self.dico_de_tranches, case) - # self.log += f'{self.dico_de_tranches.items()}\n' + + def isJouable(self, tranche, couleur): + """ Booléen de jouabilité de la tranche selon la couleur """ + jouable = False + if len(tranche)>1: + if tranche[0]!=0: + if couleur in tranche[1:]: + jouable = True + return jouable + def casesJouables(self, couleur): - """ - renvoie une liste des cases qui sont jouables par la couleur indiquée - """ + """ renvoie une liste des cases qui sont jouables par la couleur indiquée """ liste = [] for case in self.dico_de_tranches.keys(): if self.jeu[case[0]][case[1]]==VIDE: # on ne regarde que les cases qui sont vide for tranche in self.dico_de_tranches[case].values(): - if tranche.description(couleur)[0]: + # if tranche.description(couleur)[0]: + if self.isJouable(tranche, couleur): liste.append(case) break return liste + + def get_index(self, tranche, couleur): + """ Renvoie l'index de la couleur cherchée dans la tranche considérée """ + index = 0 + if self.isJouable(tranche, couleur): + index = tranche[1:].tolist().index(couleur) + 1 + if index > 1 and not 0 in self.tranche[1:index]: + pass + else: index = 0 + return index def meilleurCoup(self, couleur): """ renvoie la case de la liste des possibilities qui retourne le plus de jetons """ possibilities = self.casesJouables(couleur) if possibilities: best = 0 - meilleureCase = possibilities[0] # -> Changer 0 par un random! + meilleureCase = possibilities[random(len(possibilities))] for case in possibilities: num = 0 for tranche in self.dico_de_tranches[case].values(): - num += tranche.description(couleur)[1]-1 + num += self.get_index(tranche, couleur)-1 if num > best: best = num meilleureCase = case @@ -222,8 +239,8 @@ def playJoueur(self, case): return 'EOG' # oth = Othello() -# with open('test.txt', 'w') as f: +# with open('log.txt', 'a', encoding='utf8') as f: # f.write(oth.log) # oth = Othello() -timeit.timeit('[Othello()]', globals=globals()) +# timeit.timeit('[Othello()]', globals=globals()) From 2abdf0178a649d3f442649e231e6e734aa2d472c Mon Sep 17 00:00:00 2001 From: natymundo <49127475+natymundo@users.noreply.github.com> Date: Sat, 27 Apr 2019 22:16:52 +0200 Subject: [PATCH 10/13] toujours rien... --- othello/natymundo/log.txt | 348 +++++++++++++++++------------------ othello/natymundo/othello.py | 8 +- 2 files changed, 178 insertions(+), 178 deletions(-) diff --git a/othello/natymundo/log.txt b/othello/natymundo/log.txt index 0c25999..7b90f74 100644 --- a/othello/natymundo/log.txt +++ b/othello/natymundo/log.txt @@ -5,455 +5,455 @@ case:(0, 0) -> E=[0 0 0 0 0 0 0 0] case:(0, 0) -> W=[0] case:(0, 0) -> NE=[0] case:(0, 0) -> SE=[ 0 0 0 -1 -1 0 0 0] -case:(0, 0) -> NW=[] -case:(0, 0) -> SW=[ 0 0 0 -1 -1 0 0 0] +case:(0, 0) -> NW=[0] +case:(0, 0) -> SW=[0] case:(0, 1) -> N=[0] case:(0, 1) -> S=[0 0 0 0 0 0 0 0] case:(0, 1) -> E=[0 0 0 0 0 0 0] case:(0, 1) -> W=[0 0] -case:(0, 1) -> NE=[] +case:(0, 1) -> NE=[0] case:(0, 1) -> SE=[0 0 0 1 0 0 0] -case:(0, 1) -> NW=[] -case:(0, 1) -> SW=[0 0 0 1 0 0 0] +case:(0, 1) -> NW=[0] +case:(0, 1) -> SW=[0 0] case:(0, 2) -> N=[0] case:(0, 2) -> S=[0 0 0 0 0 0 0 0] case:(0, 2) -> E=[0 0 0 0 0 0] case:(0, 2) -> W=[0 0 0] -case:(0, 2) -> NE=[] +case:(0, 2) -> NE=[0] case:(0, 2) -> SE=[0 0 0 0 0 0] -case:(0, 2) -> NW=[] -case:(0, 2) -> SW=[0 0 0 0 0 0] +case:(0, 2) -> NW=[0] +case:(0, 2) -> SW=[0 0 0] case:(0, 3) -> N=[0] case:(0, 3) -> S=[ 0 0 0 -1 1 0 0 0] case:(0, 3) -> E=[0 0 0 0 0] case:(0, 3) -> W=[0 0 0 0] -case:(0, 3) -> NE=[] +case:(0, 3) -> NE=[0] case:(0, 3) -> SE=[0 0 0 0 0] -case:(0, 3) -> NW=[] -case:(0, 3) -> SW=[0 0 0 0 0] +case:(0, 3) -> NW=[0] +case:(0, 3) -> SW=[ 0 0 0 -1] case:(0, 4) -> N=[0] case:(0, 4) -> S=[ 0 0 0 1 -1 0 0 0] case:(0, 4) -> E=[0 0 0 0] case:(0, 4) -> W=[0 0 0 0 0] -case:(0, 4) -> NE=[] +case:(0, 4) -> NE=[0] case:(0, 4) -> SE=[0 0 0 0] -case:(0, 4) -> NW=[] -case:(0, 4) -> SW=[0 0 0 0] +case:(0, 4) -> NW=[0] +case:(0, 4) -> SW=[ 0 0 0 -1 -1] case:(0, 5) -> N=[0] case:(0, 5) -> S=[0 0 0 0 0 0 0 0] case:(0, 5) -> E=[0 0 0] case:(0, 5) -> W=[0 0 0 0 0 0] -case:(0, 5) -> NE=[] +case:(0, 5) -> NE=[0] case:(0, 5) -> SE=[0 0 0] -case:(0, 5) -> NW=[] -case:(0, 5) -> SW=[0 0 0] +case:(0, 5) -> NW=[0] +case:(0, 5) -> SW=[ 0 0 0 -1 -1 0] case:(0, 6) -> N=[0] case:(0, 6) -> S=[0 0 0 0 0 0 0 0] case:(0, 6) -> E=[0 0] case:(0, 6) -> W=[0 0 0 0 0 0 0] -case:(0, 6) -> NE=[] +case:(0, 6) -> NE=[0] case:(0, 6) -> SE=[0 0] -case:(0, 6) -> NW=[] -case:(0, 6) -> SW=[0 0] +case:(0, 6) -> NW=[0] +case:(0, 6) -> SW=[ 0 0 0 -1 -1 0 0] case:(0, 7) -> N=[0] case:(0, 7) -> S=[0 0 0 0 0 0 0 0] case:(0, 7) -> E=[0] case:(0, 7) -> W=[0 0 0 0 0 0 0 0] -case:(0, 7) -> NE=[] +case:(0, 7) -> NE=[0] case:(0, 7) -> SE=[0] -case:(0, 7) -> NW=[] -case:(0, 7) -> SW=[0] +case:(0, 7) -> NW=[0] +case:(0, 7) -> SW=[ 0 0 0 -1 -1 0 0 0] case:(1, 0) -> N=[0 0] case:(1, 0) -> S=[0 0 0 0 0 0 0] case:(1, 0) -> E=[0 0 0 0 0 0 0 0] case:(1, 0) -> W=[0] case:(1, 0) -> NE=[0 0] case:(1, 0) -> SE=[0 0 0 1 0 0 0] -case:(1, 0) -> NW=[] -case:(1, 0) -> SW=[0 0 0 1 0 0 0] +case:(1, 0) -> NW=[0] +case:(1, 0) -> SW=[0] case:(1, 1) -> N=[0 0] case:(1, 1) -> S=[0 0 0 0 0 0 0] case:(1, 1) -> E=[0 0 0 0 0 0 0] case:(1, 1) -> W=[0 0] -case:(1, 1) -> NE=[0] +case:(1, 1) -> NE=[0 0] case:(1, 1) -> SE=[ 0 0 -1 -1 0 0 0] -case:(1, 1) -> NW=[0] -case:(1, 1) -> SW=[0 0 0 0 0 0] +case:(1, 1) -> NW=[0 0] +case:(1, 1) -> SW=[0 0] case:(1, 2) -> N=[0 0] case:(1, 2) -> S=[0 0 0 0 0 0 0] case:(1, 2) -> E=[0 0 0 0 0 0] case:(1, 2) -> W=[0 0 0] -case:(1, 2) -> NE=[] +case:(1, 2) -> NE=[0 0] case:(1, 2) -> SE=[0 0 1 0 0 0] -case:(1, 2) -> NW=[0] -case:(1, 2) -> SW=[0 0 0 0 0] +case:(1, 2) -> NW=[0 0] +case:(1, 2) -> SW=[0 0 0] case:(1, 3) -> N=[0 0] case:(1, 3) -> S=[ 0 0 -1 1 0 0 0] case:(1, 3) -> E=[0 0 0 0 0] case:(1, 3) -> W=[0 0 0 0] -case:(1, 3) -> NE=[] +case:(1, 3) -> NE=[0 0] case:(1, 3) -> SE=[0 0 0 0 0] -case:(1, 3) -> NW=[0] -case:(1, 3) -> SW=[0 0 0 0] +case:(1, 3) -> NW=[0 0] +case:(1, 3) -> SW=[0 0 0 1] case:(1, 4) -> N=[0 0] case:(1, 4) -> S=[ 0 0 1 -1 0 0 0] case:(1, 4) -> E=[0 0 0 0] case:(1, 4) -> W=[0 0 0 0 0] -case:(1, 4) -> NE=[] +case:(1, 4) -> NE=[0 0] case:(1, 4) -> SE=[0 0 0 0] -case:(1, 4) -> NW=[0] -case:(1, 4) -> SW=[0 0 0] +case:(1, 4) -> NW=[0 0] +case:(1, 4) -> SW=[0 0 0 1 0] case:(1, 5) -> N=[0 0] case:(1, 5) -> S=[0 0 0 0 0 0 0] case:(1, 5) -> E=[0 0 0] case:(1, 5) -> W=[0 0 0 0 0 0] -case:(1, 5) -> NE=[] +case:(1, 5) -> NE=[0 0] case:(1, 5) -> SE=[0 0 0] -case:(1, 5) -> NW=[0] -case:(1, 5) -> SW=[0 0] +case:(1, 5) -> NW=[0 0] +case:(1, 5) -> SW=[0 0 0 1 0 0] case:(1, 6) -> N=[0 0] case:(1, 6) -> S=[0 0 0 0 0 0 0] case:(1, 6) -> E=[0 0] case:(1, 6) -> W=[0 0 0 0 0 0 0] -case:(1, 6) -> NE=[] +case:(1, 6) -> NE=[0 0] case:(1, 6) -> SE=[0 0] -case:(1, 6) -> NW=[0] -case:(1, 6) -> SW=[0] +case:(1, 6) -> NW=[0 0] +case:(1, 6) -> SW=[0 0 0 1 0 0 0] case:(1, 7) -> N=[0 0] case:(1, 7) -> S=[0 0 0 0 0 0 0] case:(1, 7) -> E=[0] case:(1, 7) -> W=[0 0 0 0 0 0 0 0] -case:(1, 7) -> NE=[] +case:(1, 7) -> NE=[0] case:(1, 7) -> SE=[0] -case:(1, 7) -> NW=[0] -case:(1, 7) -> SW=[] +case:(1, 7) -> NW=[0 0] +case:(1, 7) -> SW=[0 0 0 1 0 0 0] case:(2, 0) -> N=[0 0 0] case:(2, 0) -> S=[0 0 0 0 0 0] case:(2, 0) -> E=[0 0 0 0 0 0 0 0] case:(2, 0) -> W=[0] case:(2, 0) -> NE=[0 0 0] case:(2, 0) -> SE=[0 0 0 0 0 0] -case:(2, 0) -> NW=[] -case:(2, 0) -> SW=[0 0 0 0 0 0] +case:(2, 0) -> NW=[0] +case:(2, 0) -> SW=[0] case:(2, 1) -> N=[0 0 0] case:(2, 1) -> S=[0 0 0 0 0 0] case:(2, 1) -> E=[0 0 0 0 0 0 0] case:(2, 1) -> W=[0 0] -case:(2, 1) -> NE=[0 0] +case:(2, 1) -> NE=[0 0 0] case:(2, 1) -> SE=[0 0 1 0 0 0] -case:(2, 1) -> NW=[0] -case:(2, 1) -> SW=[0 0 0 0 0] +case:(2, 1) -> NW=[0 0] +case:(2, 1) -> SW=[0 0] case:(2, 2) -> N=[0 0 0] case:(2, 2) -> S=[0 0 0 0 0 0] case:(2, 2) -> E=[0 0 0 0 0 0] case:(2, 2) -> W=[0 0 0] -case:(2, 2) -> NE=[0] +case:(2, 2) -> NE=[0 0 0] case:(2, 2) -> SE=[ 0 -1 -1 0 0 0] -case:(2, 2) -> NW=[0 0] -case:(2, 2) -> SW=[0 0 0 0] +case:(2, 2) -> NW=[0 0 0] +case:(2, 2) -> SW=[0 0 0] case:(2, 3) -> N=[0 0 0] case:(2, 3) -> S=[ 0 -1 1 0 0 0] case:(2, 3) -> E=[0 0 0 0 0] case:(2, 3) -> W=[0 0 0 0] -case:(2, 3) -> NE=[] +case:(2, 3) -> NE=[0 0 0] case:(2, 3) -> SE=[0 1 0 0 0] -case:(2, 3) -> NW=[0 0] -case:(2, 3) -> SW=[0 0 0] +case:(2, 3) -> NW=[0 0 0] +case:(2, 3) -> SW=[0 0 0 0] case:(2, 4) -> N=[0 0 0] case:(2, 4) -> S=[ 0 1 -1 0 0 0] case:(2, 4) -> E=[0 0 0 0] case:(2, 4) -> W=[0 0 0 0 0] -case:(2, 4) -> NE=[] +case:(2, 4) -> NE=[0 0 0] case:(2, 4) -> SE=[0 0 0 0] -case:(2, 4) -> NW=[0 0] -case:(2, 4) -> SW=[0 0] +case:(2, 4) -> NW=[0 0 0] +case:(2, 4) -> SW=[0 0 0 0 0] case:(2, 5) -> N=[0 0 0] case:(2, 5) -> S=[0 0 0 0 0 0] case:(2, 5) -> E=[0 0 0] case:(2, 5) -> W=[0 0 0 0 0 0] -case:(2, 5) -> NE=[] +case:(2, 5) -> NE=[0 0 0] case:(2, 5) -> SE=[0 0 0] -case:(2, 5) -> NW=[0 0] -case:(2, 5) -> SW=[0] +case:(2, 5) -> NW=[0 0 0] +case:(2, 5) -> SW=[0 0 0 0 0 0] case:(2, 6) -> N=[0 0 0] case:(2, 6) -> S=[0 0 0 0 0 0] case:(2, 6) -> E=[0 0] case:(2, 6) -> W=[0 0 0 0 0 0 0] -case:(2, 6) -> NE=[] +case:(2, 6) -> NE=[0 0] case:(2, 6) -> SE=[0 0] -case:(2, 6) -> NW=[0 0] -case:(2, 6) -> SW=[] +case:(2, 6) -> NW=[0 0 0] +case:(2, 6) -> SW=[0 0 0 0 0 0] case:(2, 7) -> N=[0 0 0] case:(2, 7) -> S=[0 0 0 0 0 0] case:(2, 7) -> E=[0] case:(2, 7) -> W=[0 0 0 0 0 0 0 0] -case:(2, 7) -> NE=[] +case:(2, 7) -> NE=[0] case:(2, 7) -> SE=[0] -case:(2, 7) -> NW=[0 0] -case:(2, 7) -> SW=[] +case:(2, 7) -> NW=[0 0 0] +case:(2, 7) -> SW=[0 0 0 0 0 0] case:(3, 0) -> N=[0 0 0 0] case:(3, 0) -> S=[0 0 0 0 0] case:(3, 0) -> E=[ 0 0 0 -1 1 0 0 0] case:(3, 0) -> W=[0] case:(3, 0) -> NE=[ 0 0 0 -1] case:(3, 0) -> SE=[0 0 0 0 0] -case:(3, 0) -> NW=[] -case:(3, 0) -> SW=[0 0 0 0 0] +case:(3, 0) -> NW=[0] +case:(3, 0) -> SW=[0] case:(3, 1) -> N=[0 0 0 0] case:(3, 1) -> S=[0 0 0 0 0] case:(3, 1) -> E=[ 0 0 -1 1 0 0 0] case:(3, 1) -> W=[0 0] -case:(3, 1) -> NE=[0 0 0] +case:(3, 1) -> NE=[0 0 0 1] case:(3, 1) -> SE=[0 0 0 0 0] -case:(3, 1) -> NW=[0] -case:(3, 1) -> SW=[0 0 0 0] +case:(3, 1) -> NW=[0 0] +case:(3, 1) -> SW=[0 0] case:(3, 2) -> N=[0 0 0 0] case:(3, 2) -> S=[0 0 0 0 0] case:(3, 2) -> E=[ 0 -1 1 0 0 0] case:(3, 2) -> W=[0 0 0] -case:(3, 2) -> NE=[0 0] +case:(3, 2) -> NE=[0 0 0 0] case:(3, 2) -> SE=[0 1 0 0 0] -case:(3, 2) -> NW=[0 0] +case:(3, 2) -> NW=[0 0 0] case:(3, 2) -> SW=[0 0 0] case:(3, 3) -> N=[ 0 0 0 -1] case:(3, 3) -> S=[-1 1 0 0 0] case:(3, 3) -> E=[-1 1 0 0 0] case:(3, 3) -> W=[ 0 0 0 -1] -case:(3, 3) -> NE=[0] +case:(3, 3) -> NE=[0 0 0 0] case:(3, 3) -> SE=[-1 -1 0 0 0] -case:(3, 3) -> NW=[0 0 0] -case:(3, 3) -> SW=[0 0] +case:(3, 3) -> NW=[-1 0 0 0] +case:(3, 3) -> SW=[0 0 0 0] case:(3, 4) -> N=[0 0 0 1] case:(3, 4) -> S=[ 1 -1 0 0 0] case:(3, 4) -> E=[1 0 0 0] case:(3, 4) -> W=[ 0 0 0 -1 1] -case:(3, 4) -> NE=[] +case:(3, 4) -> NE=[0 0 0 0] case:(3, 4) -> SE=[1 0 0 0] -case:(3, 4) -> NW=[0 0 0] -case:(3, 4) -> SW=[0] +case:(3, 4) -> NW=[1 0 0 0] +case:(3, 4) -> SW=[0 0 0 0 0] case:(3, 5) -> N=[0 0 0 0] case:(3, 5) -> S=[0 0 0 0 0] case:(3, 5) -> E=[0 0 0] case:(3, 5) -> W=[ 0 0 0 -1 1 0] -case:(3, 5) -> NE=[] +case:(3, 5) -> NE=[0 0 0] case:(3, 5) -> SE=[0 0 0] -case:(3, 5) -> NW=[0 0 0] -case:(3, 5) -> SW=[] +case:(3, 5) -> NW=[0 0 0 0] +case:(3, 5) -> SW=[0 0 0 0 0] case:(3, 6) -> N=[0 0 0 0] case:(3, 6) -> S=[0 0 0 0 0] case:(3, 6) -> E=[0 0] case:(3, 6) -> W=[ 0 0 0 -1 1 0 0] -case:(3, 6) -> NE=[] +case:(3, 6) -> NE=[0 0] case:(3, 6) -> SE=[0 0] -case:(3, 6) -> NW=[0 0 0] -case:(3, 6) -> SW=[] +case:(3, 6) -> NW=[0 0 0 0] +case:(3, 6) -> SW=[0 0 0 0 0] case:(3, 7) -> N=[0 0 0 0] case:(3, 7) -> S=[0 0 0 0 0] case:(3, 7) -> E=[0] case:(3, 7) -> W=[ 0 0 0 -1 1 0 0 0] -case:(3, 7) -> NE=[] +case:(3, 7) -> NE=[0] case:(3, 7) -> SE=[0] -case:(3, 7) -> NW=[0 0 0] -case:(3, 7) -> SW=[] +case:(3, 7) -> NW=[0 0 0 0] +case:(3, 7) -> SW=[0 0 0 0 0] case:(4, 0) -> N=[0 0 0 0 0] case:(4, 0) -> S=[0 0 0 0] case:(4, 0) -> E=[ 0 0 0 1 -1 0 0 0] case:(4, 0) -> W=[0] case:(4, 0) -> NE=[ 0 0 0 -1 -1] case:(4, 0) -> SE=[0 0 0 0] -case:(4, 0) -> NW=[] -case:(4, 0) -> SW=[0 0 0 0] +case:(4, 0) -> NW=[0] +case:(4, 0) -> SW=[0] case:(4, 1) -> N=[0 0 0 0 0] case:(4, 1) -> S=[0 0 0 0] case:(4, 1) -> E=[ 0 0 1 -1 0 0 0] case:(4, 1) -> W=[0 0] -case:(4, 1) -> NE=[0 0 0 1] +case:(4, 1) -> NE=[0 0 0 1 0] case:(4, 1) -> SE=[0 0 0 0] -case:(4, 1) -> NW=[0] -case:(4, 1) -> SW=[0 0 0] +case:(4, 1) -> NW=[0 0] +case:(4, 1) -> SW=[0 0] case:(4, 2) -> N=[0 0 0 0 0] case:(4, 2) -> S=[0 0 0 0] case:(4, 2) -> E=[ 0 1 -1 0 0 0] case:(4, 2) -> W=[0 0 0] -case:(4, 2) -> NE=[0 0 0] +case:(4, 2) -> NE=[0 0 0 0 0] case:(4, 2) -> SE=[0 0 0 0] -case:(4, 2) -> NW=[0 0] -case:(4, 2) -> SW=[0 0] +case:(4, 2) -> NW=[0 0 0] +case:(4, 2) -> SW=[0 0 0] case:(4, 3) -> N=[ 0 0 0 -1 1] case:(4, 3) -> S=[1 0 0 0] case:(4, 3) -> E=[ 1 -1 0 0 0] case:(4, 3) -> W=[0 0 0 1] -case:(4, 3) -> NE=[0 0] +case:(4, 3) -> NE=[0 0 0 0 0] case:(4, 3) -> SE=[1 0 0 0] -case:(4, 3) -> NW=[0 0 0] -case:(4, 3) -> SW=[0] +case:(4, 3) -> NW=[1 0 0 0] +case:(4, 3) -> SW=[0 0 0 0] case:(4, 4) -> N=[ 0 0 0 1 -1] case:(4, 4) -> S=[-1 0 0 0] case:(4, 4) -> E=[-1 0 0 0] case:(4, 4) -> W=[ 0 0 0 1 -1] -case:(4, 4) -> NE=[0] +case:(4, 4) -> NE=[0 0 0 0] case:(4, 4) -> SE=[-1 0 0 0] -case:(4, 4) -> NW=[ 0 0 0 -1] -case:(4, 4) -> SW=[] +case:(4, 4) -> NW=[-1 -1 0 0 0] +case:(4, 4) -> SW=[0 0 0 0] case:(4, 5) -> N=[0 0 0 0 0] case:(4, 5) -> S=[0 0 0 0] case:(4, 5) -> E=[0 0 0] case:(4, 5) -> W=[ 0 0 0 1 -1 0] -case:(4, 5) -> NE=[] +case:(4, 5) -> NE=[0 0 0] case:(4, 5) -> SE=[0 0 0] -case:(4, 5) -> NW=[0 0 0 1] -case:(4, 5) -> SW=[] +case:(4, 5) -> NW=[0 1 0 0 0] +case:(4, 5) -> SW=[0 0 0 0] case:(4, 6) -> N=[0 0 0 0 0] case:(4, 6) -> S=[0 0 0 0] case:(4, 6) -> E=[0 0] case:(4, 6) -> W=[ 0 0 0 1 -1 0 0] -case:(4, 6) -> NE=[] +case:(4, 6) -> NE=[0 0] case:(4, 6) -> SE=[0 0] -case:(4, 6) -> NW=[0 0 0 0] -case:(4, 6) -> SW=[] +case:(4, 6) -> NW=[0 0 0 0 0] +case:(4, 6) -> SW=[0 0 0 0] case:(4, 7) -> N=[0 0 0 0 0] case:(4, 7) -> S=[0 0 0 0] case:(4, 7) -> E=[0] case:(4, 7) -> W=[ 0 0 0 1 -1 0 0 0] -case:(4, 7) -> NE=[] +case:(4, 7) -> NE=[0] case:(4, 7) -> SE=[0] -case:(4, 7) -> NW=[0 0 0 0] -case:(4, 7) -> SW=[] +case:(4, 7) -> NW=[0 0 0 0 0] +case:(4, 7) -> SW=[0 0 0 0] case:(5, 0) -> N=[0 0 0 0 0 0] case:(5, 0) -> S=[0 0 0] case:(5, 0) -> E=[0 0 0 0 0 0 0 0] case:(5, 0) -> W=[0] case:(5, 0) -> NE=[ 0 0 0 -1 -1 0] case:(5, 0) -> SE=[0 0 0] -case:(5, 0) -> NW=[] -case:(5, 0) -> SW=[0 0 0] +case:(5, 0) -> NW=[0] +case:(5, 0) -> SW=[0] case:(5, 1) -> N=[0 0 0 0 0 0] case:(5, 1) -> S=[0 0 0] case:(5, 1) -> E=[0 0 0 0 0 0 0] case:(5, 1) -> W=[0 0] -case:(5, 1) -> NE=[0 0 0 1 0] +case:(5, 1) -> NE=[0 0 0 1 0 0] case:(5, 1) -> SE=[0 0 0] -case:(5, 1) -> NW=[0] +case:(5, 1) -> NW=[0 0] case:(5, 1) -> SW=[0 0] case:(5, 2) -> N=[0 0 0 0 0 0] case:(5, 2) -> S=[0 0 0] case:(5, 2) -> E=[0 0 0 0 0 0] case:(5, 2) -> W=[0 0 0] -case:(5, 2) -> NE=[0 0 0 0] +case:(5, 2) -> NE=[0 0 0 0 0 0] case:(5, 2) -> SE=[0 0 0] -case:(5, 2) -> NW=[0 0] -case:(5, 2) -> SW=[0] +case:(5, 2) -> NW=[0 0 0] +case:(5, 2) -> SW=[0 0 0] case:(5, 3) -> N=[ 0 0 0 -1 1 0] case:(5, 3) -> S=[0 0 0] case:(5, 3) -> E=[0 0 0 0 0] case:(5, 3) -> W=[0 0 0 0] -case:(5, 3) -> NE=[0 0 0] +case:(5, 3) -> NE=[0 0 0 0 0] case:(5, 3) -> SE=[0 0 0] -case:(5, 3) -> NW=[0 0 0] -case:(5, 3) -> SW=[] +case:(5, 3) -> NW=[0 0 0 0] +case:(5, 3) -> SW=[0 0 0] case:(5, 4) -> N=[ 0 0 0 1 -1 0] case:(5, 4) -> S=[0 0 0] case:(5, 4) -> E=[0 0 0 0] case:(5, 4) -> W=[0 0 0 0 0] -case:(5, 4) -> NE=[0 0] +case:(5, 4) -> NE=[0 0 0 0] case:(5, 4) -> SE=[0 0 0] -case:(5, 4) -> NW=[0 0 0 1] -case:(5, 4) -> SW=[] +case:(5, 4) -> NW=[0 1 0 0 0] +case:(5, 4) -> SW=[0 0 0] case:(5, 5) -> N=[0 0 0 0 0 0] case:(5, 5) -> S=[0 0 0] case:(5, 5) -> E=[0 0 0] case:(5, 5) -> W=[0 0 0 0 0 0] -case:(5, 5) -> NE=[0] +case:(5, 5) -> NE=[0 0 0] case:(5, 5) -> SE=[0 0 0] -case:(5, 5) -> NW=[ 0 0 0 -1 -1] -case:(5, 5) -> SW=[] +case:(5, 5) -> NW=[ 0 -1 -1 0 0 0] +case:(5, 5) -> SW=[0 0 0] case:(5, 6) -> N=[0 0 0 0 0 0] case:(5, 6) -> S=[0 0 0] case:(5, 6) -> E=[0 0] case:(5, 6) -> W=[0 0 0 0 0 0 0] -case:(5, 6) -> NE=[] +case:(5, 6) -> NE=[0 0] case:(5, 6) -> SE=[0 0] -case:(5, 6) -> NW=[0 0 0 1 0] -case:(5, 6) -> SW=[] +case:(5, 6) -> NW=[0 0 1 0 0 0] +case:(5, 6) -> SW=[0 0 0] case:(5, 7) -> N=[0 0 0 0 0 0] case:(5, 7) -> S=[0 0 0] case:(5, 7) -> E=[0] case:(5, 7) -> W=[0 0 0 0 0 0 0 0] -case:(5, 7) -> NE=[] +case:(5, 7) -> NE=[0] case:(5, 7) -> SE=[0] -case:(5, 7) -> NW=[0 0 0 0 0] -case:(5, 7) -> SW=[] +case:(5, 7) -> NW=[0 0 0 0 0 0] +case:(5, 7) -> SW=[0 0 0] case:(6, 0) -> N=[0 0 0 0 0 0 0] case:(6, 0) -> S=[0 0] case:(6, 0) -> E=[0 0 0 0 0 0 0 0] case:(6, 0) -> W=[0] case:(6, 0) -> NE=[ 0 0 0 -1 -1 0 0] case:(6, 0) -> SE=[0 0] -case:(6, 0) -> NW=[] -case:(6, 0) -> SW=[0 0] +case:(6, 0) -> NW=[0] +case:(6, 0) -> SW=[0] case:(6, 1) -> N=[0 0 0 0 0 0 0] case:(6, 1) -> S=[0 0] case:(6, 1) -> E=[0 0 0 0 0 0 0] case:(6, 1) -> W=[0 0] -case:(6, 1) -> NE=[0 0 0 1 0 0] +case:(6, 1) -> NE=[0 0 0 1 0 0 0] case:(6, 1) -> SE=[0 0] -case:(6, 1) -> NW=[0] -case:(6, 1) -> SW=[0] +case:(6, 1) -> NW=[0 0] +case:(6, 1) -> SW=[0 0] case:(6, 2) -> N=[0 0 0 0 0 0 0] case:(6, 2) -> S=[0 0] case:(6, 2) -> E=[0 0 0 0 0 0] case:(6, 2) -> W=[0 0 0] -case:(6, 2) -> NE=[0 0 0 0 0] +case:(6, 2) -> NE=[0 0 0 0 0 0] case:(6, 2) -> SE=[0 0] -case:(6, 2) -> NW=[0 0] -case:(6, 2) -> SW=[] +case:(6, 2) -> NW=[0 0 0] +case:(6, 2) -> SW=[0 0] case:(6, 3) -> N=[ 0 0 0 -1 1 0 0] case:(6, 3) -> S=[0 0] case:(6, 3) -> E=[0 0 0 0 0] case:(6, 3) -> W=[0 0 0 0] -case:(6, 3) -> NE=[0 0 0 0] +case:(6, 3) -> NE=[0 0 0 0 0] case:(6, 3) -> SE=[0 0] -case:(6, 3) -> NW=[0 0 0] -case:(6, 3) -> SW=[] +case:(6, 3) -> NW=[0 0 0 0] +case:(6, 3) -> SW=[0 0] case:(6, 4) -> N=[ 0 0 0 1 -1 0 0] case:(6, 4) -> S=[0 0] case:(6, 4) -> E=[0 0 0 0] case:(6, 4) -> W=[0 0 0 0 0] -case:(6, 4) -> NE=[0 0 0] +case:(6, 4) -> NE=[0 0 0 0] case:(6, 4) -> SE=[0 0] -case:(6, 4) -> NW=[0 0 0 0] -case:(6, 4) -> SW=[] +case:(6, 4) -> NW=[0 0 0 0 0] +case:(6, 4) -> SW=[0 0] case:(6, 5) -> N=[0 0 0 0 0 0 0] case:(6, 5) -> S=[0 0] case:(6, 5) -> E=[0 0 0] case:(6, 5) -> W=[0 0 0 0 0 0] -case:(6, 5) -> NE=[0 0] +case:(6, 5) -> NE=[0 0 0] case:(6, 5) -> SE=[0 0] -case:(6, 5) -> NW=[0 0 0 1 0] -case:(6, 5) -> SW=[] +case:(6, 5) -> NW=[0 0 1 0 0 0] +case:(6, 5) -> SW=[0 0] case:(6, 6) -> N=[0 0 0 0 0 0 0] case:(6, 6) -> S=[0 0] case:(6, 6) -> E=[0 0] case:(6, 6) -> W=[0 0 0 0 0 0 0] -case:(6, 6) -> NE=[0] +case:(6, 6) -> NE=[0 0] case:(6, 6) -> SE=[0 0] -case:(6, 6) -> NW=[ 0 0 0 -1 -1 0] -case:(6, 6) -> SW=[] +case:(6, 6) -> NW=[ 0 0 -1 -1 0 0 0] +case:(6, 6) -> SW=[0 0] case:(6, 7) -> N=[0 0 0 0 0 0 0] case:(6, 7) -> S=[0 0] case:(6, 7) -> E=[0] case:(6, 7) -> W=[0 0 0 0 0 0 0 0] -case:(6, 7) -> NE=[] +case:(6, 7) -> NE=[0] case:(6, 7) -> SE=[0] -case:(6, 7) -> NW=[0 0 0 1 0 0] -case:(6, 7) -> SW=[] +case:(6, 7) -> NW=[0 0 0 1 0 0 0] +case:(6, 7) -> SW=[0 0] case:(7, 0) -> N=[0 0 0 0 0 0 0 0] case:(7, 0) -> S=[0] case:(7, 0) -> E=[0 0 0 0 0 0 0 0] case:(7, 0) -> W=[0] case:(7, 0) -> NE=[ 0 0 0 -1 -1 0 0 0] case:(7, 0) -> SE=[0] -case:(7, 0) -> NW=[] +case:(7, 0) -> NW=[0] case:(7, 0) -> SW=[0] case:(7, 1) -> N=[0 0 0 0 0 0 0 0] case:(7, 1) -> S=[0] @@ -461,53 +461,53 @@ case:(7, 1) -> E=[0 0 0 0 0 0 0] case:(7, 1) -> W=[0 0] case:(7, 1) -> NE=[0 0 0 1 0 0 0] case:(7, 1) -> SE=[0] -case:(7, 1) -> NW=[0] -case:(7, 1) -> SW=[] +case:(7, 1) -> NW=[0 0] +case:(7, 1) -> SW=[0] case:(7, 2) -> N=[0 0 0 0 0 0 0 0] case:(7, 2) -> S=[0] case:(7, 2) -> E=[0 0 0 0 0 0] case:(7, 2) -> W=[0 0 0] case:(7, 2) -> NE=[0 0 0 0 0 0] case:(7, 2) -> SE=[0] -case:(7, 2) -> NW=[0 0] -case:(7, 2) -> SW=[] +case:(7, 2) -> NW=[0 0 0] +case:(7, 2) -> SW=[0] case:(7, 3) -> N=[ 0 0 0 -1 1 0 0 0] case:(7, 3) -> S=[0] case:(7, 3) -> E=[0 0 0 0 0] case:(7, 3) -> W=[0 0 0 0] case:(7, 3) -> NE=[0 0 0 0 0] case:(7, 3) -> SE=[0] -case:(7, 3) -> NW=[0 0 0] -case:(7, 3) -> SW=[] +case:(7, 3) -> NW=[0 0 0 0] +case:(7, 3) -> SW=[0] case:(7, 4) -> N=[ 0 0 0 1 -1 0 0 0] case:(7, 4) -> S=[0] case:(7, 4) -> E=[0 0 0 0] case:(7, 4) -> W=[0 0 0 0 0] case:(7, 4) -> NE=[0 0 0 0] case:(7, 4) -> SE=[0] -case:(7, 4) -> NW=[0 0 0 0] -case:(7, 4) -> SW=[] +case:(7, 4) -> NW=[0 0 0 0 0] +case:(7, 4) -> SW=[0] case:(7, 5) -> N=[0 0 0 0 0 0 0 0] case:(7, 5) -> S=[0] case:(7, 5) -> E=[0 0 0] case:(7, 5) -> W=[0 0 0 0 0 0] case:(7, 5) -> NE=[0 0 0] case:(7, 5) -> SE=[0] -case:(7, 5) -> NW=[0 0 0 0 0] -case:(7, 5) -> SW=[] +case:(7, 5) -> NW=[0 0 0 0 0 0] +case:(7, 5) -> SW=[0] case:(7, 6) -> N=[0 0 0 0 0 0 0 0] case:(7, 6) -> S=[0] case:(7, 6) -> E=[0 0] case:(7, 6) -> W=[0 0 0 0 0 0 0] case:(7, 6) -> NE=[0 0] case:(7, 6) -> SE=[0] -case:(7, 6) -> NW=[0 0 0 1 0 0] -case:(7, 6) -> SW=[] +case:(7, 6) -> NW=[0 0 0 1 0 0 0] +case:(7, 6) -> SW=[0] case:(7, 7) -> N=[0 0 0 0 0 0 0 0] case:(7, 7) -> S=[0] case:(7, 7) -> E=[0] case:(7, 7) -> W=[0 0 0 0 0 0 0 0] case:(7, 7) -> NE=[0] case:(7, 7) -> SE=[0] -case:(7, 7) -> NW=[ 0 0 0 -1 -1 0 0] -case:(7, 7) -> SW=[] +case:(7, 7) -> NW=[ 0 0 0 -1 -1 0 0 0] +case:(7, 7) -> SW=[0] diff --git a/othello/natymundo/othello.py b/othello/natymundo/othello.py index 8c21a70..e1ef215 100644 --- a/othello/natymundo/othello.py +++ b/othello/natymundo/othello.py @@ -84,7 +84,7 @@ def get_couleur(self, joueur): def get_tranche(self, case, direction): """ - Renvoie une 'tranche' de la table à partir de la case donnée et dans la direction donnée + Renvoie une 'tranche' de la table à partir de la case donnée incluse et dans la direction donnée """ (l, c) = case if direction == 'E': @@ -98,13 +98,13 @@ def get_tranche(self, case, direction): elif direction == 'SE': return self.jeu[l:].diagonal(c) elif direction == 'SW': # A revoir - return self.jeu[l:].transpose().diagonal(c) + return self.jeu[l:, 0:c+1].transpose().diagonal() # nop # return np.array([self.jeu[i, k] for i, k in zip(range(l, SIZE), range(c))]) elif direction == 'NE': # A revoir - return self.jeu[:l+1].transpose().diagonal(c) + return self.jeu[:l+1, c:].transpose().diagonal() # nop # return np.array([self.jeu[i, k] for i, k in zip(range(l+1), range(c, len(COLONNES)))]) elif direction == 'NW': - return self.jeu[:l].diagonal(c-l) + return self.jeu[:l+1].diagonal(c-l)[::-1] else: return np.array([0]) From bd7d40dd7ed4898e47ccb15afbe5dc9259c18b27 Mon Sep 17 00:00:00 2001 From: natymundo <49127475+natymundo@users.noreply.github.com> Date: Sun, 28 Apr 2019 16:21:58 +0200 Subject: [PATCH 11/13] creation des tranches selon la direction -> ok! MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bon, le programme fait plein de boucles inutiles recalcule des fonctions complexes plein de fois. Il reste plein de choses à arranger. J'ai une petite idée pour ça. Mais il va falloir attendre le week-end prochain... --- othello/natymundo/log.txt | 548 +++-------------------------------- othello/natymundo/othello.py | 76 +++-- 2 files changed, 80 insertions(+), 544 deletions(-) diff --git a/othello/natymundo/log.txt b/othello/natymundo/log.txt index 7b90f74..3eb4666 100644 --- a/othello/natymundo/log.txt +++ b/othello/natymundo/log.txt @@ -1,513 +1,37 @@ LOG: -case:(0, 0) -> N=[0] -case:(0, 0) -> S=[0 0 0 0 0 0 0 0] -case:(0, 0) -> E=[0 0 0 0 0 0 0 0] -case:(0, 0) -> W=[0] -case:(0, 0) -> NE=[0] -case:(0, 0) -> SE=[ 0 0 0 -1 -1 0 0 0] -case:(0, 0) -> NW=[0] -case:(0, 0) -> SW=[0] -case:(0, 1) -> N=[0] -case:(0, 1) -> S=[0 0 0 0 0 0 0 0] -case:(0, 1) -> E=[0 0 0 0 0 0 0] -case:(0, 1) -> W=[0 0] -case:(0, 1) -> NE=[0] -case:(0, 1) -> SE=[0 0 0 1 0 0 0] -case:(0, 1) -> NW=[0] -case:(0, 1) -> SW=[0 0] -case:(0, 2) -> N=[0] -case:(0, 2) -> S=[0 0 0 0 0 0 0 0] -case:(0, 2) -> E=[0 0 0 0 0 0] -case:(0, 2) -> W=[0 0 0] -case:(0, 2) -> NE=[0] -case:(0, 2) -> SE=[0 0 0 0 0 0] -case:(0, 2) -> NW=[0] -case:(0, 2) -> SW=[0 0 0] -case:(0, 3) -> N=[0] -case:(0, 3) -> S=[ 0 0 0 -1 1 0 0 0] -case:(0, 3) -> E=[0 0 0 0 0] -case:(0, 3) -> W=[0 0 0 0] -case:(0, 3) -> NE=[0] -case:(0, 3) -> SE=[0 0 0 0 0] -case:(0, 3) -> NW=[0] -case:(0, 3) -> SW=[ 0 0 0 -1] -case:(0, 4) -> N=[0] -case:(0, 4) -> S=[ 0 0 0 1 -1 0 0 0] -case:(0, 4) -> E=[0 0 0 0] -case:(0, 4) -> W=[0 0 0 0 0] -case:(0, 4) -> NE=[0] -case:(0, 4) -> SE=[0 0 0 0] -case:(0, 4) -> NW=[0] -case:(0, 4) -> SW=[ 0 0 0 -1 -1] -case:(0, 5) -> N=[0] -case:(0, 5) -> S=[0 0 0 0 0 0 0 0] -case:(0, 5) -> E=[0 0 0] -case:(0, 5) -> W=[0 0 0 0 0 0] -case:(0, 5) -> NE=[0] -case:(0, 5) -> SE=[0 0 0] -case:(0, 5) -> NW=[0] -case:(0, 5) -> SW=[ 0 0 0 -1 -1 0] -case:(0, 6) -> N=[0] -case:(0, 6) -> S=[0 0 0 0 0 0 0 0] -case:(0, 6) -> E=[0 0] -case:(0, 6) -> W=[0 0 0 0 0 0 0] -case:(0, 6) -> NE=[0] -case:(0, 6) -> SE=[0 0] -case:(0, 6) -> NW=[0] -case:(0, 6) -> SW=[ 0 0 0 -1 -1 0 0] -case:(0, 7) -> N=[0] -case:(0, 7) -> S=[0 0 0 0 0 0 0 0] -case:(0, 7) -> E=[0] -case:(0, 7) -> W=[0 0 0 0 0 0 0 0] -case:(0, 7) -> NE=[0] -case:(0, 7) -> SE=[0] -case:(0, 7) -> NW=[0] -case:(0, 7) -> SW=[ 0 0 0 -1 -1 0 0 0] -case:(1, 0) -> N=[0 0] -case:(1, 0) -> S=[0 0 0 0 0 0 0] -case:(1, 0) -> E=[0 0 0 0 0 0 0 0] -case:(1, 0) -> W=[0] -case:(1, 0) -> NE=[0 0] -case:(1, 0) -> SE=[0 0 0 1 0 0 0] -case:(1, 0) -> NW=[0] -case:(1, 0) -> SW=[0] -case:(1, 1) -> N=[0 0] -case:(1, 1) -> S=[0 0 0 0 0 0 0] -case:(1, 1) -> E=[0 0 0 0 0 0 0] -case:(1, 1) -> W=[0 0] -case:(1, 1) -> NE=[0 0] -case:(1, 1) -> SE=[ 0 0 -1 -1 0 0 0] -case:(1, 1) -> NW=[0 0] -case:(1, 1) -> SW=[0 0] -case:(1, 2) -> N=[0 0] -case:(1, 2) -> S=[0 0 0 0 0 0 0] -case:(1, 2) -> E=[0 0 0 0 0 0] -case:(1, 2) -> W=[0 0 0] -case:(1, 2) -> NE=[0 0] -case:(1, 2) -> SE=[0 0 1 0 0 0] -case:(1, 2) -> NW=[0 0] -case:(1, 2) -> SW=[0 0 0] -case:(1, 3) -> N=[0 0] -case:(1, 3) -> S=[ 0 0 -1 1 0 0 0] -case:(1, 3) -> E=[0 0 0 0 0] -case:(1, 3) -> W=[0 0 0 0] -case:(1, 3) -> NE=[0 0] -case:(1, 3) -> SE=[0 0 0 0 0] -case:(1, 3) -> NW=[0 0] -case:(1, 3) -> SW=[0 0 0 1] -case:(1, 4) -> N=[0 0] -case:(1, 4) -> S=[ 0 0 1 -1 0 0 0] -case:(1, 4) -> E=[0 0 0 0] -case:(1, 4) -> W=[0 0 0 0 0] -case:(1, 4) -> NE=[0 0] -case:(1, 4) -> SE=[0 0 0 0] -case:(1, 4) -> NW=[0 0] -case:(1, 4) -> SW=[0 0 0 1 0] -case:(1, 5) -> N=[0 0] -case:(1, 5) -> S=[0 0 0 0 0 0 0] -case:(1, 5) -> E=[0 0 0] -case:(1, 5) -> W=[0 0 0 0 0 0] -case:(1, 5) -> NE=[0 0] -case:(1, 5) -> SE=[0 0 0] -case:(1, 5) -> NW=[0 0] -case:(1, 5) -> SW=[0 0 0 1 0 0] -case:(1, 6) -> N=[0 0] -case:(1, 6) -> S=[0 0 0 0 0 0 0] -case:(1, 6) -> E=[0 0] -case:(1, 6) -> W=[0 0 0 0 0 0 0] -case:(1, 6) -> NE=[0 0] -case:(1, 6) -> SE=[0 0] -case:(1, 6) -> NW=[0 0] -case:(1, 6) -> SW=[0 0 0 1 0 0 0] -case:(1, 7) -> N=[0 0] -case:(1, 7) -> S=[0 0 0 0 0 0 0] -case:(1, 7) -> E=[0] -case:(1, 7) -> W=[0 0 0 0 0 0 0 0] -case:(1, 7) -> NE=[0] -case:(1, 7) -> SE=[0] -case:(1, 7) -> NW=[0 0] -case:(1, 7) -> SW=[0 0 0 1 0 0 0] -case:(2, 0) -> N=[0 0 0] -case:(2, 0) -> S=[0 0 0 0 0 0] -case:(2, 0) -> E=[0 0 0 0 0 0 0 0] -case:(2, 0) -> W=[0] -case:(2, 0) -> NE=[0 0 0] -case:(2, 0) -> SE=[0 0 0 0 0 0] -case:(2, 0) -> NW=[0] -case:(2, 0) -> SW=[0] -case:(2, 1) -> N=[0 0 0] -case:(2, 1) -> S=[0 0 0 0 0 0] -case:(2, 1) -> E=[0 0 0 0 0 0 0] -case:(2, 1) -> W=[0 0] -case:(2, 1) -> NE=[0 0 0] -case:(2, 1) -> SE=[0 0 1 0 0 0] -case:(2, 1) -> NW=[0 0] -case:(2, 1) -> SW=[0 0] -case:(2, 2) -> N=[0 0 0] -case:(2, 2) -> S=[0 0 0 0 0 0] -case:(2, 2) -> E=[0 0 0 0 0 0] -case:(2, 2) -> W=[0 0 0] -case:(2, 2) -> NE=[0 0 0] -case:(2, 2) -> SE=[ 0 -1 -1 0 0 0] -case:(2, 2) -> NW=[0 0 0] -case:(2, 2) -> SW=[0 0 0] -case:(2, 3) -> N=[0 0 0] -case:(2, 3) -> S=[ 0 -1 1 0 0 0] -case:(2, 3) -> E=[0 0 0 0 0] -case:(2, 3) -> W=[0 0 0 0] -case:(2, 3) -> NE=[0 0 0] -case:(2, 3) -> SE=[0 1 0 0 0] -case:(2, 3) -> NW=[0 0 0] -case:(2, 3) -> SW=[0 0 0 0] -case:(2, 4) -> N=[0 0 0] -case:(2, 4) -> S=[ 0 1 -1 0 0 0] -case:(2, 4) -> E=[0 0 0 0] -case:(2, 4) -> W=[0 0 0 0 0] -case:(2, 4) -> NE=[0 0 0] -case:(2, 4) -> SE=[0 0 0 0] -case:(2, 4) -> NW=[0 0 0] -case:(2, 4) -> SW=[0 0 0 0 0] -case:(2, 5) -> N=[0 0 0] -case:(2, 5) -> S=[0 0 0 0 0 0] -case:(2, 5) -> E=[0 0 0] -case:(2, 5) -> W=[0 0 0 0 0 0] -case:(2, 5) -> NE=[0 0 0] -case:(2, 5) -> SE=[0 0 0] -case:(2, 5) -> NW=[0 0 0] -case:(2, 5) -> SW=[0 0 0 0 0 0] -case:(2, 6) -> N=[0 0 0] -case:(2, 6) -> S=[0 0 0 0 0 0] -case:(2, 6) -> E=[0 0] -case:(2, 6) -> W=[0 0 0 0 0 0 0] -case:(2, 6) -> NE=[0 0] -case:(2, 6) -> SE=[0 0] -case:(2, 6) -> NW=[0 0 0] -case:(2, 6) -> SW=[0 0 0 0 0 0] -case:(2, 7) -> N=[0 0 0] -case:(2, 7) -> S=[0 0 0 0 0 0] -case:(2, 7) -> E=[0] -case:(2, 7) -> W=[0 0 0 0 0 0 0 0] -case:(2, 7) -> NE=[0] -case:(2, 7) -> SE=[0] -case:(2, 7) -> NW=[0 0 0] -case:(2, 7) -> SW=[0 0 0 0 0 0] -case:(3, 0) -> N=[0 0 0 0] -case:(3, 0) -> S=[0 0 0 0 0] -case:(3, 0) -> E=[ 0 0 0 -1 1 0 0 0] -case:(3, 0) -> W=[0] -case:(3, 0) -> NE=[ 0 0 0 -1] -case:(3, 0) -> SE=[0 0 0 0 0] -case:(3, 0) -> NW=[0] -case:(3, 0) -> SW=[0] -case:(3, 1) -> N=[0 0 0 0] -case:(3, 1) -> S=[0 0 0 0 0] -case:(3, 1) -> E=[ 0 0 -1 1 0 0 0] -case:(3, 1) -> W=[0 0] -case:(3, 1) -> NE=[0 0 0 1] -case:(3, 1) -> SE=[0 0 0 0 0] -case:(3, 1) -> NW=[0 0] -case:(3, 1) -> SW=[0 0] -case:(3, 2) -> N=[0 0 0 0] -case:(3, 2) -> S=[0 0 0 0 0] -case:(3, 2) -> E=[ 0 -1 1 0 0 0] -case:(3, 2) -> W=[0 0 0] -case:(3, 2) -> NE=[0 0 0 0] -case:(3, 2) -> SE=[0 1 0 0 0] -case:(3, 2) -> NW=[0 0 0] -case:(3, 2) -> SW=[0 0 0] -case:(3, 3) -> N=[ 0 0 0 -1] -case:(3, 3) -> S=[-1 1 0 0 0] -case:(3, 3) -> E=[-1 1 0 0 0] -case:(3, 3) -> W=[ 0 0 0 -1] -case:(3, 3) -> NE=[0 0 0 0] -case:(3, 3) -> SE=[-1 -1 0 0 0] -case:(3, 3) -> NW=[-1 0 0 0] -case:(3, 3) -> SW=[0 0 0 0] -case:(3, 4) -> N=[0 0 0 1] -case:(3, 4) -> S=[ 1 -1 0 0 0] -case:(3, 4) -> E=[1 0 0 0] -case:(3, 4) -> W=[ 0 0 0 -1 1] -case:(3, 4) -> NE=[0 0 0 0] -case:(3, 4) -> SE=[1 0 0 0] -case:(3, 4) -> NW=[1 0 0 0] -case:(3, 4) -> SW=[0 0 0 0 0] -case:(3, 5) -> N=[0 0 0 0] -case:(3, 5) -> S=[0 0 0 0 0] -case:(3, 5) -> E=[0 0 0] -case:(3, 5) -> W=[ 0 0 0 -1 1 0] -case:(3, 5) -> NE=[0 0 0] -case:(3, 5) -> SE=[0 0 0] -case:(3, 5) -> NW=[0 0 0 0] -case:(3, 5) -> SW=[0 0 0 0 0] -case:(3, 6) -> N=[0 0 0 0] -case:(3, 6) -> S=[0 0 0 0 0] -case:(3, 6) -> E=[0 0] -case:(3, 6) -> W=[ 0 0 0 -1 1 0 0] -case:(3, 6) -> NE=[0 0] -case:(3, 6) -> SE=[0 0] -case:(3, 6) -> NW=[0 0 0 0] -case:(3, 6) -> SW=[0 0 0 0 0] -case:(3, 7) -> N=[0 0 0 0] -case:(3, 7) -> S=[0 0 0 0 0] -case:(3, 7) -> E=[0] -case:(3, 7) -> W=[ 0 0 0 -1 1 0 0 0] -case:(3, 7) -> NE=[0] -case:(3, 7) -> SE=[0] -case:(3, 7) -> NW=[0 0 0 0] -case:(3, 7) -> SW=[0 0 0 0 0] -case:(4, 0) -> N=[0 0 0 0 0] -case:(4, 0) -> S=[0 0 0 0] -case:(4, 0) -> E=[ 0 0 0 1 -1 0 0 0] -case:(4, 0) -> W=[0] -case:(4, 0) -> NE=[ 0 0 0 -1 -1] -case:(4, 0) -> SE=[0 0 0 0] -case:(4, 0) -> NW=[0] -case:(4, 0) -> SW=[0] -case:(4, 1) -> N=[0 0 0 0 0] -case:(4, 1) -> S=[0 0 0 0] -case:(4, 1) -> E=[ 0 0 1 -1 0 0 0] -case:(4, 1) -> W=[0 0] -case:(4, 1) -> NE=[0 0 0 1 0] -case:(4, 1) -> SE=[0 0 0 0] -case:(4, 1) -> NW=[0 0] -case:(4, 1) -> SW=[0 0] -case:(4, 2) -> N=[0 0 0 0 0] -case:(4, 2) -> S=[0 0 0 0] -case:(4, 2) -> E=[ 0 1 -1 0 0 0] -case:(4, 2) -> W=[0 0 0] -case:(4, 2) -> NE=[0 0 0 0 0] -case:(4, 2) -> SE=[0 0 0 0] -case:(4, 2) -> NW=[0 0 0] -case:(4, 2) -> SW=[0 0 0] -case:(4, 3) -> N=[ 0 0 0 -1 1] -case:(4, 3) -> S=[1 0 0 0] -case:(4, 3) -> E=[ 1 -1 0 0 0] -case:(4, 3) -> W=[0 0 0 1] -case:(4, 3) -> NE=[0 0 0 0 0] -case:(4, 3) -> SE=[1 0 0 0] -case:(4, 3) -> NW=[1 0 0 0] -case:(4, 3) -> SW=[0 0 0 0] -case:(4, 4) -> N=[ 0 0 0 1 -1] -case:(4, 4) -> S=[-1 0 0 0] -case:(4, 4) -> E=[-1 0 0 0] -case:(4, 4) -> W=[ 0 0 0 1 -1] -case:(4, 4) -> NE=[0 0 0 0] -case:(4, 4) -> SE=[-1 0 0 0] -case:(4, 4) -> NW=[-1 -1 0 0 0] -case:(4, 4) -> SW=[0 0 0 0] -case:(4, 5) -> N=[0 0 0 0 0] -case:(4, 5) -> S=[0 0 0 0] -case:(4, 5) -> E=[0 0 0] -case:(4, 5) -> W=[ 0 0 0 1 -1 0] -case:(4, 5) -> NE=[0 0 0] -case:(4, 5) -> SE=[0 0 0] -case:(4, 5) -> NW=[0 1 0 0 0] -case:(4, 5) -> SW=[0 0 0 0] -case:(4, 6) -> N=[0 0 0 0 0] -case:(4, 6) -> S=[0 0 0 0] -case:(4, 6) -> E=[0 0] -case:(4, 6) -> W=[ 0 0 0 1 -1 0 0] -case:(4, 6) -> NE=[0 0] -case:(4, 6) -> SE=[0 0] -case:(4, 6) -> NW=[0 0 0 0 0] -case:(4, 6) -> SW=[0 0 0 0] -case:(4, 7) -> N=[0 0 0 0 0] -case:(4, 7) -> S=[0 0 0 0] -case:(4, 7) -> E=[0] -case:(4, 7) -> W=[ 0 0 0 1 -1 0 0 0] -case:(4, 7) -> NE=[0] -case:(4, 7) -> SE=[0] -case:(4, 7) -> NW=[0 0 0 0 0] -case:(4, 7) -> SW=[0 0 0 0] -case:(5, 0) -> N=[0 0 0 0 0 0] -case:(5, 0) -> S=[0 0 0] -case:(5, 0) -> E=[0 0 0 0 0 0 0 0] -case:(5, 0) -> W=[0] -case:(5, 0) -> NE=[ 0 0 0 -1 -1 0] -case:(5, 0) -> SE=[0 0 0] -case:(5, 0) -> NW=[0] -case:(5, 0) -> SW=[0] -case:(5, 1) -> N=[0 0 0 0 0 0] -case:(5, 1) -> S=[0 0 0] -case:(5, 1) -> E=[0 0 0 0 0 0 0] -case:(5, 1) -> W=[0 0] -case:(5, 1) -> NE=[0 0 0 1 0 0] -case:(5, 1) -> SE=[0 0 0] -case:(5, 1) -> NW=[0 0] -case:(5, 1) -> SW=[0 0] -case:(5, 2) -> N=[0 0 0 0 0 0] -case:(5, 2) -> S=[0 0 0] -case:(5, 2) -> E=[0 0 0 0 0 0] -case:(5, 2) -> W=[0 0 0] -case:(5, 2) -> NE=[0 0 0 0 0 0] -case:(5, 2) -> SE=[0 0 0] -case:(5, 2) -> NW=[0 0 0] -case:(5, 2) -> SW=[0 0 0] -case:(5, 3) -> N=[ 0 0 0 -1 1 0] -case:(5, 3) -> S=[0 0 0] -case:(5, 3) -> E=[0 0 0 0 0] -case:(5, 3) -> W=[0 0 0 0] -case:(5, 3) -> NE=[0 0 0 0 0] -case:(5, 3) -> SE=[0 0 0] -case:(5, 3) -> NW=[0 0 0 0] -case:(5, 3) -> SW=[0 0 0] -case:(5, 4) -> N=[ 0 0 0 1 -1 0] -case:(5, 4) -> S=[0 0 0] -case:(5, 4) -> E=[0 0 0 0] -case:(5, 4) -> W=[0 0 0 0 0] -case:(5, 4) -> NE=[0 0 0 0] -case:(5, 4) -> SE=[0 0 0] -case:(5, 4) -> NW=[0 1 0 0 0] -case:(5, 4) -> SW=[0 0 0] -case:(5, 5) -> N=[0 0 0 0 0 0] -case:(5, 5) -> S=[0 0 0] -case:(5, 5) -> E=[0 0 0] -case:(5, 5) -> W=[0 0 0 0 0 0] -case:(5, 5) -> NE=[0 0 0] -case:(5, 5) -> SE=[0 0 0] -case:(5, 5) -> NW=[ 0 -1 -1 0 0 0] -case:(5, 5) -> SW=[0 0 0] -case:(5, 6) -> N=[0 0 0 0 0 0] -case:(5, 6) -> S=[0 0 0] -case:(5, 6) -> E=[0 0] -case:(5, 6) -> W=[0 0 0 0 0 0 0] -case:(5, 6) -> NE=[0 0] -case:(5, 6) -> SE=[0 0] -case:(5, 6) -> NW=[0 0 1 0 0 0] -case:(5, 6) -> SW=[0 0 0] -case:(5, 7) -> N=[0 0 0 0 0 0] -case:(5, 7) -> S=[0 0 0] -case:(5, 7) -> E=[0] -case:(5, 7) -> W=[0 0 0 0 0 0 0 0] -case:(5, 7) -> NE=[0] -case:(5, 7) -> SE=[0] -case:(5, 7) -> NW=[0 0 0 0 0 0] -case:(5, 7) -> SW=[0 0 0] -case:(6, 0) -> N=[0 0 0 0 0 0 0] -case:(6, 0) -> S=[0 0] -case:(6, 0) -> E=[0 0 0 0 0 0 0 0] -case:(6, 0) -> W=[0] -case:(6, 0) -> NE=[ 0 0 0 -1 -1 0 0] -case:(6, 0) -> SE=[0 0] -case:(6, 0) -> NW=[0] -case:(6, 0) -> SW=[0] -case:(6, 1) -> N=[0 0 0 0 0 0 0] -case:(6, 1) -> S=[0 0] -case:(6, 1) -> E=[0 0 0 0 0 0 0] -case:(6, 1) -> W=[0 0] -case:(6, 1) -> NE=[0 0 0 1 0 0 0] -case:(6, 1) -> SE=[0 0] -case:(6, 1) -> NW=[0 0] -case:(6, 1) -> SW=[0 0] -case:(6, 2) -> N=[0 0 0 0 0 0 0] -case:(6, 2) -> S=[0 0] -case:(6, 2) -> E=[0 0 0 0 0 0] -case:(6, 2) -> W=[0 0 0] -case:(6, 2) -> NE=[0 0 0 0 0 0] -case:(6, 2) -> SE=[0 0] -case:(6, 2) -> NW=[0 0 0] -case:(6, 2) -> SW=[0 0] -case:(6, 3) -> N=[ 0 0 0 -1 1 0 0] -case:(6, 3) -> S=[0 0] -case:(6, 3) -> E=[0 0 0 0 0] -case:(6, 3) -> W=[0 0 0 0] -case:(6, 3) -> NE=[0 0 0 0 0] -case:(6, 3) -> SE=[0 0] -case:(6, 3) -> NW=[0 0 0 0] -case:(6, 3) -> SW=[0 0] -case:(6, 4) -> N=[ 0 0 0 1 -1 0 0] -case:(6, 4) -> S=[0 0] -case:(6, 4) -> E=[0 0 0 0] -case:(6, 4) -> W=[0 0 0 0 0] -case:(6, 4) -> NE=[0 0 0 0] -case:(6, 4) -> SE=[0 0] -case:(6, 4) -> NW=[0 0 0 0 0] -case:(6, 4) -> SW=[0 0] -case:(6, 5) -> N=[0 0 0 0 0 0 0] -case:(6, 5) -> S=[0 0] -case:(6, 5) -> E=[0 0 0] -case:(6, 5) -> W=[0 0 0 0 0 0] -case:(6, 5) -> NE=[0 0 0] -case:(6, 5) -> SE=[0 0] -case:(6, 5) -> NW=[0 0 1 0 0 0] -case:(6, 5) -> SW=[0 0] -case:(6, 6) -> N=[0 0 0 0 0 0 0] -case:(6, 6) -> S=[0 0] -case:(6, 6) -> E=[0 0] -case:(6, 6) -> W=[0 0 0 0 0 0 0] -case:(6, 6) -> NE=[0 0] -case:(6, 6) -> SE=[0 0] -case:(6, 6) -> NW=[ 0 0 -1 -1 0 0 0] -case:(6, 6) -> SW=[0 0] -case:(6, 7) -> N=[0 0 0 0 0 0 0] -case:(6, 7) -> S=[0 0] -case:(6, 7) -> E=[0] -case:(6, 7) -> W=[0 0 0 0 0 0 0 0] -case:(6, 7) -> NE=[0] -case:(6, 7) -> SE=[0] -case:(6, 7) -> NW=[0 0 0 1 0 0 0] -case:(6, 7) -> SW=[0 0] -case:(7, 0) -> N=[0 0 0 0 0 0 0 0] -case:(7, 0) -> S=[0] -case:(7, 0) -> E=[0 0 0 0 0 0 0 0] -case:(7, 0) -> W=[0] -case:(7, 0) -> NE=[ 0 0 0 -1 -1 0 0 0] -case:(7, 0) -> SE=[0] -case:(7, 0) -> NW=[0] -case:(7, 0) -> SW=[0] -case:(7, 1) -> N=[0 0 0 0 0 0 0 0] -case:(7, 1) -> S=[0] -case:(7, 1) -> E=[0 0 0 0 0 0 0] -case:(7, 1) -> W=[0 0] -case:(7, 1) -> NE=[0 0 0 1 0 0 0] -case:(7, 1) -> SE=[0] -case:(7, 1) -> NW=[0 0] -case:(7, 1) -> SW=[0] -case:(7, 2) -> N=[0 0 0 0 0 0 0 0] -case:(7, 2) -> S=[0] -case:(7, 2) -> E=[0 0 0 0 0 0] -case:(7, 2) -> W=[0 0 0] -case:(7, 2) -> NE=[0 0 0 0 0 0] -case:(7, 2) -> SE=[0] -case:(7, 2) -> NW=[0 0 0] -case:(7, 2) -> SW=[0] -case:(7, 3) -> N=[ 0 0 0 -1 1 0 0 0] -case:(7, 3) -> S=[0] -case:(7, 3) -> E=[0 0 0 0 0] -case:(7, 3) -> W=[0 0 0 0] -case:(7, 3) -> NE=[0 0 0 0 0] -case:(7, 3) -> SE=[0] -case:(7, 3) -> NW=[0 0 0 0] -case:(7, 3) -> SW=[0] -case:(7, 4) -> N=[ 0 0 0 1 -1 0 0 0] -case:(7, 4) -> S=[0] -case:(7, 4) -> E=[0 0 0 0] -case:(7, 4) -> W=[0 0 0 0 0] -case:(7, 4) -> NE=[0 0 0 0] -case:(7, 4) -> SE=[0] -case:(7, 4) -> NW=[0 0 0 0 0] -case:(7, 4) -> SW=[0] -case:(7, 5) -> N=[0 0 0 0 0 0 0 0] -case:(7, 5) -> S=[0] -case:(7, 5) -> E=[0 0 0] -case:(7, 5) -> W=[0 0 0 0 0 0] -case:(7, 5) -> NE=[0 0 0] -case:(7, 5) -> SE=[0] -case:(7, 5) -> NW=[0 0 0 0 0 0] -case:(7, 5) -> SW=[0] -case:(7, 6) -> N=[0 0 0 0 0 0 0 0] -case:(7, 6) -> S=[0] -case:(7, 6) -> E=[0 0] -case:(7, 6) -> W=[0 0 0 0 0 0 0] -case:(7, 6) -> NE=[0 0] -case:(7, 6) -> SE=[0] -case:(7, 6) -> NW=[0 0 0 1 0 0 0] -case:(7, 6) -> SW=[0] -case:(7, 7) -> N=[0 0 0 0 0 0 0 0] -case:(7, 7) -> S=[0] -case:(7, 7) -> E=[0] -case:(7, 7) -> W=[0 0 0 0 0 0 0 0] -case:(7, 7) -> NE=[0] -case:(7, 7) -> SE=[0] -case:(7, 7) -> NW=[ 0 0 0 -1 -1 0 0 0] -case:(7, 7) -> SW=[0] + +* * * * * * * * * * Joueur is playing * * * * * * * * * * +index de 1 dans [ 0 -1 1 0 0 0]: 2 +tranche [ 0 -1 1 0 0 0] est jouable par couleur 1 +(2, 3) a été ajouté aux case jouables +index de 1 dans [ 0 -1 1 0 0 0]: 2 +tranche [ 0 -1 1 0 0 0] est jouable par couleur 1 +(3, 2) a été ajouté aux case jouables +index de 1 dans [ 0 -1 1 0 0 0]: 2 +tranche [ 0 -1 1 0 0 0] est jouable par couleur 1 +(4, 5) a été ajouté aux case jouables +index de 1 dans [ 0 -1 1 0 0 0]: 2 +tranche [ 0 -1 1 0 0 0] est jouable par couleur 1 +(5, 4) a été ajouté aux case jouables +index de 1 dans [ 0 -1 1 0 0 0]: 2 +tranche [ 0 -1 1 0 0 0] est jouable par couleur 1 +index de -1 dans [ 0 1 -1 0 0 0]: 2 +tranche [ 0 1 -1 0 0 0] est jouable par couleur -1 +(2, 2) a été ajouté aux case jouables +index de -1 dans [ 0 1 -1 0 0 0]: 2 +tranche [ 0 1 -1 0 0 0] est jouable par couleur -1 +(2, 4) a été ajouté aux case jouables +index de -1 dans [ 0 1 -1 0 0 0]: 2 +tranche [ 0 1 -1 0 0 0] est jouable par couleur -1 +(4, 2) a été ajouté aux case jouables + +* * * * * * * * * * AI is playing * * * * * * * * * * +index de -1 dans [ 0 1 -1 0 0 0]: 2 +tranche [ 0 1 -1 0 0 0] est jouable par couleur -1 +(2, 2) a été ajouté aux case jouables +index de -1 dans [ 0 1 -1 0 0 0]: 2 +tranche [ 0 1 -1 0 0 0] est jouable par couleur -1 +(2, 4) a été ajouté aux case jouables +index de -1 dans [ 0 1 -1 0 0 0]: 2 +tranche [ 0 1 -1 0 0 0] est jouable par couleur -1 +(4, 2) a été ajouté aux case jouables diff --git a/othello/natymundo/othello.py b/othello/natymundo/othello.py index e1ef215..dcb4b9a 100644 --- a/othello/natymundo/othello.py +++ b/othello/natymundo/othello.py @@ -1,6 +1,7 @@ # Othello import numpy as np +import random # import tranche import timeit @@ -68,11 +69,10 @@ def next(self): Renvoie True si le jeu peut continuer et passe alors au joueur suivant, renvoie False sinon """ - if self.casesJouables(self.get_couleur(self.adversaire(self.joueur))): + cases = self.casesJouables(self.get_couleur(self.adversaire(self.joueur))) + if cases: self.joueur = self.adversaire(self.joueur) - return True - else: - return False + return cases def adversaire(self, joueur): """ L'indice de l'adversaire dans JOUEURS """ @@ -90,19 +90,17 @@ def get_tranche(self, case, direction): if direction == 'E': return self.jeu[l, c:] elif direction == 'W': - return self.jeu[l, :c+1] + return self.jeu[l, :c+1][::-1] elif direction == 'N': - return self.jeu[:l+1, c] + return self.jeu[:l+1, c][::-1] elif direction == 'S': return self.jeu[l:, c] elif direction == 'SE': return self.jeu[l:].diagonal(c) elif direction == 'SW': # A revoir - return self.jeu[l:, 0:c+1].transpose().diagonal() # nop - # return np.array([self.jeu[i, k] for i, k in zip(range(l, SIZE), range(c))]) + return np.rot90(self.jeu[l:, 0:c+1]).diagonal() elif direction == 'NE': # A revoir - return self.jeu[:l+1, c:].transpose().diagonal() # nop - # return np.array([self.jeu[i, k] for i, k in zip(range(l+1), range(c, len(COLONNES)))]) + return np.rot90(self.jeu[:l+1, c:], 3).diagonal() elif direction == 'NW': return self.jeu[:l+1].diagonal(c-l)[::-1] else: @@ -115,9 +113,9 @@ def directions(self, dico, case): """ for dir in DIRECTIONS: dico[case][dir] = self.get_tranche(case, dir) - self.log = f'case:{case} -> {dir}={dico[case][dir]}\n' - with open('log.txt', 'a', encoding='utf8') as f: - f.write(self.log) + # self.log = f'case:{COLONNES[case[1]]}{LIGNES[case[0]]} -> {dir}={dico[case][dir]}\n' + # with open('log.txt', 'a', encoding='utf8') as f: + # f.write(self.log) def update(self): @@ -134,36 +132,49 @@ def update(self): for case in self.dico_de_tranches.keys(): self.directions(self.dico_de_tranches, case) - def isJouable(self, tranche, couleur): + def isJouable(self, tranche, couleur): ### Utiliser des regex """ Booléen de jouabilité de la tranche selon la couleur """ jouable = False if len(tranche)>1: - if tranche[0]!=0: - if couleur in tranche[1:]: - jouable = True + if tranche[0]==0 and tranche[1]==-couleur: + if couleur in tranche[2:]: + index = self.get_index(tranche, couleur) + self.log = f'index de {couleur} dans {tranche}: {index}\n' + j = 1 + while j < index: + if tranche[j]!=-couleur: + j = index + 1 + else: + j += 1 + if j==index: + jouable = True + self.log += f'tranche {tranche} est jouable par couleur {couleur}\n' + with open('log.txt', 'a', encoding='utf8') as f: + f.write(self.log) + self.log = '' return jouable - def casesJouables(self, couleur): + def casesJouables(self, couleur): """ renvoie une liste des cases qui sont jouables par la couleur indiquée """ liste = [] for case in self.dico_de_tranches.keys(): if self.jeu[case[0]][case[1]]==VIDE: # on ne regarde que les cases qui sont vide for tranche in self.dico_de_tranches[case].values(): - # if tranche.description(couleur)[0]: - if self.isJouable(tranche, couleur): + # if tranche.description(couleur)[0]: + if self.isJouable(tranche, couleur) and not case in liste: liste.append(case) + self.log += f'{case} a été ajouté aux case jouables\n' break return liste def get_index(self, tranche, couleur): """ Renvoie l'index de la couleur cherchée dans la tranche considérée """ - index = 0 - if self.isJouable(tranche, couleur): - index = tranche[1:].tolist().index(couleur) + 1 - if index > 1 and not 0 in self.tranche[1:index]: - pass - else: index = 0 + # index = 0 + index = tranche.tolist().index(couleur) + # if index > 1 and not 0 in tranche[1:index]: + # pass + # else: index = 0 return index def meilleurCoup(self, couleur): @@ -171,7 +182,7 @@ def meilleurCoup(self, couleur): possibilities = self.casesJouables(couleur) if possibilities: best = 0 - meilleureCase = possibilities[random(len(possibilities))] + meilleureCase = possibilities[random.randrange(len(possibilities))] for case in possibilities: num = 0 for tranche in self.dico_de_tranches[case].values(): @@ -179,7 +190,8 @@ def meilleurCoup(self, couleur): if num > best: best = num meilleureCase = case - else: meilleureCase = None + else: + meilleureCase = None return meilleureCase def score(self): @@ -202,8 +214,8 @@ def jouer(self, case, joueur): """ (l, c) = case for (dir, tranche) in self.dico_de_tranches[case].items(): - if tranche.description(self.get_couleur(joueur))[0]: - index = tranche.description(self.get_couleur(joueur))[1] + if self.isJouable(tranche, self.get_couleur(joueur)): + index = self.get_index(tranche, self.get_couleur(joueur)) for i in range(index): self.jeu[l+DIRECTIONS[dir][0]*i][c+DIRECTIONS[dir][1]*i] = self.get_couleur(joueur) if self.next(): @@ -219,7 +231,7 @@ def toString(self, case): def playAI(self): """ Détermine la case que jouera l'AI puis joue """ - # self.log += '\n' + '* '*10 + 'AI is playing' + ' *'*10 + '\n' + self.log += '\n' + '* '*10 + 'AI is playing' + ' *'*10 + '\n' case = self.meilleurCoup(-self.couleur) if case: return self.jouer(case, 0) @@ -228,7 +240,7 @@ def playAI(self): def playJoueur(self, case): """ Verifie la jouablilité de la case """ - # self.log += '\n' + '* '*10 + 'Joueur is playing' + ' *'*10 + '\n' + self.log += '\n' + '* '*10 + 'Joueur is playing' + ' *'*10 + '\n' possibilities = self.casesJouables(self.couleur) if possibilities: if case in possibilities: From f897cc6bcc2e77f4e62c4a0d574454754214bdb6 Mon Sep 17 00:00:00 2001 From: natymundo <49127475+natymundo@users.noreply.github.com> Date: Sun, 28 Apr 2019 23:38:22 +0200 Subject: [PATCH 12/13] work in progress MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Une erreur incompréhensible: si le dictionnaire a plusieurs directions pour une case donnée, l'index de la première tranche est juste, pas le(s?) suivants... --- othello/natymundo/game.py | 2 +- othello/natymundo/log.txt | 106 ++++++++++++++------- othello/natymundo/othello.py | 180 ++++++++++++++++++----------------- 3 files changed, 169 insertions(+), 119 deletions(-) diff --git a/othello/natymundo/game.py b/othello/natymundo/game.py index 8d78aff..fbf9d5a 100644 --- a/othello/natymundo/game.py +++ b/othello/natymundo/game.py @@ -69,7 +69,7 @@ def end_of_game(self): def message_box(self, message): """ - pop une fenêtre avec le message à faire passere + pop une fenêtre avec le message à faire passer et un bouton ok qui détruit la fenêtre """ m_box_root = tk.Tk() diff --git a/othello/natymundo/log.txt b/othello/natymundo/log.txt index 3eb4666..d92efbf 100644 --- a/othello/natymundo/log.txt +++ b/othello/natymundo/log.txt @@ -1,37 +1,79 @@ LOG: +self.dico_de_tranches[(2, 3)]={'S': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(3, 2)]={'E': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(4, 5)]={'W': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(5, 4)]={'N': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +////////// * * * * * * * * * * Joueur is playing * * * * * * * * * * -index de 1 dans [ 0 -1 1 0 0 0]: 2 -tranche [ 0 -1 1 0 0 0] est jouable par couleur 1 -(2, 3) a été ajouté aux case jouables -index de 1 dans [ 0 -1 1 0 0 0]: 2 -tranche [ 0 -1 1 0 0 0] est jouable par couleur 1 -(3, 2) a été ajouté aux case jouables -index de 1 dans [ 0 -1 1 0 0 0]: 2 -tranche [ 0 -1 1 0 0 0] est jouable par couleur 1 -(4, 5) a été ajouté aux case jouables -index de 1 dans [ 0 -1 1 0 0 0]: 2 -tranche [ 0 -1 1 0 0 0] est jouable par couleur 1 -(5, 4) a été ajouté aux case jouables -index de 1 dans [ 0 -1 1 0 0 0]: 2 -tranche [ 0 -1 1 0 0 0] est jouable par couleur 1 -index de -1 dans [ 0 1 -1 0 0 0]: 2 -tranche [ 0 1 -1 0 0 0] est jouable par couleur -1 -(2, 2) a été ajouté aux case jouables -index de -1 dans [ 0 1 -1 0 0 0]: 2 -tranche [ 0 1 -1 0 0 0] est jouable par couleur -1 -(2, 4) a été ajouté aux case jouables -index de -1 dans [ 0 1 -1 0 0 0]: 2 -tranche [ 0 1 -1 0 0 0] est jouable par couleur -1 -(4, 2) a été ajouté aux case jouables +Case jouée: (2, 3) +Tranche retournée: S, index=2 +self.dico_de_tranches[(2, 2)]={'SE': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(2, 4)]={'S': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(4, 2)]={'E': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} +////////// * * * * * * * * * * AI is playing * * * * * * * * * * -index de -1 dans [ 0 1 -1 0 0 0]: 2 -tranche [ 0 1 -1 0 0 0] est jouable par couleur -1 -(2, 2) a été ajouté aux case jouables -index de -1 dans [ 0 1 -1 0 0 0]: 2 -tranche [ 0 1 -1 0 0 0] est jouable par couleur -1 -(2, 4) a été ajouté aux case jouables -index de -1 dans [ 0 1 -1 0 0 0]: 2 -tranche [ 0 1 -1 0 0 0] est jouable par couleur -1 -(4, 2) a été ajouté aux case jouables +Case jouée: (2, 2) +Tranche retournée: SE, index=2 +self.dico_de_tranches[(2, 1)]={'E': array([ 0, -1, 1, 0, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(3, 2)]={'E': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(4, 5)]={'W': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(5, 4)]={'N': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +////////// + +* * * * * * * * * * Joueur is playing * * * * * * * * * * +Case jouée: (2, 1) +Tranche retournée: E, index=2 +self.dico_de_tranches[(1, 1)]={'SE': array([ 0, 1, -1, -1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(1, 3)]={'S': array([ 0, 1, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(2, 4)]={'S': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(3, 5)]={'W': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(4, 2)]={'E': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(5, 3)]={'N': array([ 0, 1, -1, 1, 0, 0], dtype=int8)} +////////// + +* * * * * * * * * * AI is playing * * * * * * * * * * +Case jouée: (1, 1) +Tranche retournée: SE, index=2 +self.dico_de_tranches[(0, 1)]={'S': array([ 0, -1, 1, 0, 0, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(3, 2)]={'E': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(4, 5)]={'W': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(5, 4)]={'N': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +////////// + +* * * * * * * * * * Joueur is playing * * * * * * * * * * +Case jouée: (0, 1) +Tranche retournée: S, index=2 +self.dico_de_tranches[(0, 0)]={'SE': array([ 0, 1, -1, -1, -1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(1, 3)]={'S': array([ 0, 1, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(2, 0)]={'E': array([ 0, 1, -1, 1, 0, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(2, 4)]={'S': array([ 0, 1, -1, 0, 0, 0], dtype=int8), 'W': array([ 0, 1, -1, 1, 0], dtype=int8)} +self.dico_de_tranches[(3, 5)]={'W': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(4, 2)]={'E': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(5, 3)]={'N': array([ 0, 1, -1, 1, 0, 0], dtype=int8)} +////////// + +* * * * * * * * * * AI is playing * * * * * * * * * * +Case jouée: (2, 4) +Tranche retournée: S, index=2 +Tranche retournée: W, index=0 +self.dico_de_tranches[(2, 5)]={'W': array([ 0, -1, 1, -1, 1, 0], dtype=int8), 'SW': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(4, 5)]={'W': array([ 0, -1, 1, 0, 0, 0], dtype=int8), 'NW': array([ 0, -1, 1, 0, 1], dtype=int8)} +////////// + +* * * * * * * * * * Joueur is playing * * * * * * * * * * +Case jouée: (2, 5) +Tranche retournée: W, index=2 +Tranche retournée: SW, index=0 +self.dico_de_tranches[(0, 0)]={'SE': array([ 0, 1, -1, -1, -1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(1, 2)]={'SE': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(1, 3)]={'S': array([ 0, 1, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(1, 4)]={'S': array([ 0, 1, -1, -1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(1, 5)]={'SW': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(1, 6)]={'SW': array([ 0, 1, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(2, 0)]={'E': array([ 0, 1, -1, 1, 1, 1, 0, 0], dtype=int8)} +self.dico_de_tranches[(2, 6)]={'W': array([ 0, 1, 1, 1, -1, 1, 0], dtype=int8)} +self.dico_de_tranches[(4, 2)]={'E': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[(5, 2)]={'NE': array([ 0, 1, -1, 1, 0, 0], dtype=int8)} +self.dico_de_tranches[(5, 3)]={'N': array([ 0, 1, -1, 1, 0, 0], dtype=int8)} diff --git a/othello/natymundo/othello.py b/othello/natymundo/othello.py index dcb4b9a..8a93901 100644 --- a/othello/natymundo/othello.py +++ b/othello/natymundo/othello.py @@ -2,7 +2,7 @@ import numpy as np import random -# import tranche +import re import timeit @@ -40,7 +40,8 @@ def __init__(self, jeu=None, couleur=NOIR): self.couleur = couleur # La couleur de Player self.joueur = 1 if self.couleur == NOIR else 0 # Le joueur dont c'est le tour de jouer (correspond à l'indice dans JOUEURS) self.dico_de_tranches = None - self.update() + cases = None + self.update(cases) def __str__(self): """ renvoie le plateau de jeu sous forme d'un tableau """ @@ -64,16 +65,6 @@ def read(self, file): jeu = np.array((array), dtype=np.int8) return jeu.reshape((SIZE, len(COLONNES))) - def next(self): - """ - Renvoie True si le jeu peut continuer et passe alors au joueur suivant, - renvoie False sinon - """ - cases = self.casesJouables(self.get_couleur(self.adversaire(self.joueur))) - if cases: - self.joueur = self.adversaire(self.joueur) - return cases - def adversaire(self, joueur): """ L'indice de l'adversaire dans JOUEURS """ return 1-joueur @@ -82,9 +73,21 @@ def get_couleur(self, joueur): """ La couleur du joueur """ return self.couleur if JOUEURS[joueur] == 'Player' else -self.couleur + def score(self): + """ renvoie le score (NOIR, BLANC) """ + totN = 0 + totB = 0 + for l in self.jeu: + for i in l: + if i == NOIR: + totN += 1 + elif i == BLANC: + totB += 1 + return (totN, totB) + def get_tranche(self, case, direction): """ - Renvoie une 'tranche' de la table à partir de la case donnée incluse et dans la direction donnée + Renvoie une 'tranche' de la table à partir de la case donnée -incluse- et dans la direction donnée """ (l, c) = case if direction == 'E': @@ -106,78 +109,83 @@ def get_tranche(self, case, direction): else: return np.array([0]) - def directions(self, dico, case): - """ - Mets à jour le dictionnaire des directions de la case considérée - (key = une direction, value = tranche de jeu pour la case considérée) - """ - for dir in DIRECTIONS: - dico[case][dir] = self.get_tranche(case, dir) - # self.log = f'case:{COLONNES[case[1]]}{LIGNES[case[0]]} -> {dir}={dico[case][dir]}\n' - # with open('log.txt', 'a', encoding='utf8') as f: - # f.write(self.log) - + # def directions(self, dico, case): + # """ + # Mets à jour le dictionnaire des directions de la case considérée + # (key = une direction, value = tranche de jeu pour la case considérée) + # """ + # for dir in DIRECTIONS: + # dico[case][dir] = self.get_tranche(case, dir) - def update(self): + def update(self, cases): """ Met à jour le dictionnaire de tranches qui donne pour chaque case le dictionnaire des directions """ - if not self.dico_de_tranches: - self.dico_de_tranches = dict() - for l in range(SIZE): - for c in range(len(COLONNES)): - self.dico_de_tranches[(l,c)]=dict() - self.directions(self.dico_de_tranches, (l,c)) + couleur = self.get_couleur(self.joueur) + if self.dico_de_tranches: + for key in self.dico_de_tranches.keys(): + dict.clear(self.dico_de_tranches[key]) else: - for case in self.dico_de_tranches.keys(): - self.directions(self.dico_de_tranches, case) - - def isJouable(self, tranche, couleur): ### Utiliser des regex - """ Booléen de jouabilité de la tranche selon la couleur """ - jouable = False - if len(tranche)>1: - if tranche[0]==0 and tranche[1]==-couleur: - if couleur in tranche[2:]: - index = self.get_index(tranche, couleur) - self.log = f'index de {couleur} dans {tranche}: {index}\n' - j = 1 - while j < index: - if tranche[j]!=-couleur: - j = index + 1 - else: - j += 1 - if j==index: - jouable = True - self.log += f'tranche {tranche} est jouable par couleur {couleur}\n' + self.dico_de_tranches = dict() + if not cases: + cases = self.casesJouables(couleur) + for case in cases: + for dir in DIRECTIONS: + t = self.get_tranche(case, dir) + if self.isJouable(t, couleur): + if not case in self.dico_de_tranches: + self.dico_de_tranches[case] = dict() + self.dico_de_tranches[case][dir]=t + self.log += f'self.dico_de_tranches[{case}]={self.dico_de_tranches[case]}\n' with open('log.txt', 'a', encoding='utf8') as f: f.write(self.log) - self.log = '' - return jouable + self.log = '/'*10 + '\n' + + def isJouable(self, tranche, couleur): ### Utiliser des regex !! + """ Booléen de jouabilité de la tranche selon la couleur """ + # jouable = False + # if len(tranche)>1: + # if tranche[0]==0 and tranche[1]==-couleur: + # if couleur in tranche[2:]: + # index = self.get_index(tranche, couleur) + # j = 1 + # while j < index: + # if tranche[j]!=-couleur: + # j = index + 1 + # else: + # j += 1 + # if j==index: + # jouable = True + # return jouable + if couleur == 1: + pattern = '^0(-1+)(1+)' + else: + pattern = '^0(1+)(-1+)' + txt = '' + for i in tranche: + txt += str(i) + # self.log += f'{pattern} match {txt}: {re.match(pattern, txt)}\n' + return re.match(pattern, txt) + def casesJouables(self, couleur): """ renvoie une liste des cases qui sont jouables par la couleur indiquée """ liste = [] - for case in self.dico_de_tranches.keys(): - if self.jeu[case[0]][case[1]]==VIDE: # on ne regarde que les cases qui sont vide - for tranche in self.dico_de_tranches[case].values(): - # if tranche.description(couleur)[0]: - if self.isJouable(tranche, couleur) and not case in liste: - liste.append(case) - self.log += f'{case} a été ajouté aux case jouables\n' - break + for l in range(SIZE): + for c in range(len(COLONNES)): + if self.jeu[l][c]==VIDE: # on ne regarde que les cases vides + for dir in DIRECTIONS: + t = self.get_tranche((l,c), dir) + if self.isJouable(t, couleur) and not (l,c) in liste: + liste.append((l,c)) return liste def get_index(self, tranche, couleur): """ Renvoie l'index de la couleur cherchée dans la tranche considérée """ - # index = 0 - index = tranche.tolist().index(couleur) - # if index > 1 and not 0 in tranche[1:index]: - # pass - # else: index = 0 - return index + return tranche.tolist().index(couleur) - def meilleurCoup(self, couleur): + def meilleurCoup(self, couleur): ## utiliser le dico """ renvoie la case de la liste des possibilities qui retourne le plus de jetons """ possibilities = self.casesJouables(couleur) if possibilities: @@ -193,18 +201,16 @@ def meilleurCoup(self, couleur): else: meilleureCase = None return meilleureCase - - def score(self): - """ renvoie le score (NOIR, BLANC) """ - totN = 0 - totB = 0 - for l in self.jeu: - for i in l: - if i == NOIR: - totN += 1 - elif i == BLANC: - totB += 1 - return (totN, totB) + + def next(self): + """ + Renvoie True si le jeu peut continuer et passe alors au joueur suivant, + renvoie False sinon + """ + cases = self.casesJouables(self.get_couleur(self.adversaire(self.joueur))) + if cases: + self.joueur = self.adversaire(self.joueur) + return cases def jouer(self, case, joueur): """ @@ -213,13 +219,15 @@ def jouer(self, case, joueur): mets à jour le dictionnaire des tranches de jeu """ (l, c) = case + self.log += f'Case jouée: {case}\n' for (dir, tranche) in self.dico_de_tranches[case].items(): - if self.isJouable(tranche, self.get_couleur(joueur)): - index = self.get_index(tranche, self.get_couleur(joueur)) - for i in range(index): - self.jeu[l+DIRECTIONS[dir][0]*i][c+DIRECTIONS[dir][1]*i] = self.get_couleur(joueur) - if self.next(): - self.update() + index = self.get_index(tranche, self.get_couleur(joueur)) + self.log += f'Tranche retournée: {dir}, index={index}\n' + for i in range(index): + self.jeu[l+DIRECTIONS[dir][0]*i][c+DIRECTIONS[dir][1]*i] = self.get_couleur(joueur) + next_cases = self.next() + if next_cases: + self.update(next_cases) return self.toString(case) else: return 'EOG' From bb8b93c4a3a590cbd3e0ed58f0ed00ecf5631f85 Mon Sep 17 00:00:00 2001 From: natymundo <49127475+natymundo@users.noreply.github.com> Date: Wed, 1 May 2019 19:47:03 +0200 Subject: [PATCH 13/13] Fix index error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Comme un problème ne vient jamais seul, il y a confusion entre lignes et colonnes quelque part... La suite au prochain numero! --- othello/natymundo/log.txt | 90 +++++++++--------------------------- othello/natymundo/othello.py | 74 ++++++++++------------------- 2 files changed, 45 insertions(+), 119 deletions(-) diff --git a/othello/natymundo/log.txt b/othello/natymundo/log.txt index d92efbf..a5c9ce8 100644 --- a/othello/natymundo/log.txt +++ b/othello/natymundo/log.txt @@ -1,79 +1,31 @@ LOG: -self.dico_de_tranches[(2, 3)]={'S': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(3, 2)]={'E': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(4, 5)]={'W': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(5, 4)]={'N': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} -////////// - -* * * * * * * * * * Joueur is playing * * * * * * * * * * -Case jouée: (2, 3) -Tranche retournée: S, index=2 -self.dico_de_tranches[(2, 2)]={'SE': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(2, 4)]={'S': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(4, 2)]={'E': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} -////////// +dico: +{} -* * * * * * * * * * AI is playing * * * * * * * * * * -Case jouée: (2, 2) -Tranche retournée: SE, index=2 -self.dico_de_tranches[(2, 1)]={'E': array([ 0, -1, 1, 0, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(3, 2)]={'E': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(4, 5)]={'W': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(5, 4)]={'N': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[D3]={'S': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[C4]={'E': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[F5]={'W': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[E6]={'N': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} ////////// * * * * * * * * * * Joueur is playing * * * * * * * * * * -Case jouée: (2, 1) -Tranche retournée: E, index=2 -self.dico_de_tranches[(1, 1)]={'SE': array([ 0, 1, -1, -1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(1, 3)]={'S': array([ 0, 1, -1, 1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(2, 4)]={'S': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(3, 5)]={'W': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(4, 2)]={'E': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(5, 3)]={'N': array([ 0, 1, -1, 1, 0, 0], dtype=int8)} -////////// +Case jouée: C4 +Tranche retournée: E:[ 0 -1 1 0 0 0], index=2 +dico: +{} -* * * * * * * * * * AI is playing * * * * * * * * * * -Case jouée: (1, 1) -Tranche retournée: SE, index=2 -self.dico_de_tranches[(0, 1)]={'S': array([ 0, -1, 1, 0, 0, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(3, 2)]={'E': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(4, 5)]={'W': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(5, 4)]={'N': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} -////////// - -* * * * * * * * * * Joueur is playing * * * * * * * * * * -Case jouée: (0, 1) -Tranche retournée: S, index=2 -self.dico_de_tranches[(0, 0)]={'SE': array([ 0, 1, -1, -1, -1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(1, 3)]={'S': array([ 0, 1, -1, 1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(2, 0)]={'E': array([ 0, 1, -1, 1, 0, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(2, 4)]={'S': array([ 0, 1, -1, 0, 0, 0], dtype=int8), 'W': array([ 0, 1, -1, 1, 0], dtype=int8)} -self.dico_de_tranches[(3, 5)]={'W': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(4, 2)]={'E': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(5, 3)]={'N': array([ 0, 1, -1, 1, 0, 0], dtype=int8)} +self.dico_de_tranches[C3]={'SE': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[E3]={'S': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[C5]={'E': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} ////////// * * * * * * * * * * AI is playing * * * * * * * * * * -Case jouée: (2, 4) -Tranche retournée: S, index=2 -Tranche retournée: W, index=0 -self.dico_de_tranches[(2, 5)]={'W': array([ 0, -1, 1, -1, 1, 0], dtype=int8), 'SW': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(4, 5)]={'W': array([ 0, -1, 1, 0, 0, 0], dtype=int8), 'NW': array([ 0, -1, 1, 0, 1], dtype=int8)} -////////// +Case jouée: C3 +Tranche retournée: SE:[ 0 1 -1 0 0 0], index=2 +dico: +{} -* * * * * * * * * * Joueur is playing * * * * * * * * * * -Case jouée: (2, 5) -Tranche retournée: W, index=2 -Tranche retournée: SW, index=0 -self.dico_de_tranches[(0, 0)]={'SE': array([ 0, 1, -1, -1, -1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(1, 2)]={'SE': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(1, 3)]={'S': array([ 0, 1, -1, 1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(1, 4)]={'S': array([ 0, 1, -1, -1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(1, 5)]={'SW': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(1, 6)]={'SW': array([ 0, 1, -1, 1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(2, 0)]={'E': array([ 0, 1, -1, 1, 1, 1, 0, 0], dtype=int8)} -self.dico_de_tranches[(2, 6)]={'W': array([ 0, 1, 1, 1, -1, 1, 0], dtype=int8)} -self.dico_de_tranches[(4, 2)]={'E': array([ 0, 1, -1, 0, 0, 0], dtype=int8)} -self.dico_de_tranches[(5, 2)]={'NE': array([ 0, 1, -1, 1, 0, 0], dtype=int8)} -self.dico_de_tranches[(5, 3)]={'N': array([ 0, 1, -1, 1, 0, 0], dtype=int8)} +self.dico_de_tranches[C2]={'S': array([ 0, -1, 1, 0, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[D3]={'S': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[F5]={'W': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} +self.dico_de_tranches[E6]={'N': array([ 0, -1, 1, 0, 0, 0], dtype=int8)} diff --git a/othello/natymundo/othello.py b/othello/natymundo/othello.py index 8a93901..ccd9562 100644 --- a/othello/natymundo/othello.py +++ b/othello/natymundo/othello.py @@ -40,8 +40,7 @@ def __init__(self, jeu=None, couleur=NOIR): self.couleur = couleur # La couleur de Player self.joueur = 1 if self.couleur == NOIR else 0 # Le joueur dont c'est le tour de jouer (correspond à l'indice dans JOUEURS) self.dico_de_tranches = None - cases = None - self.update(cases) + self.update() def __str__(self): """ renvoie le plateau de jeu sous forme d'un tableau """ @@ -85,7 +84,7 @@ def score(self): totB += 1 return (totN, totB) - def get_tranche(self, case, direction): + def get_tranche(self, case, direction): ## ATTENTION!! erreurs de ligne / colonne """ Renvoie une 'tranche' de la table à partir de la case donnée -incluse- et dans la direction donnée """ @@ -100,33 +99,25 @@ def get_tranche(self, case, direction): return self.jeu[l:, c] elif direction == 'SE': return self.jeu[l:].diagonal(c) - elif direction == 'SW': # A revoir + elif direction == 'SW': return np.rot90(self.jeu[l:, 0:c+1]).diagonal() - elif direction == 'NE': # A revoir + elif direction == 'NE': return np.rot90(self.jeu[:l+1, c:], 3).diagonal() elif direction == 'NW': return self.jeu[:l+1].diagonal(c-l)[::-1] else: - return np.array([0]) - - # def directions(self, dico, case): - # """ - # Mets à jour le dictionnaire des directions de la case considérée - # (key = une direction, value = tranche de jeu pour la case considérée) - # """ - # for dir in DIRECTIONS: - # dico[case][dir] = self.get_tranche(case, dir) + return np.array([0]) - def update(self, cases): + def update(self, cases=None): """ Met à jour le dictionnaire de tranches qui donne pour chaque case le dictionnaire des directions """ couleur = self.get_couleur(self.joueur) if self.dico_de_tranches: - for key in self.dico_de_tranches.keys(): - dict.clear(self.dico_de_tranches[key]) + dict.clear(self.dico_de_tranches) else: self.dico_de_tranches = dict() + self.log += f'dico:\n{self.dico_de_tranches}\n\n' if not cases: cases = self.casesJouables(couleur) for case in cases: @@ -136,27 +127,13 @@ def update(self, cases): if not case in self.dico_de_tranches: self.dico_de_tranches[case] = dict() self.dico_de_tranches[case][dir]=t - self.log += f'self.dico_de_tranches[{case}]={self.dico_de_tranches[case]}\n' + self.log += f'self.dico_de_tranches[{self.toString(case)}]={self.dico_de_tranches[case]}\n' with open('log.txt', 'a', encoding='utf8') as f: f.write(self.log) self.log = '/'*10 + '\n' def isJouable(self, tranche, couleur): ### Utiliser des regex !! """ Booléen de jouabilité de la tranche selon la couleur """ - # jouable = False - # if len(tranche)>1: - # if tranche[0]==0 and tranche[1]==-couleur: - # if couleur in tranche[2:]: - # index = self.get_index(tranche, couleur) - # j = 1 - # while j < index: - # if tranche[j]!=-couleur: - # j = index + 1 - # else: - # j += 1 - # if j==index: - # jouable = True - # return jouable if couleur == 1: pattern = '^0(-1+)(1+)' else: @@ -187,19 +164,15 @@ def get_index(self, tranche, couleur): def meilleurCoup(self, couleur): ## utiliser le dico """ renvoie la case de la liste des possibilities qui retourne le plus de jetons """ - possibilities = self.casesJouables(couleur) - if possibilities: - best = 0 - meilleureCase = possibilities[random.randrange(len(possibilities))] - for case in possibilities: - num = 0 - for tranche in self.dico_de_tranches[case].values(): - num += self.get_index(tranche, couleur)-1 - if num > best: - best = num - meilleureCase = case - else: - meilleureCase = None + best = 0 + meilleureCase = None + for (case, dico) in self.dico_de_tranches.items(): + num = 0 + for tranche in dico.values(): + num += self.get_index(tranche, couleur) + if num > best: + best = num + meilleureCase = case return meilleureCase def next(self): @@ -219,12 +192,13 @@ def jouer(self, case, joueur): mets à jour le dictionnaire des tranches de jeu """ (l, c) = case - self.log += f'Case jouée: {case}\n' + self.log += f'Case jouée: {self.toString(case)}\n' for (dir, tranche) in self.dico_de_tranches[case].items(): index = self.get_index(tranche, self.get_couleur(joueur)) - self.log += f'Tranche retournée: {dir}, index={index}\n' - for i in range(index): + self.log += f'Tranche retournée: {dir}:{tranche}, index={index}\n' + for i in range(1,index): self.jeu[l+DIRECTIONS[dir][0]*i][c+DIRECTIONS[dir][1]*i] = self.get_couleur(joueur) + self.jeu[l][c] = self.get_couleur(joueur) next_cases = self.next() if next_cases: self.update(next_cases) @@ -233,8 +207,8 @@ def jouer(self, case, joueur): return 'EOG' def toString(self, case): - c = COLONNES[case[0]] - l = LIGNES[case[1]] + c = COLONNES[case[1]] + l = LIGNES[case[0]] return ''.join((c, l)) def playAI(self):