You bet and send the transaction to the Ethereum blockchain.
Smartcontract makes a request to Wolframalpha (throws a coin) and gets the result.
If your bet wins, the smart contract immediately sends your gain to your ETH address.
If you lose, then ETH remains on the smart contract.
The smart contract of the game is open and completely transparent.