You are not logged in.
Pages: 1
http://www.learningpython.com/2006/03/1 … g-a-level/
I'm making a game. Using a tiling method similar to above.
if I have a list:
list = [[0, 1, 8],
[0, 4, 5],
etc
What do I do if I need more than 10 different tiles? It seems I can use numbers like 10, 11, 12, but it would mess up the rows and make it harder to decipher the list. So what should I do?
Personally, I'd rather be back in Hobbiton.
Offline
Maybe I'm missing something...
list = [[ 1, 2, 3],
...,
[11, 12, 13]]
M*cr*s*ft: Who needs quality when you have marketing?
Offline
You can use letters too, if you like. For easiest reading and editing, use a wider variety of characters and read them in from a text file to get rid of all the comma garbage in between. It's a good thing to know how to do, and it shouldn't take long to write.
Offline
Pages: 1