Please in order to save solutions and appear on the leaderboards.

Rock-paper-scissors-Spock-lizard

Details

Judge games of "rock-paper-scissors" with additional weapons:

āœ‚ cuts šŸ“„ covers šŸ’Ž crushes šŸ¦Ž poisons šŸ–– smashes āœ‚ decapitates šŸ¦Ž eats šŸ“„ disproves šŸ–– vaporizes šŸ’Ž crushes āœ‚.

Each argument is a string of two emoji encoded in UTF-8. For each argument, print a line like šŸ¦Ž poisons šŸ–– describing the game outcome, or Tie if they are equal.

The weapons are represented and encoded as follows:

WeaponEmojiCodepointUTF-8 Sequence
RockšŸ’ŽU+1F48E
f0 9f 92 8e
PaperšŸ“„U+1F4C4
f0 9f 93 84
Scissorsāœ‚U+2702
e2 9c 82
SpockšŸ––U+1F596
f0 9f 96 96
LizardšŸ¦ŽU+1F98E
f0 9f a6 8e
0 bytes, 0 chars
Restore solution
All
Compiled from AT&T syntax to x86-64 Linux. Use syscalls to write output.
Arturo is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Fennel is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Uiua is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
ctrl + enter or

Delete Solution

Are you sure you want to delete your solution(s) for Rock-paper-scissors-Spock-lizard?

If you have separate bytes and chars solutions then both will be deleted.

This is irreversible, please backup any code you care about.

Type I understand and press confirm to continue.