Author Topic: Z80 - Learn how to program 'The Game of Life'  (Read 351 times)

0 Members and 1 Guest are viewing this topic.

Offline SlartibartfastBB

  • CPC464
  • **
  • Posts: 6
  • Country: au
    • Ready? Z80
  • Liked: 12
  • Likes Given: 5
Z80 - Learn how to program 'The Game of Life'
« on: 04: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 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

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

Enjoy...

Offline SRS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 649
  • Country: de
  • Schneider CPC464 - what else ?
  • Liked: 652
  • Likes Given: 379
Re: Z80 - Learn how to program 'The Game of Life'
« Reply #1 on: 22: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/ - not for programmin help, but maybe dissassemble and learn some tricks ;)
« Last Edit: 22:13, 27 March 21 by SRS »

Offline SlartibartfastBB

  • CPC464
  • **
  • Posts: 6
  • Country: au
    • Ready? Z80
  • Liked: 12
  • Likes Given: 5
Re: Z80 - Learn how to program 'The Game of Life'
« Reply #2 on: 06: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?
« Last Edit: 06:25, 28 March 21 by SlartibartfastBB »