sir-lancebot icon indicating copy to clipboard operation
sir-lancebot copied to clipboard

1D Cellular Automaton Generator

Open Sas2k opened this issue 3 years ago • 2 comments

Description

Hello, the feature I would like to propose is a cellular automaton generator. like if someone types; .simulate <rule-number> <position: left|center|right|random> <initial-condition random|impulse (startes with 1 cell)

Rule-Number: A rule consists of deciding, for each pattern, whether the cell will be a 1 or a 0 in the next generation. There are then 28 = 256 possible rules. postion: the place where the starting cells are placed initial-conditon: random - randomly place cells | impulse - starts with only 1 cell

and it would send a picture of the output.

Reasoning

Proposed Implementation

the code for the simulation is already implemented in one of my own bots and it's fully functional Link-To-Gitub-Repo-of-the-existing-code

image

Additional Details

None

Would you like to implement this yourself?

  • [x] I'd like to implement this feature myself
  • [ ] Anyone can implement this feature

Sas2k avatar Sep 16 '22 14:09 Sas2k

Sorry, I'm not really sure what this is or what to do with that

mbaruh avatar Sep 16 '22 15:09 mbaruh

Sorry, I'm not really sure what this is or what to do with that

Have you ever heard of cellular automaton

defenition:

A cellular automaton (CA) is a collection of cells arranged in a grid of specified shape, such that each cell changes state as a function of time, according to a defined set of rules driven by the states of neighboring cells.

Sas2k avatar Sep 16 '22 15:09 Sas2k

I think this is a fun standalone project to implement if you're interested in the algorithm, but honestly I don't think it fits the bot. It's not informational or interactive, and I don't see people using it.

mbaruh avatar Oct 11 '22 11:10 mbaruh

ok, thanks for reviewing it @mbaruh

Sas2k avatar Oct 11 '22 14:10 Sas2k