In this case, you need only two variables, your choice and rival's choice.
Could you refer to the following description?
INPUT CHOICE
RIVAL=RND(3)+4 '<- choose value 4-6 at random
IF CHOICE==4 THEN
IF RIVAL==5 THEN PRINT "WIN"
IF RIVAL==6 THEN PRINT "LOSE"
IF RIVAL==4 THEN PRINT "TIE"
ENDIF
'write conditional branch yourself in case of CHOICE==5 and CHOICE==6
0そうだね 未プレイ