Making a guessing game

hello everyone i want to make a online guessing game
i want my app to be like this:
someone choose 1 or 2 and the opponent should to say 1 or 2 if its correct its my turn

That sounds similar to Rock Paper Scissors.

Here is a CloudDB (MIT) based version I had in stock.

I don't remember if it works or not, though.

RPS_CloudDB.aia (10.4 KB)