game.py
def draw_piece(self, row: int, column: int):
        """
        Draws a piece on the screen or black for empty cells
        """
        cell = self.board.grid[row][column]
        player_1, player_2 = self.board.players
        # empty - BLACK, player 1 - RED, player 2 - YELLOW
        color = self.PLAYER_1_COLOR if cell == player_1 else self.BACKGROUND_COLOR
        color = self.PLAYER_2_COLOR if cell == player_2 else color
        # draw piece
        pygame.draw.circle(
            self.__screen,
            color,
            (
                int(column * self.SQUARE_WIDTH + self.SQUARE_WIDTH / 2),
                int(row * self.SQUARE_WIDTH + self.SQUARE_WIDTH / 2 + self.GRID_OFFSET),
            ),
            int(self.SQUARE_WIDTH // 2) - 5,
        )

        Draws a piece on the screen or black for empty cells
        
Draws a piece on the screen or black for empty cells
Draws a piece on the screen or black for empty cells
def draw_piece(self, row: int, column: int):
        cell = self.board.grid[row][column]
        player_1, player_2 = self.board.players
        color = self.PLAYER_1_COLOR if cell == player_1 else self.BACKGROUND_COLOR
        color = self.PLAYER_2_COLOR if cell == player_2 else color
        pygame.draw.circle(
            self.__screen,
            color,
            (
                int(column * self.SQUARE_WIDTH + self.SQUARE_WIDTH / 2),
                int(row * self.SQUARE_WIDTH + self.SQUARE_WIDTH / 2 + self.GRID_OFFSET),
            ),
            int(self.SQUARE_WIDTH // 2) - 5,
        )
def draw_piece ( self , row : int , column : int ) : cell = self . board . grid [ row ] [ column ] player_1 , player_2 = self . board . players color = self . PLAYER_1_COLOR if cell == player_1 else self . BACKGROUND_COLOR color = self . PLAYER_2_COLOR if cell == player_2 else color pygame . draw . circle ( self . __screen , color , ( int ( column * self . SQUARE_WIDTH + self . SQUARE_WIDTH / 2 ) , int ( row * self . SQUARE_WIDTH + self . SQUARE_WIDTH / 2 + self . GRID_OFFSET ) , ) , int ( self . SQUARE_WIDTH // 2 ) - 5 , )
Draws a piece on the screen or black for empty cells
Draws a piece on the screen or black for empty cells
"""
        Draws a piece on the screen or black for empty cells
        """ # empty - BLACK, player 1 - RED, player 2 - YELLOW
 # draw piece

self
row
int
column
int