DSlife
DSlife is a Conway's Game of Life implementation for Nintendo DS.
Features
- 256x192 array of life (same dimensions as the resolution of the DS screen.)
- Zoom in 1x, 2x, 4x, 8x, 16x, and 32x.
- At zoom levels >=4, a grid is displayed.
- You can draw life while the simulation is running.
- Change the rules to whatever you want.
- Save and load patterns in the life 1.06 format. (Comes with 2 patterns.)
- Lets you erase tiles by pressing an eraser button and then erasing with the stylus.
- Bottom screen shows the current number of live cells (as well as the current generation).
Screenshots
Downloads
- Download DSlife 3.5 (2160 downloads)
- Download the source code (784 downloads)




Save-states would be very cool too.
Thanks.
Thanks for the comments by the way!
May I add some suggestions?
- Would it be possible to wrap the "cells" screen. It would be great if the cells evolution can continue accross the screen borders. Some cells topology can stay alive and always progress, it could be great to see them dissappear at the top and re-appear at the bottom (a modulo function can take care of this).
- Would it be possible to use a physical button to toggle between erase and draw? switching the screen is time consuming or perhaps we don't need the eraser at all and the stylus can just invert the cell state?
- I would like a way to go directly to the center of the screen. I find really great how symetrical patterns evolve to create mandala like structure, it's thus important for me to be able to "pan" to the exact center of the field
- It would be also great that the reset function doesn't reset the zoom but let it at the same settings.
- It would be great also to have a grey transitional state between 2 generations (at least in the step mode). This would give a less flickering display and beautifull drawings.
- A way to save the output screen in jpg would be great too.
I know this is a lot of requests. I guess that's because I'm using more Life in a artistic way than some other users (I'm also using glitchds to produce beats from the game of life).
Nice work !!!. Thanks a lot for this homebrew.
I am loving this brew so far, great work!
Best regards,
Olaf
I have about 500 patterns, and therefore I put them all in separate maps (breeders in the breeders folder, gliders in the gliders folder etc.).
But now I can't load them from those fodlers, and I have to put them all in the single map "patterns", which isn't as handy. (Scrolling through ~500 files =s).
So my request is to have folder support, that would be great!
And again, I appreciate your work. It is amazing.
Best regards,
Olad
I know sometimes I have started up DSlife and somehow the erase button is already selected, but then I would just tap it to toggle it off and had no problems. So your problem is that you can't turn it off by tapping the oranged button? Do any other buttons work?
I had an AceKard 2 and I know I tested all my homebrew on it and they worked fine. In other words, I tried DSlife on my AceKard 2 and don't have the problem you're having. Which is freaky. What difference could there be in our setups that would cause this? Maybe it's just a ghost, flippin bits in the machine.
Well to solve this I made a tiny new feature: pressing the B button to toggle the erase button. I should've done that in the first place, cause then you don't have to switch screens whenever you want to switch erasing/drawing mode. So try it here: ds-life-3.5-with-b-eraser.nds