def run_game(board_size, life_cells, refresh): """ Play the game with the given parameters. :param board_size: the grid size of the board :param life_cells: the number of starter life cells :param refresh: the refresh rate of the game """ print( f'Total cells: {board_size * board_size}, Life cells: {life_cells}\n') life_game = Life(size=board_size, initial_cells=life_cells, interval=refresh) life_game.play()