Skip to content

jibrilfdev/game-of-life-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game of Life

A Conway's Game of Life implementation written in C.

GIF of game of life

Build Dependencies

gcc
ncurses library

Installation

Clone the repository locally.

git clone https://github.com/jibrilfdev/game-of-life-c.git
cd game-of-life-c
gcc src/main.c -o life -l ncurses

Usage

./life

ENTER on the main screen to go to the seed editor. Press x on a location to toggle the cell's status. Move locations using arrow keys or h, j, k, l. q to quit seed editor, and q to quit simulation loop.

Screenshot of Game of Life title screen.

Screenshot of Game of Life in the middle of a simulation.

Contributing

Pull requests are welcome. Issues are welcome, and will potentially be addressed.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages