You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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()