Beispiel #1
0
def main():
    bot = Bot()
    game = Game()
    game.run(bot)
    hello = tf.constant('Hello, TensorFlow!')
    sess = tf.Session() 
    print(sess.run(hello))
Beispiel #2
0
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)
Beispiel #3
0
def __main__():
    bot = Bot()
    game = Game()
    game.run(bot)
Beispiel #4
0
def main():
    bot = Bot()
    game = Game()
    game.run(bot)