I hope my question is understandable. I have just started programming a couple of days ago and have so far only done text based games, but want to move onto GUI based games,
global FPSCLOCK, DISPLAYSURF, BASICFONT, RESET_SURF, RESET_RECT, NEW_SURF, NEW_RECT, SOLVE_SURF, SOLVE_RECT
hansn wrote:I think it depends on your code and what library you are using (like pygame).
If every field is an object of its own, I would somehow connect every piece to a single point, and then by moving that single point the entire board would move/rotate.
But that's just me, there could be easier/better ways to do it.
Assuming you have not allready made a working, playable chess board, i would focus on that to begin with.
If you have made it allready, I would love to see it. I could also be of more help if I did.
Users browsing this forum: No registered users and 4 guests