Re: Question:Programming a game grid ...

2012-06-27 Thread iconoclast011
In reply to "alex23" who wrote the following: > On Jun 28, 12:15=A0pm, woo...@gmail.com wrote: > > You assume too much IMHO. =A0Vars() was not declared in > > the code provided and I do not think that we should be > > assuming that it is a function returning a dictionary instead > > of an error. >

Question:Programming a game grid ...

2012-06-27 Thread iconoclast011
Fairly new to Python ... Is there a way to efficiently (different from my brute force code shown below) to set up a game grid of buttons (ie with pygame) responding to mouse clicks ? I would want to vary the size of the grid ... Thanks Brute force code: from Tkinter import * root = T