RPS game shorter solution