[Hopefully] final documentation tweaks
[progcomp10.git] / src / rpsconst.py
1 '''rpsconst.py - A precarious collection of constants for RPS simulation.
2 Written by Luke Williams <[email protected]> for the UCC Programming Competition in 2008.
3
4 Licensed under an MIT-style license: see the LICENSE file for details.
5 '''
6
7 Rock = 0
8 Paper = 1
9 Scissors = 2
10
11 rpsStrings=["Rock","Paper","Scissors"]
12
13 Attacker = 0
14 Defender = 1
15 Tie = 2
16
17 adtStrings=["Attacker","Defender","Tie"]
18
19 Bluff = 0
20 Truth = 1
21 Win = 3
22 Loss = 4
23 # EOF. Stop reading now, kid, you'll only hurt yourself.
24 resultTable = [[Tie,Defender,Attacker],[Attacker,Tie,Defender],[Defender, Attacker, Tie]]
25 pointsTable = [[0,0],[0,0],[0,0]]

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