I would be happy to see the finished result when complete.
My finished result will hopefully be a functioning chessboard. I have an idea for how to logically do it but I need to first see if I am able to code mouse click input using python.
I would be happy to see the finished result when complete.
My finished result will hopefully be a functioning chessboard. I have an idea for how to logically do it but I need to first see if I am able to code mouse click input using python.
It doesn't need to be short in particular. Just save it and use it as a module.
good idea for not learning 5 lang, but sometimes it is handy to know a full stack. (front end, back end, and some sort of data management like SQL)*
*please don't be mean about the spelling of SQL (or sequel). I don't have a particular preference, and I know that is a bit controversial.
Ah I see. I know how to create a webpage and design it, but its just the animations using javascript that are hard. I know basic stuff like alerts, for and while loops, if statements, but animating is a problem. I will probably continue with javascript after I get good at python.
No, I feel like I should focus on one programming language rather than on 5.
Very sensible and Python is a great choice - well supported with loads of online help when you hit snags.
BTW, don't worry too much about your topic being 'inappropriate' because it is about chess and I certainly can't see the club admins raising any objections. But this club is mainly for supporting the use of the site's API, so have you tried using that yet?
I haven't looked into the pygame modules before and had to install them - quite a lot to look over. I ran your code (without the delay at the end pygame.time.wait - what's that for?) and the checkerboard opened nicely. You can't close the window by normal means though?
I had to restart the shell to clear it. Is there a method in pygame for closing a window?
Yes, I will use the API later to probably learn data science libraries like seaborn. I am not there yet, since I am planning to learn the date/time and numpy modules first.
pygame.time.wait basically just waits the amount of milliseconds put as a parameter in the function before running the rest of the code.