Two random numbers are randomly generated. You know yours and the AI knows its. You either get to offer a bet of 1-3 or accept the bet given by your opponent. Actions are done by clicking parts of the canvas.