Skip to content

Latest commit

 

History

History

GameOfLife

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Conway's Game of Life

Your task today is to implement Conway's game of life while pair programming with a friend.

The restrictions are:

  • For the first hour one of you writes code and the other one stands by and helps
  • After the first hour you should delete all the code that you've written and you should switch roles for the next hour.
  • Work in a plane of atleast 15x15
  • Let it be an infinite cycle
  • Input the places of the cells with life in them as coordinates and show the output in the console using full and empty utf rectangles (you can find them in google)

Example inputs:

Block

4
2 2
3 2
2 3
3 3

Boat

5
3 3
4 3
3 4
5 4
4 5

Blinker

3
6 5
6 6
6 7

Toad

6
6 5
7 5
8 5
5 6
6 6
7 6

Beacon

6
3 3
4 3
3 4
6 5
6 6
5 6	

Glider

5
3 3
4 4
4 5
3 5
2 5

Pulsar

(coordinates parsed by students)

48
3 5
3 6
3 7
3 11
3 12
3 13
5 3
5 8
5 10
5 15
6 3
6 8
6 10
6 15
7 3
7 8
7 10
7 15
8 5
8 6
8 7
8 11
8 12
8 13
10 5
10 6
10 7
10 11
10 12
10 13
11 3
11 8
11 10
11 15
12 3
12 8
12 10
12 15
13 3
13 8
13 10
13 15
15 5
15 6
15 7
15 11
15 12
15 13