Added sample agent + log file writing/parsing
[progcomp2013.git] / qchess / src / board.py
index 0d96d1a..5dbf1dd 100644 (file)
@@ -1,5 +1,7 @@
 [w,h] = [8,8] # Width and height of board(s)
 
+always_reveal_states = False
+
 # Class to represent a quantum chess board
 class Board():
        # Initialise; if master=True then the secondary piece types are assigned
@@ -14,6 +16,9 @@ class Board():
                for c in ["black", "white"]:
                        del self.unrevealed_types[c]["unknown"]
 
+               if style == "empty":
+                       return
+
                # Add all the pieces with known primary types
                for i in range(0, 2):
                        

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