public boolean isEndGame(Chessman king) { //otestuje, zda-li neni dana situace remiza pripadne mat
        boolean draw = !isChecked();
        for (int _row = 0; _row < 8; _row++) { //projde celou sachovnici...
            for (int _column = 0; _column < 8; _column++) {
                if(this.board[_column][_row] != null && this.board[_column][_row].getPlayer() == player) {
                    for (int __row = 0; __row < 8; __row++) { //projde celou sachovnici...
                        for (int __column = 0; __column < 8; __column++) {
                            //System.out.println("Ptam se "+this.board[_column][_row].toString()+" na pozici ["+_column+"]["+_row+"], jestli by mohl jit na ["+__column+"]["+__row+"] tak, aby pak nebyl sach.");
                            if(this.board[_column][_row].move(false,__column,__row)) {
                                //System.out.println("alespon jeden mozny tah tu je");
                                return false;
                            }
                            else {
                                //System.out.println("tohle zrovna ne");
                            }
                        }
                    }
                }
            }
        }
        stillPlaying = false;
        if(draw) {
            System.out.println("Remiza.");
            return true;
        }
        else {
            if(player) {
                System.out.println("Zvitezil cerny!");
            }
            else{
                System.out.println("Zvitezil bily!");
            }
            return true;
        }
    }