Client and server side of a rock-paper-scissors game