Conway’s game of life


Author Message
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1619
Posted: 03:36am 25 Apr 2020      

Conway’s game of life has always fascinated me so when I saw the recent link to a LED display running it I decided to have a go and write it for MMBasic DOS with a view to perhaps doing a CMM version.

That went well enough and it runs well and very fast on the PC.  So I decided to convert it to the Micromite with TeraTerm. I was surprised how slow it was on the Micromite. With the DOS version there is a 300mS PAUSE instruction in the program between updates but with the Micromite that blew out to over 3 seconds with the pause removed!

With a fair bit of tweaking and MMEdit’s crunch on load it’s working a lot better but limited a bit by the serial link to TeraTerm. The un-tweaked DOS version is more watchable.

I’ll include them here if anyone wants to play and maybe tell me how to speed the Micromite version up a bit.

original MMBasic DOS version
Life03.zip

Micromite with TeraTerm version
LifeT01.zip

Edit: I forgot to say: MMEdit's crunch on load helped too.

Bill
Edited 2020-04-25 15:42 by Turbo46
Keep safe. Live long and prosper.