A simple game I created while studying cellular automata in Coursera's Model Thinking class
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
automata
LICENSE
README.md
functions.py
visualizations.py

README.md

automata_game

A simple game I created while studying cellular automata in Coursera's Model Thinking class.

Overview: The Automata Game is a 2-player game played on a black-and-white rectangular board. We will refer to Player 1 as playing White and Player 2 as playing Black. A player wins if the majority of the squares in the last row are of his color.

Initialization: The game starts with the first row colored with half the squares white and half the squares black. Each successive row is then colored according to four rules, called the "automata rules". Each rule is represented by a pair of white and black squares, and a corresponding white or black square. For example, Rule 1 might specify that if there are two consecutive white squares, the next row will contain a black square under the first white square.