I’m trying to create a Rock Paper Scissor game against the computer.
I have no problem to create it with number (0,2).
Considering the numeric value of each choice I end up with 4 flowchart decision branches.
If player = CPU
If player - CPU = either -2 ; -1 ; 1 or 2. (-2 and 1 been the winning conditions; -1 and 2 the losing conditions).
But I would like to replace the decision step with words instead of number.
I can manage that part using a String variable.
However after I don’t know how to reconvert the picked choice into number to be able to use the flowchart decision process listed before.