import json

from sc2 import run_game, maps, Race, Difficulty
from sc2.player import Bot, Computer

from bot import MyBot

def main():
    with open("botinfo.json") as f:
        info = json.load(f)

    race = Race[info["race"]]

    run_game(maps.get("Abyssal Reef LE"), [
        Bot(race, MyBot()),
        Computer(Race.Random, Difficulty.Medium)
    ], realtime=False, step_time_limit=2.0, game_time_limit=(60*20), save_replay_as="test.SC2Replay")

if __name__ == '__main__':
    main()

a83a5ebdc059c8c0ea5b3fcb5f38703f331c89f6
<mask token>

<mask token>


def main():
    with open('botinfo.json') as f:
        info = json.load(f)
    race = Race[info['race']]
    run_game(maps.get('Abyssal Reef LE'), [Bot(race, MyBot()), Computer(
        Race.Random, Difficulty.Medium)], realtime=False, step_time_limit=
        2.0, game_time_limit=60 * 20, save_replay_as='test.SC2Replay')


<mask token>

<mask token>


def main():
    with open('botinfo.json') as f:
        info = json.load(f)
    race = Race[info['race']]
    run_game(maps.get('Abyssal Reef LE'), [Bot(race, MyBot()), Computer(
        Race.Random, Difficulty.Medium)], realtime=False, step_time_limit=
        2.0, game_time_limit=60 * 20, save_replay_as='test.SC2Replay')


if __name__ == '__main__':
    main()

import json
from sc2 import run_game, maps, Race, Difficulty
from sc2.player import Bot, Computer
from bot import MyBot


def main():
    with open('botinfo.json') as f:
        info = json.load(f)
    race = Race[info['race']]
    run_game(maps.get('Abyssal Reef LE'), [Bot(race, MyBot()), Computer(
        Race.Random, Difficulty.Medium)], realtime=False, step_time_limit=
        2.0, game_time_limit=60 * 20, save_replay_as='test.SC2Replay')


if __name__ == '__main__':
    main()

import json

from sc2 import run_game, maps, Race, Difficulty
from sc2.player import Bot, Computer

from bot import MyBot

def main():
    with open("botinfo.json") as f:
        info = json.load(f)

    race = Race[info["race"]]

    run_game(maps.get("Abyssal Reef LE"), [
        Bot(race, MyBot()),
        Computer(Race.Random, Difficulty.Medium)
    ], realtime=False, step_time_limit=2.0, game_time_limit=(60*20), save_replay_as="test.SC2Replay")

if __name__ == '__main__':
    main()
