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
ScissorsU+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.
Fennel 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 seperate 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.