コード例 #1
0
def Process(s, game, version=3):

    pre_process(s, game)
    gather_info(s)
    strategy(s)
    controls(s)
    feedback(s)

    return output(s, version)
コード例 #2
0
def Process(s, game, version=3):

    # t0 = time.time()

    pre_process(s, game)
    gather_info(s)
    strategy(s)
    controls(s)
    feedback(s)

    # if not s.counter % 50:
    #     print(1 / 60 - (time.time() - t0))

    return output(s, version)