See here for basic rules on problem.
Make an optimal machine that accepts sequences of Rock Paper Scissors games where first input is Player 1 and second input is Player 2 etc and all the outcomes of the games are the same. E.g. The following are acceptable sequences; RPPSSR, RRPP.
You do not need a route for failed sequences.