Newsletter
Liste des sujets

Ou est l'erreur [TI BASIC]

Parthurnaax
Parthurnaax
Niveau 10
07 septembre 2015 à 23:11:39

Yo les mecs je cherche à mettre poing, y'a une erreur mais je trouve pas

Lbl R

5→A:4→X
1→S:1→T
0→B
randInt(1,8→Y
Repeat K=105 or K=45 or X=1 and A≠Y
ClrHome
Output(A,1,"I"
Output(Y,X,"O"
Output(1,1,"Score:"
Output(1,7,B
B+(X=1 and A=Y→B
getKey→K
max(1,min(8,A+(Ans=34)-(Ans=25→A
T(Y>1 and Y<8)+(Y=1)-(Y=8→T
S(X>1 and X<16)+(X=1)-(X=16→S
X+Ans->X:Y+T→Y
End
If K=105 or K=45
Then Goto EX
Else
Output(1,1,"GAME OVER!"
Pause
Menu("Play Again?","Yes",R,"No",EX
Lbl EX
ClrHome
Return

[[sticker:p/1kgx]]

Merci. :)

Sous forums
  • Aide à l'achat Mac
  • Création de Jeux
  • Linux
  • Création de sites web
  • Programmation
  • Internet
  • Steam Deck
  • Macintosh
  • Hardware
La vidéo du moment