Screensaver Conways game of life [v1.0.1]

Post Reply
hechelion
Posts: 22
Joined: Sat Apr 29, 2023 8:22 pm

Screensaver Conways game of life [v1.0.1]

Post by hechelion »

A little program that I wrote as an exercise but by adding an automatic reset it seemed to me that it became a good screensaver for the CX16

There is not much to say, if you know the Conways game of life.
Cells that live or die depending on basic rules and that can form more/less complex patterns.

Title: Conway game life screensaver
Language: Assembly
Version: v1.0.1
Emulator: R43-R47 (R45 need bios update)

Image

--------------------------------------------------------------------------------------------------
The project with its source code can be downloaded from github

I have uploaded the .PRG as an attached file, you cand download or try in web.


Try It Now!
--------------------------------------------------------------------------------------------------
Controls
Q - Exits game.
R - Reset game.
D - Alternate auto reset mode.
1 - Set 60 FPS simulation speed
2 - Set 12 FPS simulation speed
3 - Set 6 FPS simulation speed
4 - Set 2 FPS simulation speed
5 - Pause ans step*step forwards

#R47
Attachments
CONWAYGL.PRG
(810 Bytes) Downloaded 300 times
Last edited by hechelion on Tue Apr 30, 2024 3:32 am, edited 4 times in total.
User avatar
ahenry3068
Posts: 1192
Joined: Tue Apr 04, 2023 9:57 pm

Re: Screensaver Conways game of life

Post by ahenry3068 »

I'm still kind of in awe at the speed difference. 10 fold would not have surprised me.
Yours is at least 100 times faster than my BASIC version.
hechelion
Posts: 22
Joined: Sat Apr 29, 2023 8:22 pm

Re: Screensaver Conways game of life

Post by hechelion »

Your version is also more complete, it allows you to do things like change the size of the simulation, etc.

thanks for your suggestion, the new version v1.0.1 restarts automatically if the number of live cells remains constant for 10 cycles.
Post Reply