Python Forum
Why do I have an infinite loop?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why do I have an infinite loop?
#9
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.
Reply


Messages In This Thread
Why do I have an infinite loop? - by xBlackHeartx - Jan-12-2020, 05:53 PM
RE: Why do I have an infinite loop? - by Windspar - Jan-12-2020, 11:37 PM
RE: Why do I have an infinite loop? - by xBlackHeartx - Jan-13-2020, 05:06 AM
RE: Why do I have an infinite loop? - by Windspar - Jan-13-2020, 11:37 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020