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)
--------------------------------------------------------------------------------------------------
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
Screensaver Conways game of life [v1.0.1]
Screensaver Conways game of life [v1.0.1]
- 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.
- ahenry3068
- Posts: 1192
- Joined: Tue Apr 04, 2023 9:57 pm
Re: Screensaver Conways game of life
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.
Yours is at least 100 times faster than my BASIC version.
Re: Screensaver Conways game of life
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.
thanks for your suggestion, the new version v1.0.1 restarts automatically if the number of live cells remains constant for 10 cycles.