Hello everyone.
I am having a good time programming with Python 3.3 and Pygame. Pygame
seems like the perfect platform for the kind of simple games that I want to
make.
What I have currently programmed is basically a drawn rectangle filled with
200 squares, each side of the squares being 43
the entire grid is now being worked out.
-Andrew
On Wed, May 15, 2013 at 3:57 PM, Dave Angel da...@davea.name wrote:
On 05/15/2013 02:14 PM, Andrew Bradley wrote:
Please reply on the list, not privately, unless it's something like a
simple thank-you. Typically, you'd do a reply-all, then delete
ok, now I have tested this more thoroughly, and it seems i can only do the
grid[x][y] function up to grid[9][9], when i really should be able to be
doing up to grid[10][20].
What exactly is the function of this row_squares list?
On Wed, May 15, 2013 at 4:35 PM, Andrew Bradley abradley
SQUARESIZE = 43
grid = []
for row in range(10):
row_squares = []
for column in range(20):
rect = Rect(12 + column * SQUARESIZE, 10 + row * SQUARESIZE,
SQUARESIZE, SQUARESIZE)
row_squares.append(rect)
grid.append(row_squares)
It appears to be working