Skip to content

Building a few cellular automata, including the rock-paper-scissors model.

Notifications You must be signed in to change notification settings

ayushk7102/rock_paper_scissors_automaton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Visualising cellular automata

Cellular automata are discrete computational models that are represented by a grid with cells. They are visualized by evolving that grid according to certain rules, that is typically a state function of the existing cells.

The rock-paper-scissors model uses a state function similar to the game of rock-paper-scissors, where cells change in a cyclic way depending on the state of their neighbourhood.

The grid starts with a random initial state.

rps_thresh3

With 3 colours, with neighbour threshold of 3 for a transition and without wrapping edges

rps_thresh2_4col

With 4 colours, with neighbour threshold of 3 for a transition and with wrapping edges

About

Building a few cellular automata, including the rock-paper-scissors model.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages