CPCWiki forum

General Category => Programming => Topic started by: SlartibartfastBB on 03:31, 27 March 21

Title: Z80 - Learn how to program 'The Game of Life'
Post by: SlartibartfastBB on 03:31, 27 March 21
Hello fellow CPC programmers,
Here is my next instalment of Z80 coding.  Step by step programming of the Cellular Automation program 'The Game of Life'.  It was partially inspired by a previous (https://www.cpcwiki.eu/forum/programming/locomotive-basic-the-game-of-life/) post.

Any easy way to learn Z80 that brings Life to the Amstrad.

(Yet Another) Game Of Life for the Amstrad CPC using the Z80 (https://www.youtube.com/embed/b3jwatuKwY0&feature)

My next video will (hopefully) be on building your own Joystick for the Amstrad CPC 464.

Enjoy...
Title: Re: Z80 - Learn how to program 'The Game of Life'
Post by: SRS on 21:11, 27 March 21
Nice.
I found that one, 3 gens per second ... https://www.cpcwiki.eu/forum/programming/amstrifejohn-conways-game-of-life-for-the-cpcfast-many-features-on-the-way!/25/ (https://www.cpcwiki.eu/forum/programming/amstrifejohn-conways-game-of-life-for-the-cpcfast-many-features-on-the-way!/25/) - not for programmin help, but maybe dissassemble and learn some tricks ;)
Title: Re: Z80 - Learn how to program 'The Game of Life'
Post by: SlartibartfastBB on 04:24, 28 March 21
I disassembled it and it has a similar approach to mine.  It is just a lot more refined.  It has a nice way to represent the rules that are based on a lookup table and can be changed to create your own variant on the rules. 

btw: If anyone reads this, how do you embed youtube videos on this forum? does [youtube][\youtube] work?
Powered by SMFPacks Menu Editor Mod