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:
0 bytes, 0 chars
Restore solution
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