Releases: terrencetec/pconway
Releases · terrencetec/pconway
1.0.3
[1.0.3] 2021-02-28
Added
- [pconway.core.gameoflife.compute_cell_next_state] Compute the next state
of a single cell.
Changed
- [pconway.render.play] and [pconway.clitools.gameoflife] Changed default
alive_char from "o" to "." because it looks better. - [setup.py] Read version number from pconway/version.py instead of
separately definition. - [pconway.tests.test_gameoflife.py] Changed random_matrix to accommodate
recent changes. - [pconway.core.gameoflife.mutation] Draw random number from np.random.binomial
and use xor gate to perform mutation instead of using nested for-loops. - [pconway.core.gameoflife.get_alive_neighbours] Use np.count_nonzero to count
number of alive cells instead of using nested for-loops. - [pconway.core.gameoflife.compute_next_state] Use np.vectorize and
pconway.core.gameoflife.compute_cell_next_state (new) to compute
next state of a matrix instead of using nested for-loops and statements. - Put tests in the module instead.
- [pconway.render.play] Compute wait time efficiently by using time.sleep()
Fixed
- Typos in CHANGELOG.md
- Formatting according to PEP 8
Removed __init__.py from tests folder
v1.0.2 remove __init__.py in tests folder
v1.0.1
First release (v1.0.0 was trashed .. ).
Play Conway's game of life on your terminal!