Module Import alias ImportFrom alias FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr If CompareLt AttributeLoad NameLoad attr Num body Expr Call NameLoad Assign NameStore ListLoad If AttributeLoad NameLoad attr body Assign NameStore ListLoad Str Str If AttributeLoad NameLoad attr body Assign NameStore ListLoad Str Str If UnaryOpNot NameLoad body Assign NameStore ListLoad Str Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A argparse game.game Game main N/A N/A N/A N/A N/A  Reversi game with human player vs AI player.
     N/A parser N/A N/A argparse ArgumentParser N/A N/A N/A parser add_argument --timeout help Number of seconds the brain is allowed to think before making its move. type int default 20 N/A N/A N/A parser add_argument --display-moves help Whether legal moves should be displayed or not. action store_true N/A N/A N/A parser add_argument --colour help Display the game in 256 colours. action store_true N/A N/A N/A parser add_argument --player help If you want to play against the ai action store_true N/A N/A N/A parser add_argument --ai help If you want the ais to play against each other action store_true N/A args N/A N/A parser parse_args N/A N/A N/A args timeout 0 N/A N/A N/A exit N/A players N/A N/A N/A args player N/A N/A players N/A player ai N/A N/A args ai N/A N/A players N/A ai ai N/A N/A players N/A N/A players N/A player ai N/A game N/A Game timeout N/A args timeout display_moves N/A args display_moves colour N/A args colour players players N/A N/A N/A game run N/A N/A N/A __name__ __main__ N/A N/A N/A main