Re: Help with pygame

2013-07-16 Thread Terry Reedy
On 7/16/2013 1:29 PM, Daniel Kersgaard wrote: I'm having a little trouble, tried Googling it, but to no avail. > Currently, I'm working on making a snake game, however > I'm stuck on a simple border. To give a variation of the other answers, it would be easier if you drew the four sides more s

Re: Help with pygame

2013-07-16 Thread Dave Angel
On 07/16/2013 01:29 PM, Daniel Kersgaard wrote: I'm having a little trouble, tried Googling it, but to no avail. Currently, I'm working on making a snake game, however I'm stuck on a simple border. The only thing I need help with is when you run the program, the bottom right corner of the bord

Re: Help with pygame

2013-07-16 Thread Daniel Kersgaard
I didn't even think about that! I added one more draw and it worked like a charm, thanks so much! I'm not sure why I couldn't think of that! -- http://mail.python.org/mailman/listinfo/python-list

Re: Help with pygame

2013-07-16 Thread Chris Angelico
On Wed, Jul 17, 2013 at 3:29 AM, Daniel Kersgaard wrote: > def drawWalls(surface): > > #left and right walls > for y in range(HEIGHT): > surface.blit(wallblock, (0, y * BLOCK_SIZE)) > surface.blit(wallblock, (WIDTH * BLOCK_SIZE, y * BLOCK_SIZE)) > > for x in range(W