Close

2nd prototype

A project log for Conway's Game of Life on ATtiny84

ATtiny84-based gamed of life on 8x8 LED matrix with manual setup of 1st generation.

Jean-François PoilpretJean-François Poilpret 12/07/2016 at 21:302 Comments

I have just finished updating my current prototype to use 2 potentiometers (row/column) to locate a board cell, in replacement of 2 previous/next buttons.

That makes the first stage (1st generation setup) much easier to perform for the end user.

In addition, this change even reduced current program size on ATtiny84: only 912 bytes used currently!

Now I have to go on with my stripboards design to make thsi proejct look better.

Regarding the program itself, since I still have a huge amount of memory left (112 bytes), I need to find some way to use this amount; here are my ideas (not exclusive):

Discussions

Jean-François Poilpret wrote 12/08/2016 at 05:57 point

I use "wrap around" boundaries as this is the most common practice, although it makes the code a bit more complex, hence a bit larger.

  Are you sure? yes | no

Yann Guidon / YGDES wrote 12/07/2016 at 23:06 point

Will you implement "wrap around" boundaries or limited ?

Detecting the end of game is very easy, anyway.

I hope you can implement the "game" in a very compact way :-) Note that my version saves some code because you don't need to implement one of the two loops :-)

  Are you sure? yes | no