Rock-paper-scissors: Difference between revisions

Content added Content deleted
Line 3,841: Line 3,841:
=={{header|Phixmonti}}==
=={{header|Phixmonti}}==
<lang Phixmonti>include ..\Utilitys.pmt
<lang Phixmonti>include ..\Utilitys.pmt



0 var wh
0 var wh
Line 3,898: Line 3,897:
wh wc > if "You win!" else wh wc < if "I win!" else "Draw!" endif endif ?
wh wc > if "You win!" else wh wc < if "I win!" else "Draw!" endif endif ?
enddef</lang>
enddef</lang>
{{out}}
<pre>'Rock, Paper, Scissors, Lizard, Spock!' rules are:

Scissors cuts Paper
Paper covers Rock
Rock crushes Lizard
Lizard poisons Spock
Spock smashes Scissors
Scissors decapites Lizard
Lizard eats Paper
Paper disproves Spock
Spock vaporizes Rock
Rock blunts Scissors

Choose (S)cissors, (P)paper, (R)ock, (L)izard, Spoc(K) or (Q)uit: k
You choose Spock
I choose Rock
Spock vaporizes Rock
You win!
Choose (S)cissors, (P)paper, (R)ock, (L)izard, Spoc(K) or (Q)uit: q

Your punctuation: 1
Mi punctuation: 0
You win!

=== Press any key to exit ===</pre>


=={{header|PHP}}==
=={{header|PHP}}==