diff --git a/funcs/games/hexDraw.py b/funcs/games/hexDraw.py index 3d57b6f..df63179 100644 --- a/funcs/games/hexDraw.py +++ b/funcs/games/hexDraw.py @@ -14,7 +14,7 @@ def drawBoard(channel): SIDELENGTH = 75 X_OFFSET = CANVAS_WIDTH/2 - 8*math.sqrt(3)*SIDELENGTH # The offsets centers the board in the picture Y_OFFSET = CANVAS_HEIGHT/2 - 8*SIDELENGTH # The offsets are the coordinates of the upperleft point in the upperleftmost hexagon - hexagonwidth = math.sqrt(3) * SIDELENGTH # the whole width + hexagonwidth = math.sqrt(3) * SIDELENGTH # the whole width of one hexagon hexagonheight = 1.5 * SIDELENGTH # not really the entire height, but the height difference between two layers fontsize = 45 textcolor = (0,0,0) @@ -54,8 +54,8 @@ def drawBoard(channel): ],fill="white") # Draw color on the outside of the board - for point in boardCoordinates[0] - + for point in boardCoordinates[0]: + "hi nikolaj" # Writes "abc..", "123.." on the columns and rows for i in range(11):