From 728f67de93ba2ec7c5dda61db84d6e9d22b884b8 Mon Sep 17 00:00:00 2001 From: Tom Weber Date: Wed, 4 Jan 2023 11:00:14 +0100 Subject: [PATCH] starting func --- src/conway/gameoflife.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conway/gameoflife.py b/src/conway/gameoflife.py index c07af59..65db2fd 100644 --- a/src/conway/gameoflife.py +++ b/src/conway/gameoflife.py @@ -103,9 +103,9 @@ def get_starting_board(size, start=random): else: return State(size, size, None) -def start(size = 100, start="random"): +def get(size = 100, start="random"): board = get_starting_board(size, start) - return PlotlyAnimation(board, size) + return PlotlyAnimation(board, size).animation def main(): # state = State(20, 20, [(0, 1), (1, 2), (2, 0), (2, 1), (2, 2)])