So basically you bet on what would be the outcome of the coin flips. If you guess 2 out of 3 you win. And you have items to mess with your chances but it's still gambling. And you can bet more than one cap to do more damage but then you risk losing as many caps as you bet.
Thanks for playing and hope you liked the experience :)