summaryrefslogtreecommitdiff
path: root/README.md
blob: 90e819d7ae050e23b066bca31a2136364df00289 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[![Build Status](https://travis-ci.org/mokhan/gol_c.svg?branch=master)](https://travis-ci.org/mokhan/gol_c)

# The Game of Life

This is my implementation of the 
[Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) written 
in C.

To run this program you must have gcc and make installed. The default
make task will run the program with a 5x5 world.

```bash
  $ make
```

To customize the size of the world you can export the ROWS and COLUMNS
environment variables.

```bash
  $ ROWS=25 COLUMNS=80 make
```

To run the test suite.

```bash
  $ make test
```