cleanup
[progcomp10.git] / src / rpsconst.py
diff --git a/src/rpsconst.py b/src/rpsconst.py
new file mode 100644 (file)
index 0000000..5bf1ea5
--- /dev/null
@@ -0,0 +1,19 @@
+'''rpsconst.py - A precarious collection of constants for RPS simulation.
+Written by Luke Williams <[email protected]> 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]]

UCC git Repository :: git.ucc.asn.au