Skip to content

gustavomoura628/OneDimensionalCellularAutomata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

One Dimensional Cellular Automata

This is a program that can simulate all of the possible rules of 2 neighbour 1 dimensional cellular automata

Installation:

run make to compile
to run:
./rule110 [width]
you can also specify a rule
./rule110 [width] [rulenumber]
rules range from 0 to 255

Controls:

space to pause (you need to hold it)
enter to change to a random rule
K to randomize current rule
L to set only the rightmost cell to black

Dependencies:

sdl


text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published