X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=rps%2Ftrunk%2Frpsconst.py;fp=rps%2Ftrunk%2Frpsconst.py;h=0000000000000000000000000000000000000000;hb=e9a8105a8f22404f4ac550d79954eaa6b7f5d8ff;hp=5bf1ea5086b1266edea0b349a7361f2980918c73;hpb=4597b27a44522a5c2785cc23029435f44f60ea55;p=progcomp10.git diff --git a/rps/trunk/rpsconst.py b/rps/trunk/rpsconst.py deleted file mode 100644 index 5bf1ea5..0000000 --- a/rps/trunk/rpsconst.py +++ /dev/null @@ -1,19 +0,0 @@ -'''rpsconst.py - A precarious collection of constants for RPS simulation. -Written by Luke Williams for the UCC Programming Competition in 2008. - -Licensed under an MIT-style license: see the LICENSE file for details. -''' - -Rock = 0 -Paper = 1 -Scissors = 2 -Attacker = 0 -Defender = 1 -Tie = 2 -Bluff = 0 -Truth = 1 -Win = 3 -Loss = 4 -# EOF. Stop reading now, kid, you'll only hurt yourself. -resultTable = [[Tie,Defender,Attacker],[Attacker,Tie,Defender],[Defender, Attacker, Tie]] -pointsTable = [[0,0],[0,0],[0,0]]