rp_robber = graph.random_walk_on_graph(robber1.position)
        robber_strategy.cannottouch = graph.cops_places()
        if robber1.position == cop1.position or robber1.position in graph_representation[cop1.position]:
            game_on = False
            print "after cop move:"
            print "COP WON!"
            break
        elif robber1.position == robber_strategy.target or moves == N:
            game_on = False
            print "after cop move:"
            print "ROBBER WON!"
            break
        if not human_robber:
            robber1.change_position(robber_strategy.next_move(robber1))
        else:
            graph.human_robber_move()
        pylab.draw()
        graph.update(robbers, cops)
        plt.pause(speed)

        if robber1.position == cop1.position or robber1.position in graph_representation[cop1.position]:
            game_on = False
            print "after robber move:"
            print "COP WON!"
            break
        elif robber1.position == robber_strategy.target or moves == N:
            game_on = False
            print "after robber move:"
            print "ROBBER WON!"
            break