def main(): bot = Bot() game = Game() game.run(bot) hello = tf.constant('Hello, TensorFlow!') sess = tf.Session() print(sess.run(hello))
def main(): parser = argparse.ArgumentParser() parser.add_argument('--random', type=int, help='makes random moves', default=0, required=False) args = parser.parse_args() bot = Bot(args.random) game = Game() game.run(bot)
def __main__(): bot = Bot() game = Game() game.run(bot)
def main(): bot = Bot() game = Game() game.run(bot)