An algorithm for winning at rock-paper-scissors · HackerTrans