Page 1 of 1

Conway's Life simulator for NES

Posted: Sat Jul 27, 2013 1:53 am
by NovaSquirrel
Image
Instead of trying to see how Video Life manages to be fast, I figured I would see how fast I could make a Life simulator by just using repetitive, fast code and using unofficial opcodes. It's pretty bare-bones so far and all you can do is move a cursor around to toggle cells and start/stop simulation, but I'm hoping to add onto it and have an option for a bigger grid because 32x32 isn't even big enough for the Gosper glider gun. SNES mouse support would also be cool, but I would require an emulator that both supports the mouse and doesn't choke on unofficial opcodes first.

Download (with source)

Re: Conway's Life simulator for NES

Posted: Sat Jul 27, 2013 10:31 am
by infiniteneslives
There isn't a built .nes file in the download.

Re: Conway's Life simulator for NES

Posted: Sat Jul 27, 2013 1:04 pm
by NovaSquirrel
infiniteneslives wrote:There isn't a built .nes file in the download.
I accidentally deleted it when I removed other things that building it makes like the .o that weren't necessary for the .zip. I reuploaded a fixed version.

Re: Conway's Life simulator for NES

Posted: Tue Aug 20, 2013 11:08 am
by nintendo2600
So this is like an updo of the 2600 version?

Re: Conway's Life simulator for NES

Posted: Tue Aug 20, 2013 2:01 pm
by tepples
Not sure what you mean by updo, but:
NovaYoshi wrote:Instead of trying to see how Video Life manages to be fast, I figured I would see how fast I could make a Life simulator
It appears to have been written from scratch because he didn't want to sit down and reverse engineer the neighbor counting in Video Life for Atari 2600.

Re: Conway's Life simulator for NES

Posted: Sun Jun 22, 2014 4:31 pm
by NovaSquirrel
I made a version that lets you choose between different built-in rules or choose your own, and has a grid that's 64x32 instead of 32x32. Otherwise it's pretty much the same:

Image

There's a known bug about having the cursor on the leftmost column because it doesn't bother to have a special case to fix that, but I don't think it should be a big issue.

Download (with source)