The Game of Life on an AVR and a 4x20 character LCD

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

I made a little implementation of the Game of Life on an AVR and a 4x20 character LCD.

http://daqq.eu/index.php?show=pr...

Hope you enjoy it!

David

Oh, and there's a video on youtube: http://www.youtube.com/watch?v=V...

There are pointy haired bald people.
Time flies when you have a bad prescaler selected.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Wow, and here I thought I was cool with my Life on an 8x8 led array project! Nice use of the LCD display... too bad they aremore expensive then a few dozen of these 8x8 led arrays. Nice job though, nice to see unusual uses for common hardware :D Sense its related, ill post my project link here as well.

http://www.avrfreaks.net/index.p...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

When there'll be some spare time, I'll use a graphical one. Until then...

There are pointy haired bald people.
Time flies when you have a bad prescaler selected.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

yeah, spare time (as if such a thing existed) is what I need as well. Out of curiosity, did you use a "brute force" method for determining each generation (calculate next generation for ALL cells), or did you only calculate for each alive cells neighbors? I would look at your project to find out but... oh yeah... no spare time :P When I rewrite version 2 for multiple displays, I will add this to reduce needed resources. Any other ideas for further complicating... er... adding features to the next version?

Eventually I would like to be able to use the LEDs as sensors ( see this link for an example: http://tinyurl.com/4qllo4 . It would provide a pretty cool way to set up the initial generation, either by turning on all the LEDs and using your finger like in the video, or keeping them off and using a small focused LED pen or Laser pen to signal the μP to turn specific pixels on or off. LOTS of work before all that happens... maybe that will be Version 3 :?

again with the spare time dilemma :(

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yeah, it's brute force. I did it all on a Tiny2313, so there wasn't much space for fancy coding ;-)

As for extra features: Some kind of editor that would allow setting individual cell states :-)

There are pointy haired bald people.
Time flies when you have a bad prescaler selected.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thats a neat way to use a LCD.
Here is my version of the Game of life http://www.diamantic.com/project... .

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Many years ago I saw a 1-D game of Life, using a line of LEDs.

Leon

Leon Heller G1HSM

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

daqq wrote:
Hi,

I made a little implementation of the Game of Life on an AVR and a 4x20 character LCD.

http://daqq.eu/index.php?show=pr...

Hope you enjoy it!

David

Oh, and there's a video on youtube: http://www.youtube.com/watch?v=V...

thanks for your posting. I hope this will be help my project experiment. :wink:

ArcticSoul
Industrial Electronic Engineering, College Student