From ab73826c1144be883b3b4af2ff941bd5860b6cb6 Mon Sep 17 00:00:00 2001 From: starnakin Date: Sun, 21 Jan 2024 14:09:43 +0100 Subject: [PATCH] game: fix: the board is draw with good angle --- games/objects/Game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games/objects/Game.py b/games/objects/Game.py index 72b6fa8..664dcf5 100644 --- a/games/objects/Game.py +++ b/games/objects/Game.py @@ -42,7 +42,7 @@ class Game(AbstractRoom): for i in range(nb_sides): - angle: float = (i * 2 * math.pi / nb_sides) + (math.pi * 3 / 4) + angle: float = (i * 2 * math.pi / nb_sides) + (math.pi * 3 / nb_sides) x: float = config.MAP_CENTER_X + radius * math.cos(angle) y: float = config.MAP_CENTER_Y + radius * math.sin(angle)