Follow

@aris

You should paint all those empty squares using a for loop. And create an external caching system, since most of squares will not change on each turn. That would speed up development. And have a class hierarchy, with a base Piece class, which all other piece classes inherit, and then make each piece an instance of one of the derived classes.

ChatGPT can help with all of that.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.