Skip to content

Add Game of Life and Langton's Loops cellular automaton series (Python, Programming for Lovers) - #960

Open
phcompeau wants to merge 1 commit into
practical-tutorials:masterfrom
phcompeau:add-p4l-game-of-life-python
Open

phcompeau wants to merge 1 commit into
practical-tutorials:masterfrom
phcompeau:add-p4l-game-of-life-python

Conversation

@phcompeau

Copy link
Copy Markdown

What is this?

A four-part Python code-along from Programming for Lovers. The reader works with 2D lists, draws boards with Pygame, implements Conway's Game of Life with command-line arguments and animated output, then generalizes the code into a rule-driven cellular automaton simulator that runs Langton's self-replicating loops. Each part has a video, full code, and a free starter code download.

Checklist

  • This PR adds/fixes exactly one tutorial (or is a docs/tooling-only change).
  • Free and open -- no paywall, login wall, or required newsletter signup.
  • Project-based -- following it, the reader builds a complete, working artifact.
  • I searched README.md for this URL and title -- it is not already listed.
  • Entry uses - [Title](https://...) format, placed under the correct section (nested - [Part N](...) for multi-part series).
  • No URL shorteners.
  • I ran python3 scripts/check_readme.py lint locally and it exits 0.
  • Relationship disclosure: I am the author. I (Phillip Compeau) wrote Programming for Lovers.

Lint exits 0, and check-links on the four added URLs returns 200 for each.

🤖 Generated with Claude Code

…ython)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant