I could start sending you creepy PMs and you could tell me if I'm getting close-
Okay, my WTF, I very briefly thought that was a good or clever idea. VERY briefly, but still.
My original WTF was that I found another cluster of my old Python code! But none of it works because Python 3 introduced 2 rather confounding changes... Print statements now require parentheses (why??) and "range" now has to be wrapped in "list" in most situations (at least the ones I used it in). So this:
print "oops!"
Has to be:
print("oops!")
and
for z in range(NUM_DIM):
entityGrid.append(range(MAX_X))
terrainGrid.append(range(MAX_X))
Now:
for z in range(NUM_DIM):
entityGrid.append(list(range(MAX_X)))
terrainGrid.append(list(range(MAX_X)))
Which (as far as I can tell, I've barely touched python in months) sacrifices convenience for specificness, and feels like it bloats the lines. Also the error messages were unhelpful, obviously. For print, the error was simply "Invalid syntax" if there was any formatting involved. For "'range' object doesn't support item assignment", even the IDLE editor didn't provide any way to jump to the line.
And don't get me started on the IDLE editor, which has somehow avoided improvement all this time...
This is more me being upset and disturbed at the passage of time (I wrote this stuff 6-7 years ago), and the issues of running old code. Though in my defense, my previous workplace had me use Python 2 also, and seemed a bit amazed that I would even try 3. I'm only using it now because Pygame started recommending it.