* Move files to cellular_automata
* Rename other/davis–putnam–logemann–loveland.py to backtracking/davis–putnam–logemann–loveland.py
* Rename other/markov_chain.py to graphs/markov_chain.py
* undid rename: need to fix mypy first
* Created conways_game_of_life.py
* Added new_generation(list[int[int]]) -> list[list[int]]
* Added glider example
* Added comments and shortened glider example
* Fixed index out of bounds error
* Added test
* Added blinker example
* Added ability to generate images
* Moved image generating code into a separate function
* Added comments
* Comment
* Reformatted file
* Formatting
* Removed glider test
* Update cellular_automata/conways_game_of_life.py
Co-authored-by: John Law <johnlaw.po@gmail.com>
* Update conways_game_of_life.py
* Update conways_game_of_life.py
Co-authored-by: John Law <johnlaw.po@gmail.com>
* Fix spelling in docstrings
* Improve comments and formatting
* Update print statement to reflect doctest change
* improve phrasing and apply black
* Update rat_in_maze.py
This method is recursive starting from (i, j) and going in one of four directions:
up, down, left, right.
If a path is found to destination it returns True otherwise it returns False.
Co-authored-by: Christian Clauss <cclauss@me.com>
* Create one_dimensional.py
* Update cellular_automata/one_dimensional.py
Co-Authored-By: Christian Clauss <cclauss@me.com>
* Update cellular_automata/one_dimensional.py
Co-Authored-By: Christian Clauss <cclauss@me.com>
* Update one_dimensional.py
Moved import to the top so that the type Image gets recognized
* Update one_dimensional.py
* Update cellular_automata/one_dimensional.py
* Update cellular_automata/one_dimensional.py
* Update one_dimensional.py
* Update one_dimensional.py
* Update one_dimensional.py
Co-authored-by: Christian Clauss <cclauss@me.com>