Skip to content

jmlcoliveira/game_of_life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Game of Life

A simple version of the Game of Life

Usage

Input format

L C S 		L - (rows) | C - (cols) | S - (steps) are Integers >= 1
row_1
row_2		Each row is a sequence with C characters
……………		Characters can be '#' or '.'
row_L			


Output Format

row_1
row_2
……………
row_L

Sample Input

14 17 16
.................
.................
.................
.................
.................
.................
........#........
.......###.......
.......#.#.......
........#........
.................
.................
.................
.................


First output example

 Transformação: 1
                 
                 
                 
                 
                 
                 
       ###       
       # #       
       # #       
        #        
                 
                 
                 
                 
-----------------

About

A simple version of the Game of Life

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages