
:Lbl M
:Menu("JEUX:","DEE DE 6",A,"ESQUIVE",B,"PILE OU FACE",C,"MARIO",U,"PONG",Z,"SNAKE",Y,"LE JUSTE PRIX",J,"QUITTER",QQ
:Lbl A
:Repeat Rép-105
:Disp entAléat(1,6)
:Repeat Rép
:codeTouche
:End
:End
:Goto M
:
:Lbl C
:Repeat Rép-105
:entAléat(0,1)
:If Rép=0
:Disp "FACE"
:If Rép=1
:Disp "PILE"
:Repeat Rép
:codeTouche
:End
:End
:Goto M
:
:Lbl Z
:Repeat Rép-105
:EffEcr
:0->W
:0->S
:7->A
:8->C
:7->D
:-1->E
:1->F
:Lbl 0
:If D=8:Goto 1
:EffEcr
:Output(8,A,"----
:Output(D,C,"O
:CodeTouche->K
:If K=24 et A-1>0
:A-1->A
:If K=26 et A+3<16:A+1->A
:If K=105:Pause
:C+F->C
:D+E->D
:If D=1:1->E
:If D=7 et C=A ou D=7 et C=A+1 ou D=7 et C=A+2 ou D=7 et C=A+3
:Goto P2
:If C=1:1->F
:If C=16:-1->F
:Goto 0
:Lbl P2
:-1->E
:S+1->S
:Goto 0
:Lbl 1
:Output(8,1,"SCORE:"
:Output(8,7,S
:Pause
:EffEcr
:Output(1,1,""
:End
:Goto M
:
:Lbl Y
:EffDessin
:0=>Xmin
:94=>Xmax
:(-)62=>Ymin
:0=>Ymax
:AxesNAff
:FonctOff
:6=>A:8=>B:44=>C:77=>D:1=>E:2=>N:0=>O
:1=>dim(Liste6
:If .7349=partDéc(Liste6(1:Liste6(1=>O
:EffListe Liste4
:EffListe Liste5
:99=>dim(Liste4
:99=>dim(Liste5
:For(ø,1,6,1.4
:Ligne(88,(-)ent(ø),6,(-)ent(ø)
:End
:Ligne(6,(-)57,88,(-)57
:Ligne(88,(-)56,88,(-)6
:Ligne(6,(-)6,6,(-)56
:Texte(0,13," SCORE: " [4 ESPACES]
:Texte(0,53," HIGH : ",ent(O
:Lbl 5
:(-)8-5ent(NbrAléat10=>I
:8+5ent(NbrAléat16=>J
:If pxl-Test((-)I,J:Goto 5
:Ligne(J,I,J+2,I-2
:Ligne(J,I-2,J+2,I
:Goto 3
:Lbl 2
:6+50partDéc((A+C)/50=>A
:8+80partDéc((B+D)/80=>B
:If pxl-Test(A+2,B:Goto 4
:Texte(A,B,"º
:Lbl 3
:arrondi(1+NpartDéc(E/N),0=>E
:Texte(Liste4(E),Liste5(E),"[4 espaces]
:A=>Liste4(E:B=>Liste5(E
:codeTouch->K
:If K=0:Goto 2
:If K=105:Pause
:If D=72:Then
:If K=24:67=>D
:If K=26:77=>D
:If 1=abs(K-25:44=>C
:Goto 2:End
:If C≠44:Goto 2
:If K=25:39=>C
:If K=34:49=>C
:If K=25 ou K=34:72=>D
:Goto 2
:Lbl 4
:Texte(A,B,"º
:Ligne(B+1,(-)A-3,B+2,(-)A-2
:If (-)I≠A+2 ou J≠B ou N=99:Goto Q
:N+1=>N
:Texte(0,38,N+1
:Goto 5
:Lbl Q
:If N+1>O:N+1.7349=>Liste6(1
:Pause
:EffDessin
:-10->Xmin
:10->Xmax
:-10->Ymin
:10->Ymax
:Pause
:Texte(20,30,"GAME OVER")
:Texte(30,20,"YOU'RE A LOOSER!")
:Pause
:AxesAff
:FonctOn
:EffEcr
:EffDessin
:End
:End
:Goto M
:
:Lbl B
:EffDessin
:1->Z
:0->A
:{8,16}->dim([A])
:60->N
:0->M
:8->X
:For(W,1,7
:Disp ""
:End
:Lbl 0
:If Z/50=partEnt(Z/50)
:N-10->N
:If M<15 et Z/30=partEnt(Z/30
:M+1->M
:Disp ""
:For(W,0,M
:1+partEnt(16NbrAléat->S
:Output(8,S,"X
:1->[A](8,S)
:End
:For(W,1,7
:permutLigne([A],W,W+1)->[A]
:End
:Output(1,X,"W
:For(W,0,N
:End
:For(W,1,16
:0->[A](8,W)
:End
:codeTouche->K
:X+(K=26 et X≠16)-(K=24 et X≠1)->X
:Z+1->Z
:If [A](1,X)=0
:Goto 0
:Pause
:EffEcr
:
:Lbl U
:EffEcr
:0-> thetha
:1->A
:7->Y
:14->X
:Lbl 2M
:Output(4,6,"PAUSE
:Pause
:Lbl 1M
:A+1->A
:If A=17
:1->A
:If X=2
:3->X
:EffEcr
:codeTouche->K
:If (K=25 et Y=7)
:Y-3->Y
:if Y<7
:Y+1->Y
:X+(K=26)-(K=24)->x
:Output(Y-2,X,"0
:Output(Y-1,X-1,"-I-
:Output(Y,X,"H
:Output(8,1,"----------------
:If A=16
:entAleat(2,3->E
:theta+1->theta
:If E=2
:Output(8,A," "
:If E=3
:Outuput(7,A,"=
:If(E=2 et Y=7 et(A=X ou A=X-1))
:Then
:EffEcr
:Output(4,5,"PERDU
:Output(5,4,"SCORE
:Output(5,10,theta
:Output(Y,X,"0
:Output(8,1,"----------------
:Output(8,A," "
:Output(Y+1,X-1,"-I-
:Stop
:end
:If(E=3 et Y=7 et A=X)
:Then
:EffEcr
:Output(4,5,"PERDU
:Output(5,7,theta
:Output(Y-2,X,"0
:Output(Y-1,X-1,"-I-
:Output(Y,X,"=
:Output(8,1,"----------------
:Stop
:End
:If K=105
:Goto 2M
:Goto 1M
:
:Lbl 9J
:Menu("LE JUSTE PRIX","JOUER",W0,"DIFFICULTE",W1,"QUITTER",W3
:Lbl W1
:Menu("DIFFICULTE :","EASY",WA,"NORMAL",WB,"HARD",WC
:Lbl WA
:entAleat(1,100->X:Goto 9J
:Lbl WB
:entAleat(1,500->X:Goto 9J
:Lbl WC
:entAleat(1,1000->X:Goto 9J
:Lbl W0
:EffEcr
:Repeat Y=X
:Input "DEVINEZ LE PRIX:",Y
:If Y>X
:Disp "MOINS
:If Y<X
:Disp "PLUS
:End
:Pause "BRAVO!
:EffEcr
:Lbl W3
:EffEcr:Goto M
:
:Lbl QQ
:EffEcr
Place dans la mémoire: 2142
Lbl M
Menu("TITRE","NOM1",A,"NOM2",B,"QUITTER",Q
Lbl A
// code du programme 1
Goto M
Lbl B
// code du programme 2
Goto M
Lbl Q
:Lbl M
:Menu("JEUX:","DEE DE 6",A,"ESQUIVE",B,"PILE OU FACE",C,"PONG",D,"SNAKE",E,"QUITTER",Q
:Lbl A
:entAléat(1,6)
:Goto M
:Lbl C
:entAléat(0,1)
:If Rép=0
:Disp "FACE"
:If Rép=1
:Disp "PILE"
:Goto M:Lbl M
:Menu("JEUX:","DEE DE 6",A,"ESQUIVE",B,"PILE OU FACE",C,"PONG",D,"SNAKE",E,"QUITTER",Q
:Lbl A
:Pause entAléat(1,6
:Goto M
:Lbl C
:Repeat Rép-105 // quitte si touche pressée autre que Entrer
:entAléat(0,1
:If Rép=0
:Disp "FACE"
:If Rép
:Disp "PILE"
:Repeat Rép // attend une pression de touche
:codeTouche
:End
:End
:Goto M:Lbl M
:Menu("JEUX:","DEE DE 6",A,"ESQUIVE",B,"PILE OU FACE",C,"PONG",D,"SNAKE",E,"QUITTER",Q
:Lbl A
:Pause entAléat(1,6)
:Goto A
:Goto M
:End
:Lbl C
:Repeat K-105
:Pause entAléat(0,1)
:If Rép=0
:Disp "FACE"
:If Rép=1
:Disp "PILE"
:Goto C
:Goto M

:Lbl M
:Menu("JEUX:","DEE DE 6",A,"ESQUIVE",B,"PILE OU FACE",C,"PONG",D,"SNAKE",E,"QUITTER",Q
:Lbl A
:Repeat Rép-105
:Disp entAléat(1,6
:Repeat Rép
:codeTouche
:End
:End
:Goto M
:Lbl C
:Repeat Rép-105
:entAléat(0,1
:If Rép=0
:Disp "FACE"
:If Rép
:Disp "PILE"
:Repeat Rép
:codeTouche
:End
:End
:Goto M:Lbl M
:Menu("JEUX:","DEE DE 6",A,"ESQUIVE",B,"PILE OU FACE",C,"PONG",Z,"SNAKE",Y,"QUITTER",Q
:Lbl A
:Repeat Rép-105
:Disp entAléat(1,6)
:Repeat Rép
:codeTouche
:End
:End
:Goto M
:
:Lbl C
:Repeat Rép-105
:entAléat(0,1)
:If Rép=0
:Disp "FACE"
:If Rép=1
:Disp "PILE"
:Repeat Rép
:codeTouche
:End
:End
:Goto M
:Lbl Z
:Repeat Rép-105
:EffEcr
:0->W
:0->S
:7->A
:8->C
:7->D
:-1->E
:1->F
:Lbl 0
:If D=8:Goto 1
:EffEcr
:Output(8,A,"----:CodeTouche->K
:If K=24 et A-1>0
:A-1->A
:If K=26 et A+3<16:A+1->A
:If K=105:Pause
:C+F->C
:D+E->D
:If D=1:1->E
:If D=7 et C=A ou D=7 et C=A+1 ou D=7 et C=A+2 ou D=7 et C=A+3
:Goto 2
:If C=1:1->F
:If C=16:-1->F
:Goto 0
:Lbl 2
:-1->E
:S+1->S
:Goto 0
:Lbl 1
:Output(8,1,"SCORE:"
:Output(8,7,S
:Pause
:EffEcr
:Output(1,1,""
:Goto M
:
:Lbl Y
:EffDessin
:0=>Xmin
:94=>Xmax
:(-)62=>Ymin
:0=>Ymax
:AxesNAff
:FonctNAff
:6=>A:8=>B:44=>C:77=>D:1=>E:2=>N:0=>O
:1=>dim(Liste6
:If .7349=partDéc(Liste6(1:Liste6(1=>O
:EffListe Liste4
:EffListe Liste5
:99=>dim(Liste4
:99=>dim(Liste5
:For(ø,1,6,1.4
:Ligne(88,(-)ent(ø),6,(-)ent(ø)
:End
:Ligne(6,(-)57,88,(-)57
:Ligne(88,(-)56,88,(-)6
:Ligne(6,(-)6,6,(-)56
:Texte(0,13," SCORE : 3
:Texte(0,53," HIGH : ",ent(O
:Lbl 5
:(-)8-5ent(NbrAléat10=>I
:8+5ent(NbrAléat16=>J
:If pxl-Test((-)I,J:Goto 5
:Ligne(J,I,J+2,I-2
:Ligne(J,I-2,J+2,I
:Goto 3
:Lbl 2
:6+50partDéc((A+C)/50=>A
:8+80partDéc((B+D)/80=>B
:If pxl-Test(A+2,B:Goto 4
:Texte(A,B,"º
:Lbl 3
:arrondi(1+NpartDéc(E/N),0=>E
:Texte(Liste4(E),Liste5(E),"[4 espaces]
:A=>Liste4(E:B=>Liste5(E
:codeTouch(=>K
:If K=0:Goto 2
:If D=72:Then
:If K=24:67=>D
:If K=26:77=>D
:If 1=abs(K-25:44=>C
:Goto 2:End
:If C≠44:Goto 2
:If K=25:39=>C
:If K=34:49=>C
:If K=25 ou K=34:72=>D
:Goto 2
:Lbl 4
:Texte(A,B,"º
:Ligne(B+1,(-)A-3,B+2,(-)A-2
:If (-)I≠A+2 ou J≠B ou N=99:Goto Q
:N+1=>N
:Texte(0,38,N+1
:Goto 5
:Lbl Q
:If N+1>O:N+1.7349=>Liste6(1
:Pause
:EffDessin
:-10->Xmin
:10->Xmax
:-10->Ymin
:10->Ymax
:Texte(20,30,"GAME OVER")
:Texte(30,20,"YOU'RE A LOOSER!")
:Pause
:AxesAff
:FonctOn
:EffEcr
:EffDessin
:End
:End
:Goto M
. Tu peux encore m'aider? Le Codage est bon? Corrige moi linkakro si il le faut (sans sous entendu
)

:Lbl M
:Menu("JEUX:","DEE DE 6",A,"ESQUIVE",B,"PILE OU FACE",C,"PONG",Z,"SNAKE",Y,"QUITTER",QQ
:Lbl A
:Repeat Rép-105
:Disp entAléat(1,6)
:Repeat Rép
:codeTouche
:End
:End
:Goto M
:
:Lbl C
:Repeat Rép-105
:entAléat(0,1)
:If Rép=0
:Disp "FACE"
:If Rép=1
:Disp "PILE"
:Repeat Rép
:codeTouche
:End
:End
:Goto M
:
:Lbl Z
:Repeat Rép-105
:EffEcr
:0->W
:0->S
:7->A
:8->C
:7->D
:-1->E
:1->F
:Lbl 0
:If D=8:Goto 1
:EffEcr
:Output(8,A,"----
:Output(D,C,"O
:CodeTouche->K
:If K=24 et A-1>0
:A-1->A
:If K=26 et A+3<16:A+1->A
:If K=105:Pause
:C+F->C
:D+E->D
:If D=1:1->E
:If D=7 et C=A ou D=7 et C=A+1 ou D=7 et C=A+2 ou D=7 et C=A+3
:Goto P2
:If C=1:1->F
:If C=16:-1->F
:Goto 0
:Lbl P2
:-1->E
:S+1->S
:Goto 0
:Lbl 1
:Output(8,1,"SCORE:"
:Output(8,7,S
:Pause
:EffEcr
:Output(1,1,""
:End
:Goto M
:
:Lbl Y
:EffDessin
:0=>Xmin
:94=>Xmax
:(-)62=>Ymin
:0=>Ymax
:AxesNAff
:FonctOff
:6=>A:8=>B:44=>C:77=>D:1=>E:2=>N:0=>O
:1=>dim(Liste6
:If .7349=partDéc(Liste6(1:Liste6(1=>O
:EffListe Liste4
:EffListe Liste5
:99=>dim(Liste4
:99=>dim(Liste5
:For(ø,1,6,1.4
:Ligne(88,(-)ent(ø),6,(-)ent(ø)
:End
:Ligne(6,(-)57,88,(-)57
:Ligne(88,(-)56,88,(-)6
:Ligne(6,(-)6,6,(-)56
:Texte(0,13," SCORE: " [4 ESPACES]
:Texte(0,53," HIGH : ",ent(O
:Lbl 5
:(-)8-5ent(NbrAléat10=>I
:8+5ent(NbrAléat16=>J
:If pxl-Test((-)I,J:Goto 5
:Ligne(J,I,J+2,I-2
:Ligne(J,I-2,J+2,I
:Goto 3
:Lbl 2
:6+50partDéc((A+C)/50=>A
:8+80partDéc((B+D)/80=>B
:If pxl-Test(A+2,B:Goto 4
:Texte(A,B,"º
:Lbl 3
:arrondi(1+NpartDéc(E/N),0=>E
:Texte(Liste4(E),Liste5(E),"[4 espaces]
:A=>Liste4(E:B=>Liste5(E
:codeTouch->K
:If K=0:Goto 2
:If K=105:Pause
:If D=72:Then
:If K=24:67=>D
:If K=26:77=>D
:If 1=abs(K-25:44=>C
:Goto 2:End
:If C≠44:Goto 2
:If K=25:39=>C
:If K=34:49=>C
:If K=25 ou K=34:72=>D
:Goto 2
:Lbl 4
:Texte(A,B,"º
:Ligne(B+1,(-)A-3,B+2,(-)A-2
:If (-)I≠A+2 ou J≠B ou N=99:Goto Q
:N+1=>N
:Texte(0,38,N+1
:Goto 5
:Lbl Q
:If N+1>O:N+1.7349=>Liste6(1
:Pause
:EffDessin
:-10->Xmin
:10->Xmax
:-10->Ymin
:10->Ymax
:Pause
:Texte(20,30,"GAME OVER")
:Texte(30,20,"YOU'RE A LOOSER!")
:Pause
:AxesAff
:FonctOn
:EffEcr
:EffDessin
:End
:End
:Goto M
:
:Lbl B
:EffDessin
:1->Z
:0->A
:{8,16}->dim([A])
:60->N
:0->M
:8->X
:For(W,1,7
:Disp ""
:End
:Lbl 0
:If Z/50=partEnt(Z/50)
:N-10->N
:If M<15 et Z/30=partEnt(Z/30
:M+1->M
:Disp ""
:For(W,0,M
:1+partEnt(16NbrAléat->S
:Output(8,S,"X
:1->[A](8,S)
:End
:For(W,1,7
:permutLigne([A],W,W+1)->[A]
:End
:Output(1,X,"W
:For(W,0,N
:End
:For(W,1,16
:0->[A](8,W)
:End
:codeTouche->K
:X+(K=26 et X≠16)-(K=24 et X≠1)->X
:Z+1->Z
:If [A](1,X)=0
:Goto 0
:Pause
:EffEcr
:
:Lbl QQ
:EffEcr
et surtout a Linkakro pour m'avoir conseillé dans cette programmation

:Lbl M
:Menu("JEUX:","DEE DE 6",A,"ESQUIVE",B,"PILE OU FACE",C,"MARIO",U,"PONG",Z,"SNAKE",Y,"LE JUSTE PRIX",J,"QUITTER",QQTu t'es trompé parmi les virgules ou les guillemets.

+C -> D
-C -> D
-> Z
-> M
-> N
):Lbl M
:0->Xmin
:94->Xmax
:0->Ymin
:62->Ymax
:AxesNaff
:Menu("VEILLE:","BOREALE",Z,"FLECHE",V
:Lbl Z
:EffDessin
:Lbl Z1
:For(A,1,94,2
:Ligne(94,0,A,62
:Ligne(0,62,94-A,0
:End
:For(A,0,95,2
:Ligne(94,0,A,62,0
:Ligne(0,62,94-A,0,0
:End
:Goto Z1
:EffDessin
:Goto M
:Lbl V
:Effdessin
:0->X
:1->Y
:Lbl V1
:If X=1:1->Y
:If X=31:(-)1->Y
:X+Y->X
:For(A,47,94,X
:Ligne(A,0,A,62
:Ligne(94-A,0,94-A,62
:End
:For(A,31,62,X
:Ligne(0,A,94,A,0
:Ligne(0,62-A,94,62-A,0
:End
:Goto V1
:EffDessin

CodeTouche->K
If K=105:Stop
:Lbl M
:0->Xmin
:94->Xmax
:0->Ymin
:62->Ymax
:AxesNaff
:Menu("VEILLE:","BOREALE",Z,"FLECHE",V,"QUITTER",Q)
:Lbl Z
:codeTouche->K
:If K:105:Goto Q
:EffDessin
:Lbl Z1
:For(A,1,94,2
:Ligne(94,0,A,62
:Ligne(0,62,94-A,0
:End
:For(A,0,95,2
:Ligne(94,0,A,62,0
:Ligne(0,62,94-A,0,0
:End
:Goto Z1
:EffDessin
:Goto M
:Lbl V
:codeTouche->K
:If K:105:Goto Q
:Effdessin
:0->X
:1->Y
:Lbl V1
:If X=1:1->Y
:If X=31:(-)1->Y
:X+Y->X
:For(A,47,94,X
:Ligne(A,0,A,62
:Ligne(94-A,0,94-A,62
:End
:For(A,31,62,X
:Ligne(0,A,94,A,0
:Ligne(0,62-A,94,62-A,0
:End
:Goto V1
:EffDessin
:Lbl Q
:EffDessin
:EffEcr
:-10->Xmin
:10->Xmax
:-10->Ymin
:10->Ymax
:AxesAff
:Output(1,1,""):Lbl M
:EffvarXmin94->Xmax // ça peut sembler bizarre, mais ça marche et économise 2 octets
:EffvarYmin62->Ymax // ça peut sembler bizarre, mais ça marche et économise 2 octets
:AxesNaff
:Effdessin
:Menu("VEILLE:","BOREALE",Z,"FLECHE",V,"QUITTER",Q)
:Lbl Z
:Lbl Z1
:If codetouch=105:Stop //ici
:For(A,1,94,2
:Ligne(94,0,A,62
:Ligne(0,62,94-A,0
:End
:For(A,0,95,2
:Ligne(94,0,A,62,0
:Ligne(0,62,94-A,0,0
:End
:Goto Z1
:Lbl V
:Effdessin
:EffvarX1->Y // ça peut sembler bizarre, mais ça marche et économise 2 octets
:Lbl V1
:If codetouch=105:Stop //ici
:If X=1:1->Y
:If X=31:(-)1->Y
:X+Y->X
:For(A,47,94,X
:Ligne(A,0,A,62
:Ligne(94-A,0,94-A,62
:End
:For(A,31,62,X
:Ligne(0,A,94,A,0
:Ligne(0,62-A,94,62-A,0
:End
:Goto V1
:Lbl Q
:EffDessin
:EffEcr
:10->Xmax
:-Xmax->Xmin
:Xmin->Ymin
:Xmax->Ymax
:AxesAff
:Output(1,1,"") // a remplacer par Disp
sa marche




Ah oui, c'était Goto Q
merci encore