Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 581 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 581 Bytes

Kin Code Retreat Template

Welcome! This repo will quickly get you started with writing tests and solving some katas!

Setup

Everything works with built in Ruby! Just run:

ruby code.rb

Conways Game of Life Rules:

  1. Any live cell with fewer than two live neighbours dies, as if by underpopulation.
  2. Any live cell with two or three live neighbours lives on to the next generation.
  3. Any live cell with more than three live neighbours dies, as if by overpopulation.
  4. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.