News for hackers. Stuff that matters.
Re:Analog Chess – pieces are not constrained to a grid by NineStarPoint on Friday January 13, 2023 @11:09PM (#34377316)
In theory yes. In practice, python uses floating point numbers for decimals so there is actually a minimum possible move and a finite number of allowed decimals.
Re:Analog Chess – pieces are not constrained to a grid by ehulinsky on Saturday January 14, 2023 @02:26AM (#34378080)
Also the game only has a resolution of 640x640 pixels, and you cant move the mouse a half pixel. But anyways, stalemate basically requires very precise positioning by the attacker, so it is VERY unlikely to actually happen, especially since they are trying to avoid stalemate.
Re:Analog Chess – pieces are not constrained to a grid by srcreigh on Saturday January 14, 2023 @02:42AM (#34378152)
The king can put himself in check too, so the defender would have to cooperatively allow checkmate (instead of capturing the other pieces)