-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IIlegal move #23
Comments
From the ontposition file : Protected positions f3 Color W Piece no.chess.web.model.ChessPiece Ontology name WhitePawn7 Protected positions d3 Color W Piece None false gamepiece Gamenone Attacked positions f3 Color W Piece no.chess.web.model.ChessPiece Ontology name WhitePawn7 Attacked positions d3 Color W Piece None false gamepiece Gamenone Preferred position set to e3 Color B Piece None false gamepiece Gamenone Piece: Piece positione2 X, Y (4, 1) wP e2PAWNName P Evaluation value: 19.0 |
For the problemsolver: After move: Bf5 the Knight at d5 is replaced by the white pawn !! PROTECTEDBY(x,d5) NO MOVE !!! Checking piecefacts for |
A wrong set of removed positions: Does not know that the white pawn in d4 has been removed !!! NB!!: ???? |
A possible null move: Action.processPosition new move is null Move From position d1 Color W Piece no.chess.web.model.ChessPiece Ontology name WhiteQueen To position b3 Color W Piece None false gamepiece Gamenone |
Solved: |
The active player makes an illegal move as shown below:
Action
ChessAction: Preferred Position f3 Piece Piece positione2 X, Y (4, 1) wP e2PAWNName P
Available positions
Position: e3 B X, Y (4, 2)
Position: e4 W X, Y (4, 3)
Removed positions
Possible move Move
Piece Piece positione2 X, Y (4, 1) wP e2PAWNName P
Available positions
Position: e3 B X, Y (4, 2)
Position: e4 W X, Y (4, 3)
Removed positions
From position e2 Color W Piece no.chess.web.model.ChessPiece Ontology name WhitePawn5
Chesspiece position e2
Piece active: true true gamepiece null
To position f3 Color W Piece no.chess.web.model.ChessPiece Ontology name WhitePawn7
This move appears as a "no move" see picture below
The text was updated successfully, but these errors were encountered: