Skip to content

Basic Conway's game of life written in C and ncurses

License

Notifications You must be signed in to change notification settings

dnlmsr/game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game of Life

https://img.shields.io/github/license/dnlmsr/game-of-life?style=flat-square.svg https://img.shields.io/github/repo-size/dnlmsr/game-of-life?style=flat-square.svg

Introduction

This is basically Conway’s Game of Life, nothing really special. This program was created by me to learn ncurses and some C and Makefile basics.

Installation

Firstly, make sure gcc and make are installed, then run make inside the main directory:

make

Usage

Run gol inside the bin directory with an argument representing the path to the initial state:

./bin/gol ./patterns/spaceship.gol

Then press any key to update to a newer generation. Press q to exit the game.

Contributing

Although this is a very basic project, pull requests are welcome.

About

Basic Conway's game of life written in C and ncurses

Resources

License

Stars

Watchers

Forks

Packages

No packages published