Follow along with the video below to see how to install our site as a web app on your home screen.
Nota: This feature may not be available in some browsers.
'29-08-2024
'
ColoreTesto 2 :Scrivi String(37,32)&" METODO GERARDINA by Salvo Badessa ",1
Scrivi
ColoreTesto 0
Sub main()
Dim am(5),am2(2),ambi(4),ci(5),nn(3),ru(2),pos1(1),pos2(3),pos3(5),ru1(10),ru2(10),sestina(6)
pos1(1)=1:pos2(2)=1 :pos3(2)=1:pos3(3)=1
est = CInt(InputBox("Quante estrazioni vuoi controllare? ","estrazioni ",200))
k=InputBox("Quanti colpi di gioco? ","colpi di gioco",13)
fin=EstrazioneFin
ini=fin-est
For es = ini To fin:messaggio(es)
For r=1 To 1
For r1=r+1 To 12
If r1=11 Then r1=12
a=Estratto(es,r,1)'
b=Estratto(es,r1,1)'
If Fuori90(a+a)=b Then
n1 = Diametrale(Fuori90(a+b)) '
n2=Fuori90(n1+n1)
n3=Diametrale(a)
n4=Diametrale(b)
ru1(1)=r
ru1(2)=r1
ru2(1)=r
ru2(2)=r1
ru2(3)=11
ru2(4)=12
casi=casi+1
Scrivi
Scrivi String(65,"-")&" caso n° "&(casi),1
Scrivi
Scrivi DataEstrazione(es,1)&" < "&siglaRuota(r)& " "& StringaEstratti(es,r)&_
" > Estratto < "&Format2(a)&" > in "&Format2(1)&"^ posiz.",1
Scrivi DataEstrazione(es,1)&" < "&siglARuota(r1)& " "& StringaEstratti(es,r1)&_
" > numero doppio Estratto < "&Format2(b)&" > in "&Format2(1)&"^ posiz.",1
If iso = 1 Then ColoreTesto 2: Scrivi " > numeri ISOTOPI < ",1 :ColoreTesto 0
If iso = 2 And p = p1 Then ColoreTesto 2: Scrivi " > numeri ISOTOPI < ",1 :
ColoreTesto 1
If Distanza(r,r1)=1 Or ((r=1 And r1=12)Or(r=10 And r1=12)) Then Scrivi " > RUOTE CONSECUTIVE ",1
If Distanza(r,r1)=5 And r<12 And r1<12 Then Scrivi " > RUOTE DIAMETRALI ",1
If (r+r1)=11 Then Scrivi " > RUOTE GEMELLARI ",1
am(1)=n1
am(2)=n2
ImpostaGiocata 1,am,ru1,pos1,k
am2(1)=n1
am2(2)=n3
ImpostaGiocata 2,am2,ru2,pos2,k
am2(1)=n1
am2(2)=n4
ImpostaGiocata 3,am2,ru2,pos2,k
am2(1)=n2
am2(2)=n3
ImpostaGiocata 4,am2,ru2,pos2,k
am2(1)=n2
am2(2)=n4
ImpostaGiocata 5,am2,ru2,pos2,k
ambi(1)=n1
ambi(2)=n2
ambi(3)=n3
ambi(4)=n4
ImpostaGiocata 6,ambi,ru2,pos3,k
Gioca es
End If
Next
Next
Next
ScriviResoconto
End Sub