[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Comments/Ratings for a Single Item
Permalink to the exact comments currently displayed.
Check out Modern Chess, our featured variant for January, 2025.
Permalink to the exact comments currently displayed.
Hello, I am trying to make a game that has 2 royals. setlegal seems to be the CV php command to add legal moves. If you are looking through your standard programs that you have made i.e. "legal moves section", setlegal works great. Let's say you completed your loop. After you complete the loop you discover your 2nd royal is in check. I want to clear out all legal moves and re-calculate. Can you clear or unset the legal moves you set in setlegal a few milliseconds ago? i.e. unset $legalmoves?