Skip to content

Latest commit

 

History

History
26 lines (13 loc) · 758 Bytes

README.md

File metadata and controls

26 lines (13 loc) · 758 Bytes

Conway-s-Game-Of-Life-in-C

Implementation of Conway's Game of Life in C

Example

How to compile

  • make sure gcc is installed by running

    gcc --version

    on your terminal. If it is not then install it following this guide.

  • configure GTK+. If you need help see the official guide.

  • compile the source code using

    gcc -g -o game_of_life gui.c pkg-config --cflags --libs gtk+-3.0

  • Run the program with ./game_of_life

  • Note: if you want to change the initial conditions modify the matrix.txt file and the DIM constant in header.c

Logo