|
|
|
@ -40,8 +40,8 @@ def get_neighbors(x, y):
@@ -40,8 +40,8 @@ def get_neighbors(x, y):
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
|
|
argument_parser = argparse.ArgumentParser(description="Game of Life bml generator") |
|
|
|
|
argument_parser.add_argument('-w', dest="world", type=list, default=None, help="pre-constructed world (optional)") |
|
|
|
|
argument_parser.add_argument('-o', dest="output_path", type=str, help="output file (mandatory)") |
|
|
|
|
argument_parser.add_argument('-w', dest="world", type=list, default=None, help="pre-constructed world (optional)") |
|
|
|
|
argument_parser.add_argument('-d', dest="delay", type=int, default=300, help="delay between frames (optional)") |
|
|
|
|
args = argument_parser.parse_args() |
|
|
|
|
|
|
|
|
|