Don't forget Frenchie, he'll turn against you
[progcomp10.git] / rps / trunk / 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 Attacker = 0
11 Defender = 1
12 Tie = 2
13 Bluff = 0
14 Truth = 1
15 Win = 3
16 Loss = 4
17 # EOF. Stop reading now, kid, you'll only hurt yourself.
18 resultTable = [[Tie,Defender,Attacker],[Attacker,Tie,Defender],[Defender, Attacker, Tie]]
19 pointsTable = [[0,0],[0,0],[0,0]]

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