[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Check out Janggi (Korean Chess), our featured variant for December, 2024.
Check out Janggi (Korean Chess), our featured variant for December, 2024.
I changed the highlighting a bit in case of mandatory moves. Rather than not showing any moves for other pieces when there is a piece that must make a prioritized moves, it now shows the grey cross. This is more in line with how it treats pieces that cannot legally move because you have to resolve a check elsewhere.
It also helps to ameliorate a small imperfection that still exists in variants that have prioritized moves in combination with the checking rule. If the latter makes all prioritized moves illegal, the AI is smart enough to know that it should enable all non-prioritized moves. But the highlighting isn't, so the user would then have to play a move highlighted by a cross. Which will now still be handled as the corresponding pseudo-legal move prescribes, i.e. including possible side effects such as promotion or locust capture. Before I just removes the non-prioritized moves from the move list during highlighting. So that they were not highlighted, and if the user would play one, a new move, which would just move the selected piece without any side effects, would be synthesized and performed.