Post Reply 
John Conway's Game of Life
10-30-2020, 02:28 AM
Post: #11
RE: John Conway's Game of Life
(10-29-2020 02:41 PM)Arno K Wrote:  I took the version to be downloaded here, it only prompts for one input, as I didn't know what to enter I tried 0, 1, 2 and later 50, 1 and 2 worked fine in the emulator. Perhaps you should write a self-explaining input part for your program.
Arno

I found a bug where I wasn't properly setting up G1 (where I do the render then copy to G0). I fixed that (had to actually DIMGROB(G1...) and also moved the CurrentGen and NextGen matrices to app global variables to reduce memory load from passing by value. There are more optimizations to do but I think this should get over the first set of issues. I also default to a size 50 square grid (works for me on my PC simulator and my G2 Prime).

Code is updated both here and on github
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
John Conway's Game of Life - btabone - 10-26-2020, 03:02 PM
RE: John Conway's Game of Life - Arno K - 10-27-2020, 03:41 PM
RE: John Conway's Game of Life - btabone - 10-27-2020, 10:11 PM
RE: John Conway's Game of Life - Arno K - 10-28-2020, 06:50 AM
RE: John Conway's Game of Life - btabone - 10-28-2020, 07:08 PM
RE: John Conway's Game of Life - btabone - 10-27-2020, 10:21 PM
RE: John Conway's Game of Life - pinkman - 10-27-2020, 10:31 PM
RE: John Conway's Game of Life - btabone - 10-28-2020, 02:11 AM
RE: John Conway's Game of Life - Arno K - 10-29-2020, 02:41 PM
RE: John Conway's Game of Life - btabone - 10-30-2020 02:28 AM
RE: John Conway's Game of Life - Arno K - 10-30-2020, 04:31 PM
RE: John Conway's Game of Life - btabone - 11-02-2020, 10:58 PM



User(s) browsing this thread: 1 Guest(s)