A rock-paper-scissors implementation.