04-30-2024, 06:47 AM
(04-28-2024, 07:39 PM)James D Jarvis Wrote: Cool. What would code for scrolling a selected queen look like ? (Asking for a lazy friend).
For an ASCII chess board, with simple letters representing the pieces, the "Q" for queen would be moved with the same code used to move the CHR$(19) block in the previous example. Now for graphics, it's more complicated. A range is needed to detect the chess piece and there is masking involved to go along with the movement. You might want to look up the graphic Chess Board by TheBOB in the Prolific Programmers section. I believe he has a mouse routine to move the pieces.
Pete