made members of enum better

This commit is contained in:
Karma Riuk 2025-01-29 15:02:31 +01:00
parent 28ef132944
commit 331c475c2a

View File

@ -2,8 +2,8 @@ from logic.position import Position
class Piece:
WHITE = 0
BLACK = 1
WHITE = "white"
BLACK = "black"
def __init__(self, pos, colour) -> None:
self.pos = pos