Conway's Life simulator for NES

A place where you can keep others updated about your NES-related projects through screenshots, videos or information in general.

Moderator: Moderators

Post Reply
User avatar
NovaSquirrel
Posts: 510
Joined: Fri Feb 27, 2009 2:35 pm
Location: Fort Wayne, Indiana
Contact:

Conway's Life simulator for NES

Post 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)
User avatar
infiniteneslives
Posts: 2104
Joined: Mon Apr 04, 2011 11:49 am
Location: WhereverIparkIt, USA
Contact:

Re: Conway's Life simulator for NES

Post by infiniteneslives »

There isn't a built .nes file in the download.
If you're gonna play the Game Boy, you gotta learn to play it right. -Kenny Rogers
User avatar
NovaSquirrel
Posts: 510
Joined: Fri Feb 27, 2009 2:35 pm
Location: Fort Wayne, Indiana
Contact:

Re: Conway's Life simulator for NES

Post 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.
User avatar
nintendo2600
Posts: 367
Joined: Mon Mar 30, 2009 4:40 pm

Re: Conway's Life simulator for NES

Post by nintendo2600 »

So this is like an updo of the 2600 version?
tepples
Posts: 22898
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Conway's Life simulator for NES

Post 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.
User avatar
NovaSquirrel
Posts: 510
Joined: Fri Feb 27, 2009 2:35 pm
Location: Fort Wayne, Indiana
Contact:

Re: Conway's Life simulator for NES

Post 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)
Post Reply