🤖 HexAI!
This commit is contained in:
@ -21,8 +21,8 @@ LINETHICKNESS = 15
|
||||
HEXTHICKNESS = 6 # This is half the width of the background lining between every hex
|
||||
X_THICKNESS = HEXTHICKNESS * math.cos(math.pi/6)
|
||||
Y_THICKNESS = HEXTHICKNESS * math.sin(math.pi/6)
|
||||
BACKGROUND_COLOR = (235,235,235)
|
||||
BETWEEN_COLOR = BACKGROUND_COLOR
|
||||
BACKGROUND_COLOR = (230,230,230)
|
||||
BETWEEN_COLOR = (231,231,231)
|
||||
BLANK_COLOR = "lightgrey"
|
||||
PIECECOLOR = {1:(237,41,57),2:(0,165,255),0:BLANK_COLOR} # player1 is red, player2 is blue
|
||||
BOARDCOORDINATES = [ [(X_OFFSET + HEXAGONWIDTH*(column + row/2),Y_OFFSET + HEXAGONHEIGHT*row) for column in range(11)] for row in range(11)] # These are the coordinates for the upperleft corner of every hex
|
||||
|
Reference in New Issue
Block a user