<s> import argparse <EOL> from game . game import Game <EOL> def main ( ) : <EOL> """<STR_LIT>""" <EOL> parser = argparse . ArgumentParser ( ) <EOL> parser . add_argument ( '<STR_LIT>' , help = "<STR_LIT>" , <EOL> type = int , default = <NUM_LIT:20> ) <EOL> parser . add_argument ( '<STR_LIT>' , help = "<STR_LIT>" , action = '<STR_LIT:store_true>' ) <EOL> parser . add_argument ( '<STR_LIT>' , help = "<STR_LIT>" , action = '<STR_LIT:store_true>' ) <EOL> parser . add_argument ( '<STR_LIT>' , help = "<STR_LIT>" , action = '<STR_LIT:store_true>' ) <EOL> parser . add_argument ( '<STR_LIT>' , help = "<STR_LIT>" , action = '<STR_LIT:store_true>' ) <EOL> args = parser . parse_args ( ) <EOL> if args . timeout < <NUM_LIT:0> : <EOL> exit ( ) <EOL> players = [ ] <EOL> if args . player : <EOL> players = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> if args . ai : <EOL> players = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> if not players : <EOL> players = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> game = Game ( timeout = args . timeout , <EOL> display_moves = args . display_moves , <EOL> colour = args . colour , <EOL> players = players ) <EOL> game . run ( ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> main ( ) </s>
