Skip to content

A repo for practical session in software development training in hypso sw group

Notifications You must be signed in to change notification settings

sivertba/conways_game_of_life

Repository files navigation

conways_game_of_life

This is a repo for the practical session in software development training, intended for the hypso sw group. The Presentation can be found here . The tasks are intended to be completed in python.

The Rules of the Game

Conway's Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970. It is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. One interacts with the Game of Life by creating an initial configuration and observing how it evolves.

The rules of the game:

  • Any cell can be either alive or dead
  • Any live cell with fewer than two live neighbours dies, as if by underpopulation
  • Any live cell with two or three live neighbours lives on to the next generation
  • Any live cell with more than three live neighbours dies, as if by overpopulation
  • Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction

To learn more about the game please visit these relevant links:

Tasks

The following tasks is part of the practical session

  • Implement the rules of the game
  • Make a 40x40 grid of cells, randomly initialized
  • Simulate 100 iterations
  • Decide what to do on the edge or border of the grid
  • Utilze the following tools during development
    • Docker
    • Pylint
    • autopep8
    • Each other
    • Github Flow
  • Test your code using pytest.

About

A repo for practical session in software development training in hypso sw group

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published