Paladin interview question

In the Coding Test, I was asked to design an algorithm for Rock, Paper, Scissor game.