Standard rules of Rock, paper, scissors. Tezos edition. The contract wins if its random choice is the same as yours.