Esempio n. 1
0
def main():
    solver = Solver()
    manual = Player()
    n = 17
    if(len(sys.argv)>1):
        n=int(sys.argv[1]);
    # Start simulator on Circle with 10 points with solver as player 0
    # manual (you) as player 1.
    sim = Simulator(Board.from_circle(n),solver,manual)
    print("Starting simulation on circle with <0> points. The computer is\
 playing first!\n")
    while(sim.step()): pass;
    input()