boolean checkRow(FieldContainer fc) {
        int last=fc.getLastMove();
        Character c=fc.getFields(last);
        assert(null!=c);
        int n = fc.getSize();
        int col = (last % n);
        //if first field in row
        if(0!=col)
        {
            //check row in west direction
            for(int i=last-1;(i%n)>=0;--i)
            {
                if(null==fc.getFields(i))
                    return false;
                if(!c.equals(fc.getFields(i)))
                    return false;
                if(0==(i%n))
                	break;
            }
        }
        if(n-1!=col)
        {
            //check row in east direction
            for(int i=last+1;(i%n)!=0;++i)
            {
                if(null==fc.getFields(i))
                    return false;
                if(!c.equals(fc.getFields(i)))
                    return false;
            }
        }       
        return true;
    }