In the September 2020 issue of the Linux Format magazine (LXF) you'll find a Calvin Robinson article on how to code the classic Game of Life simulation, as invented by mathematician John Horton Conway.
The source code examples for this article are in the Python language and use its Turtle Graphics capabilties.
Creating a Turtle Graphics program is fun. But if you'd prefer a more efficient Game of Life then consider recoding the simulation to use the PyGame or PyGame Zero modules - as described in the YouTube coding tutorial video below.
Back issues of the Linux Format magazine are available from the LXF Archive webpage.
And you can download article source code listings from the LXF website.
No comments:
Post a Comment