/ Hathaway Weblog / GTKLifeBattle

Shane :: Free Software :: December 29, 2004 # GTKLifeBattle

Since I set up a Linux system for my parents, brothers, and sisters this summer, my family has been getting comfortable with Linux. One of my brother's favorite programs is GTKLife, an implementation of the Game of Life that allows 1M x 1M cells (10^12 cells total) and runs quite fast. Years ago we had a different Game of Life implementation with an interesting two-color feature that made it especially fun to play. So, as a Christmas gift for my brother, I enhanced GTKLife with a similar two-color feature and fixed some minor bugs. I call it GTKLifeBattle.

The patch for gtklife-4.0 is downloadable from the sketches page. Once I finished, I realized how cool it was that I was able to apply my software development skills to make a homemade gift. Since I derived it from existing code, it only took 20-30 hours rather than the 100 or more hours it would take if I started from scratch.

I'm going to submit the patch to the author of GTKLife, but she may have concerns about the possible reduction in speed. For each cell, it now computes not only the next Life generation but also the color. It uses fast table lookups, so the speed reduction is not noticeable unless you're measuring.

http://hathawaymix.org/Software/Sketches/gtklifebattle.png

No further comments may be added.

Click below to fill in the scripture reference.
Your browser is not able to display the scripture fill-in program. To see it, enable Javascript or use Mozilla 1.0 or better.
Even so faith, if it hath not works, is dead, being alone. Yea, a man may say, Thou hast faith, and I have works: shew me thy faith without thy works, and I will shew thee my faith by my works.

Church: lds scriptures provident games pearls kzion shiblon film chancellor gateway cumorah byutv happiness nephi
Zope: freezope org com zen labs newbies zettai warnes
Python: home pyzine daily icanprogram
Genealogy: cyndi
Weblogs: jeffrey paul jon joel another-shane guido barry jeremy windley chrism zac
News: quakes lwn dc weather deseret zeitgeist softwarelivre
Zaurus: software developer
Tech: tango spintronics thin
Semantic: aaron sean
Reference: css rdf html4 javascript geckodom iecss emacs phrases acronyms
Reverse: advogato slashdot
Misc: gimp-savvy directory soda jokes shouldexist pdphoto