<filename>ncoop57_mages/cli.py<gh_stars>0
# AUTOGENERATED! DO NOT EDIT! File to edit: 03_cli.ipynb (unless otherwise specified).

__all__ = ['main']

# Cell

from .game import init_player, game_loop
from fastcore.script import *

# Cell
@call_parse
def main(n: Param("The number of battles", int),):
    "Print `msg`, optionally converting to uppercase"
    player = init_player()
    game_loop(player, n = n)
<filename>ncoop57_mages/cli.py<gh_stars>0
# AUTOGENERATED! DO NOT EDIT! File to edit: 03_cli.ipynb (unless otherwise specified).

__all__ = ['main']

# Cell

from .game import init_player, game_loop
from fastcore.script import *

# Cell
@call_parse
def main(n: Param("The number of battles", int),):
    "Print `msg`, optionally converting to uppercase"
    player = init_player()
    game_loop(player, n = n)
# AUTOGENERATED! DO NOT EDIT! File to edit: 03_cli.ipynb (unless otherwise specified). # Cell # Cell