1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fix examples

This commit is contained in:
Alexander Medvednikov
2019-08-07 14:16:10 +02:00
parent b5d67f226f
commit 4b69d43f9f
5 changed files with 9 additions and 5 deletions

View File

@@ -87,7 +87,8 @@ fn get_bet(money int) int {
return bet
}
fn run_wheel(bet_nbr int, bet int) int {
fn run_wheel(bet_nbr int, _bet int) int {
mut bet := _bet
rand.seed(time.now().uni)
winning_nbr := rand.next(50)
print('Roulette Wheel spinning... and stops on the number $winning_nbr which is a ')