@Override
    public void onMoveTick(int x, int y, Game game) {
        SinglePlayerGame spg = (SinglePlayerGame) game;
        Location loc = spg.getFirstSquareNeighborLocation(x, y, 5, zombie.id);
        if (loc == null) {
            if (filterByID(spg.getSquareNeighbors(x, y, 2), human.id).isEmpty()) {
                loc = Location.idleWander(x, y, 1, 50);
                if (loc != null) {
                    spg.moveEntity(x, y, loc);
                }
            }
        } else {
            if (!spg.moveEntity(x, y, Location.towards(x, y, loc, 2))) {
                spg.moveEntity(x, y, Location.wander(x, y, 1));
            }
        }
    }