This is NOT a fully functioning Chess playing game! All it does is show valid moves for any piece when the mouse is held idle over it for a few seconds. Update 12/14/2018 - seems like you now have to click on a piece before it notices it. Some change in mouse sensing over the years, perhaps... This project is a response to Chalkmarrow's Chess Challenge #3 - Show valid chess moves for each piece when the mouse is held over it. In this project, there is a bit of a delay so wait a few seconds and the mouse has to be motionless to trigger the action. See: <A href="/projects/chalkmarrow/85334">(link to project)</A> Thanks to Chalkmarrow for an interesting puzzle! This version knows only simple moves, no fancy rook-king exchange moves! There's nothing particularly elegant here, just brute force coding. The code length could probably be reduced by taking advantage of symmetry. And I would appreciate any improvements to the Mouse Idle detection routine, it takes too many global variables to implement, there's got to be something simpler.