Check out Atomic Chess, our featured variant for November, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Chess. Play Chess with Jocly.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Apr 22, 2016 07:49 PM UTC:
> forget about the Queen from a programming point of view: this is definitely a King

I already have "isKing" set to true in the definition of the piece, but this does not stop the Queen from moving through check. Unlike the King, the Queen moves any number of spaces, and the code for the King isn't taking that into account. Maybe I should modify Model.Board.Evaluate.

> have a look at the XiangQi implementation, there is something about preventing Kings to face each other

That's already handled.