Putty wrote:
> Do you think it would be reasonable to use wxGrid to make the game
> area?
>
> [EMAIL PROTECTED] wrote:
> > Putty wrote:
> > > Hi.  I was going to write an implementation of John Conway's Life game
> > > using Python and Tk, but I soon found that Tk just didn't cut the
> > > mustard for memory usage, management, and the like for such a project,
> > > so I've found my best GUI bet for my project is wxPython and not
> > > pygame.
> > >
> > > Anybody have any advice thus far?
> > >
> > > Anyway, my real question is if anybody knows of any tutorials or source
> > > code from other implementations and other languages that may prove
> > > useful?
> >
> > I find that wxPython is very easy to use..  I just noticed a graphic
> > library that may or may not help
> > http://language-binding.net/pyplusplus/examples/easybmp/easybmp.html
> > I am not sure if you can work with pixels with wxPython but you can
> > probily do the life game with tiles also..

void wxGrid(wxWindow *parent, int x, int y, int width, int height, long
style=0, char *name="grid")

Constructor. Before using a wxGrid object, you must call CreateGrid to
set up the required rows and columns.

Looks like it may be right up your alley, here is a couple links that
may be helpfull

http://filburt.lns.mit.edu/oops/Html/SW/wxwin/wxgrid/grid.htm

http://www.google.com/custom?q=wxGrid&sa=Search&client=pub-3239946176051515&forid=1&ie=ISO-8859-1&oe=ISO-8859-1&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3A336699%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BFORID%3A1%3B&hl=en

and mine that probily isn't :)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to