R
Roby
Guest
metodo di ambo su ruota
Scrivi String(15," ")
ColoreTesto 2
Scrivi String(15," ")&"***********************************************",1
ColoreTesto 1
Scrivi String(15," ")&" metodo Ambo su ruota ",1
ColoreTesto 2
Scrivi String(15," ")&"***********************************************",1
Scrivi String(15," ")&"***********************************************",1
ColoreTesto 9
Scrivi String(15," ")&" By Ras",1
ColoreTesto 9
Scrivi String(15," ")&"***********************************************",1
Sub main()
Dim ruota(10), ruote(10)
Dim numeri1(10), numeri2(10), numeri3(10)
Dim posto(5), poste(5), posta(5)
posta(1)=10
poste(2)=1
posto(2)=2
ruota(1)=2
ruota(2)=3
ruote(1)=11
For n= EstrazioneFin -100 To EstrazioneFin
If IndiceMensile (n+1)=1 Or n=EstrazioneFin Then
numeri1(1)=Fuori90(Estratto(n,2,3)+Estratto(n,3,3)+2)
ImpostaGiocata 1,numeri1,ruota,posta,10,1
numeri2(1)=numeri1(1)
a=Estratto(n,2,1)
b=Estratto(n,3,5)
If a<b Then numeri2(2)=Fuori90(b-a)+20 End If
If a>b Then numeri2(2)=Fuori90(a-b)+20 End If
If a=b Then numeri2(2)=20 End If
ImpostaGiocata 2,numeri2,ruota,poste,10,2
ImpostaGiocata 3,numeri2,ruote,posto,10,2
numeri3(1)=numeri1(1)
a=Estratto(n,2,5)
b=Estratto(n,3,1)
If a<b Then numeri3(2)=Fuori90(b-a)+40 End If
If a>b Then numeri3(2)=Fuori90(a-b)+40 End If
If a=b Then numeri3(2)=40 End If
ImpostaGiocata 4,numeri3,ruota,poste,10,2
ImpostaGiocata 5,numeri3,ruote,posto,10,2
Gioca n
End If
Next
ScriviResoconto
End Sub
Scrivi String(15," ")
ColoreTesto 2
Scrivi String(15," ")&"***********************************************",1
ColoreTesto 1
Scrivi String(15," ")&" metodo Ambo su ruota ",1
ColoreTesto 2
Scrivi String(15," ")&"***********************************************",1
Scrivi String(15," ")&"***********************************************",1
ColoreTesto 9
Scrivi String(15," ")&" By Ras",1
ColoreTesto 9
Scrivi String(15," ")&"***********************************************",1
Sub main()
Dim ruota(10), ruote(10)
Dim numeri1(10), numeri2(10), numeri3(10)
Dim posto(5), poste(5), posta(5)
posta(1)=10
poste(2)=1
posto(2)=2
ruota(1)=2
ruota(2)=3
ruote(1)=11
For n= EstrazioneFin -100 To EstrazioneFin
If IndiceMensile (n+1)=1 Or n=EstrazioneFin Then
numeri1(1)=Fuori90(Estratto(n,2,3)+Estratto(n,3,3)+2)
ImpostaGiocata 1,numeri1,ruota,posta,10,1
numeri2(1)=numeri1(1)
a=Estratto(n,2,1)
b=Estratto(n,3,5)
If a<b Then numeri2(2)=Fuori90(b-a)+20 End If
If a>b Then numeri2(2)=Fuori90(a-b)+20 End If
If a=b Then numeri2(2)=20 End If
ImpostaGiocata 2,numeri2,ruota,poste,10,2
ImpostaGiocata 3,numeri2,ruote,posto,10,2
numeri3(1)=numeri1(1)
a=Estratto(n,2,5)
b=Estratto(n,3,1)
If a<b Then numeri3(2)=Fuori90(b-a)+40 End If
If a>b Then numeri3(2)=Fuori90(a-b)+40 End If
If a=b Then numeri3(2)=40 End If
ImpostaGiocata 4,numeri3,ruota,poste,10,2
ImpostaGiocata 5,numeri3,ruote,posto,10,2
Gioca n
End If
Next
ScriviResoconto
End Sub