Jan-13-2020, 05:06 AM
I can make no sense of that code. Also, it imports two modules I've never even heard of.
At this point, I'm thinking I need to just re-do the functions for the two-color blocks before moving on. Besides, I've tweaked the functions so much I can't even understand my own loops anymore.
And yes, I did think about making one function that could render everything, but I couldn't think of a way to get such to work, at least while using only python and pygame code. Honestly, at one point I was thinking it would actually take less lines of code if I just manually entered in every single possible combination rather than having an algorithm make them for me, and at this rate I'm still open to that being a possibility.
At this point, I'm thinking I need to just re-do the functions for the two-color blocks before moving on. Besides, I've tweaked the functions so much I can't even understand my own loops anymore.
And yes, I did think about making one function that could render everything, but I couldn't think of a way to get such to work, at least while using only python and pygame code. Honestly, at one point I was thinking it would actually take less lines of code if I just manually entered in every single possible combination rather than having an algorithm make them for me, and at this rate I'm still open to that being a possibility.