123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234 |
- # result
- *p '<right><img src="images/casino/resul.jpg"></right>'
- clr
- gs 'stat'
- set minut += 5
- x_rul = 100
- x_rul = rand(0, 36)
- if x_rul = 0:
- $color = ' '
- else
- if x_rul = 1 or x_rul = 3 or x_rul = 5 or x_rul = 7 or x_rul = 9 or x_rul = 12 or x_rul = 14 or x_rul = 16 or x_rul = 18 or x_rul = 19 or x_rul = 21 or x_rul = 23 or x_rul = 25 or x_rul = 27 or x_rul = 30 or x_rul = 32 or x_rul = 34 or x_rul = 36:
- $color = 'red'
- else
- $color = 'black'
- end
- end
- ' '
- 'The ball stopped at <<x_rul>> <<$color>>'
- if kh ! 0:
- if kh = 1:
- '1'
- if x_rul = 1 or x_rul = 3 or x_rul = 5 or x_rul = 7 or x_rul = 9 or x_rul = 12 or x_rul = 14 or x_rul = 16 or x_rul = 18 or x_rul = 19 or x_rul = 21 or x_rul = 23 or x_rul = 25 or x_rul = 27 or x_rul = 30 or x_rul = 32 or x_rul = 34 or x_rul = 36:
- act 'You have won <<2*st_1>>':
- set money += 2 * st_1
- gt 'amrul'
- end
- else
- act 'You lost':gt 'amrul'
- end
- end
- if kh = 2:
- if x_rul = 2 or x_rul = 4 or x_rul = 6 or x_rul = 8 or x_rul = 10 or x_rul = 11 or x_rul = 13 or x_rul = 15 or x_rul = 17 or x_rul = 20 or x_rul = 22 or x_rul = 24 or x_rul = 26 or x_rul = 28 or x_rul = 29 or x_rul = 31 or x_rul = 33 or x_rul = 35:
- cla
- act 'You have won <<2*st_1>>':
- set money += 2 * st_1
- gt 'amrul'
- end
- else
- cla
- act 'You lost':gt 'amrul'
- end
- end
- end
- if chnch ! 0:
- if chnch = 1:
- chnch = 0
- if x_rul mod 2 = 0:
- cla
- act 'You have won <<2*st_1>>':
- set money += 2 * st_1
- gt 'amrul'
- end
- else
- cla
- act 'You lost':gt 'amrul'
- end
- end
- if chnch = 2:
- chnch = 0
- if x_rul mod 2 = 1:
- cla
- act 'You have won <<2*st_1>>':
- set money += 2 * st_1
- gt 'amrul'
- end
- else
- cla
- act 'You lost':gt 'amrul'
- end
- end
- end
- if mb ! 0:
- if mb = 1:
- mb = 0
- if x_rul > 0 and x_rul < 19:
- cla
- act 'You have won <<2*st_1>>':
- set money += 2 * st_1
- gt 'amrul'
- end
- else
- cla
- act 'You lost':gt 'amrul'
- end
- end
- if mb = 2:
- mb = 0
- if x_rul > 18 and x_rul < 37:
- cla
- act 'You have won <<2*st_1>>':
- set money += 2 * st_1
- gt 'amrul'
- end
- else
- cla
- act 'You lost':gt 'amrul'
- end
- end
- end
- if du ! 0:
- if du = 1:
- du = 0
- if x_rul > 0 and x_rul < 13:
- cla
- act 'You have won <<3*st_1>>':
- set money += 3 * st_1
- gt 'amrul'
- end
- else
- cla
- act 'You lost':gt 'amrul'
- end
- end
- if du = 2:
- du = 0
- if x_rul > 12 and x_rul < 25:
- cla
- act 'You have won <<3*st_1>>':
- set money += 3 * st_1
- gt 'amrul'
- end
- else
- cla
- act 'You lost':gt 'amrul'
- end
- end
- if du = 3:
- du = 0
- if x_rul > 24 and x_rul < 37:
- cla
- act 'You have won <<3*st_1>>':
- set money += 3 * st_1
- gt 'amrul'
- end
- else
- cla
- act 'You lost':gt 'amrul'
- end
- end
- end
- if series ! 0:
- if series = 1:
- series = 0
- if x_rul = 1 or x_rul = 4 or x_rul = 7 or x_rul = 10 or x_rul = 13 or x_rul = 16 or x_rul = 19 or x_rul = 22 or x_rul = 25 or x_rul = 28 or x_rul = 31 or x_rul = 34:
- cla
- act 'You have won <<3*st_1>>':
- set money += 3 * st_1
- gt 'amrul'
- end
- else
- cla
- act 'You lost':gt 'amrul'
- end
- end
- if series = 2:
- series = 0
- if x_rul = 2 or x_rul = 3 or x_rul = 8 or x_rul = 11 or x_rul = 14 or x_rul = 17 or x_rul = 20 or x_rul = 23 or x_rul = 26 or x_rul = 29 or x_rul = 32 or x_rul = 35:
- cla
- act 'You have won <<3*st_1>>':
- set money += 3 * st_1
- gt 'amrul'
- end
- else
- cla
- act 'You lost':gt 'amrul'
- end
- end
- if series = 3:
- series = 0
- if x_rul = 3 or x_rul = 4 or x_rul = 9 or x_rul = 12 or x_rul = 15 or x_rul = 18 or x_rul = 21 or x_rul = 24 or x_rul = 27 or x_rul = 30 or x_rul = 33 or x_rul = 36:
- cla
- act 'You have won <<3*st_1>>':
- set money += 3 * st_1
- gt 'amrul'
- end
- else
- cla
- act 'You lost':gt 'amrul'
- end
- end
- end
- if chi ! 100:
- if chi = x_rul:
- cla
- act 'You have won <<37*st_1>>':
- set money += 37 * st_1
- gt 'amrul'
- end
- else
- cla
- act 'You lost':gt 'amrul'
- end
- end
- --- result ---------------------------------
|