I'm making a game in which I would like a mini game where you can bet on little boats, and watch them race. Thing is I don't really know
how to start doing something like this. I'm fairly new to the program, but like to think I'd be able to follow any instructions someone could give me to achieve this.

Here is the scene above. I would like it so the main character would talk to the green haired guy, and then the boats would race up and down a couple times. Obviously with the results being random each time, and maybe the winnings too if possible.
I know this is probably a ridiculous request, and I don't expect anyone to just be able to explain to me the solution, but I thought I'd give it a shot.
Thanks, in advance all!