Autorisation : Membre
Nb de messages : 101
Inscrit le : Ven 11 Nov 2005, 20:16
Posté le : Mer 16 Nov 2005, 20:14
Donc voila, vous connaissez tous les "tamagogi" et ben j'ai eu l'idée d'en faire un sur la calculatrice donc pour se ki pense avoir assez de mémoir et bocou de patience pour recopier le futur code , ben il sufir de vous lancé allez bonne chance.
Autorisation : Membre
Nb de messages : 1561
Inscrit le : Mer 01 Mar 2006, 20:41
Posté le : Jeu 17 Nov 2005, 20:51
Non, non non ca peut pas marcher, ta calcu elle presente pas un mode veille..., ca voudrait dire qui faudrait 24h/24h laisser ta calcu allumée sur ton programme, tu vois ce que je veux dire par la
Autorisation : Membre
Nb de messages : 101
Inscrit le : Ven 11 Nov 2005, 20:16
Posté le : Ven 18 Nov 2005, 17:55
Ué je vois se ke tu veu dire mé si tu tape le programme ke je markeré tu verra ke sa marche paske o fait c un melange de tamagogi et d'animal virtuel ke tu eleve sur le net si tu voi se ke je veu dire mé tkt le programme é fini et il marche très bien donc i a pas de soucis
Autorisation : Membre
Nb de messages : 101
Inscrit le : Ven 11 Nov 2005, 20:16
Posté le : Ven 18 Nov 2005, 22:41
Donc voici le code pour le jeu "dog", je sait il est très long...
>= c'est le signe plus grand ou egale et <= c'est le signe plus petit ou egale.
ù cest la fleche quand on appui sur "sto" c'est le moins entre parenthse a coté du .
lbl 1
clrdraw
clrhome
if S<=0
then:goto Y
end
for(X,1,16,1)
output(7,X,"*")
end
if V>10
then:10ùV
end
randint(1,20)ùM
if M<=18
then:W+0ùW
end
if M=19
then:W-0.2
end
if M=20
then:W-0.5
end
if W<=(-)0.1
then :0ùW
end
randint(1,15)ùN
if N<=13
then:V+0ùV
end
if N=15
then:V-1ùV
end
if V=14
then:V-1ùV
end
output(1,1,S
output(1,7,"F")
output(2,5,"^^^^^")
output(3,4,"< ° ° >"
output(4,5,"( = )"
output(5,6,"(-)(-)(-)"<==== c'est lé moins entre parenthèses
output(6,7,"U"
output(1,16,"1"
output(8,1,"vie"
output(8,5,V
output(8,7,"/10"
output(8,11,W
output(8,14,"/Kg"
if V=0
then:goto 16
end
if W>=10
then:goto 15
end
pause
Menu("dog"'"nourir",2,"abreuver",3,"soigner",4,"stock",5,"marcher",6,"chasse",7,"retour",1)
lbl 15
clrhome
clrdraw
output(1,1,"*/*/*/*/*/*/*/*/")
output(8,1,"*/*/*/*/*/*/*/*/")
output(4,1,"bravo tu as gagner !!!"
pause
stop
lbl 16
clrdraw
clrhome
output(1,1,"*/*/*/*/*/*/*/*/")
output(8,1,"*/*/*/*/*/*/*/*/")
output(4,1,"ton chien est mort malade")
pause
output(6,1,"remise a 0"
50ùS
0ùT
0ùQ
0ùP
0ùW
0ùV
0ùR
0ùU
pause:goto 1
lbl 4
clrdraw
clrhome
input"utiliser",O
dsip O
if O=0
then:goto 1
end
if O>Q
then:goto X
end
Q-OùQ
if Q<=(-)1
then:goto X
end
pause: goto U
lbl U
clrdraw
clrhome
output(1,1,"*/*/*/*/*/*/*/*/")
output(8,1,"*/*/*/*/*/*/*/*/")
output(5,1,"ton chien est soigne")
V+7ùV
pause:goto 1
lbl 3
clrdraw
clrhome
input "utiliser",O
disp O
output(3,1,"litre bu")
if O=0
then:goto 1
end
if O>R
then:goto X
end
R-OùR
if R<=(-)1
then:goto X
end
pause :goto W
lbl W
clrdraw
clrhome
output(1,1,"*/*/*/*/*/*/*/*/")
output(8,1,"*/*/*/*/*/*/*/*/")
output(4,3,"ton chien est hidrate"
W+0.1ùW
pause :goto 1
lbl 2
clrdraw
clrhome
input "utiliser",O
disp O
if O>T
then:goto X
end
if O=0
then: goto 1
end
output(3,1,"viande prit")
T-OùT
if T-1
then:W+0.2ùW
end
if T<=(-)1
then:goto X
end
pause:goto 1
lbl 13
clrhome
clrdraw
s-3ùs
For(X,1,16,1)
output(1,X,"*")
output(8,X'"*")
end
if P=0
then:goto Z
end
output(2,1,"tu chasse dans la foret :")
pause
randint(1,4)ùL
if L=1
then:T+1ùT
end
if L=2
then:T+2ùT
end
if L=3
then:T+3ùT
end
if L=4
then:T+4ùT
end
if P=1
then:T+0ùT
end
if P=2
then:T+1ùT
end
if P=3
then:T+2ùT
end
if P=4
then:T+3ùT
end
if p=5
then:T+4ùT
end
if L>5
then:T+54ùT
end
pause
output(5,1,"tu as bete"
output(5,7,L
if L>1
then:output(5,14,"s")
pause
goto 14
lbl 12
clrdraw
clrhome
input "arme niveau ?,P
output(3,1,"tu as"
output(4,1,"comme niveau d'arme")
if P=1
then:(3,7,"1")
S-25ùS
end
if P=2
then:output(3,7,"2"
S-50ùS
end
if P=3
then:output(3,7,"3")
S-75ùS
end
if P=4
then:output(3,7,"4"
S-140ùS
end
if P=5
tehn:output(3,7,"5")
S-200ùS
end
if P>5
then:goto Z
end
pause:goto 1
lbl Z
clrhome
clrdraw
output(4,5,"error")
0ùP
pause:goto 1
lbl Y
clrdraw
clrhome
output(1,1,"*/*/*/*/*/*/*/*/")
output(8,1,"*/*/*/*/*/*/*/*/")
output(4,1,"tu n'a plus de sous")
pause
output(7,1,"remise a 0")
50ùS
0ùU
0ùT
0ùW
0ùV
0ùR
0ùP
0ùQ
pause:goto 1
Donc voici le code pour Le jeu "dog" essayer de respecter les esapces.
Si vous avez un probleme ou un beug n'hésitez pas a me le fair savoir.
Merci de Garder se jeu pour vous aussi car j'y est mis du temps a le faire et c'est un creation 100% personnel donc merci de votre compréhension