conways_gol/cells/living_cells_initialization.py
def blinker(self) -> np.ndarray:
        """
        Method that implements a Blinker oscillator.

        :return: universe with a blinker at its center
        """
        grid = self.universe
        blinker = [1, 1, 1]
        if len(grid) % 2 == 0:
            grid[int(len(grid) / 2) - 1, int(len(grid) / 2) - 1:int(len(grid) / 2) + 2] = blinker
        else:
            grid[int(len(grid) / 2), int(len(grid) / 2) - 1:int(len(grid) / 2) + 2] = blinker
        return grid

        Method that implements a Blinker oscillator.

        :return: universe with a blinker at its center
        
Method that implements a Blinker oscillator.
Method that implements a Blinker oscillator .
def blinker(self) -> np.ndarray:
        grid = self.universe
        blinker = [1, 1, 1]
        if len(grid) % 2 == 0:
            grid[int(len(grid) / 2) - 1, int(len(grid) / 2) - 1:int(len(grid) / 2) + 2] = blinker
        else:
            grid[int(len(grid) / 2), int(len(grid) / 2) - 1:int(len(grid) / 2) + 2] = blinker
        return grid
def blinker ( self ) -> np . ndarray : grid = self . universe blinker = [ 1 , 1 , 1 ] if len ( grid ) % 2 == 0 : grid [ int ( len ( grid ) / 2 ) - 1 , int ( len ( grid ) / 2 ) - 1 : int ( len ( grid ) / 2 ) + 2 ] = blinker else : grid [ int ( len ( grid ) / 2 ) , int ( len ( grid ) / 2 ) - 1 : int ( len ( grid ) / 2 ) + 2 ] = blinker return grid
Method that implements a Blinker oscillator.
Method that implements a Blinker oscillator .
"""
        Method that implements a Blinker oscillator.

        :return: universe with a blinker at its center
        """
universe with a blinker at its center
universe with a blinker at its center
self