Skip to content

nmarks99/tuigol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal UI (tui) Game of Life (gol)

Neither the first nor the last implementation of Conway's Game of Life in your terminal.

For now the result is pretty uninteresting since the only option is to start with a random initialization. Later on I plan to add a user friendly way to specify a starting condition as well as define some preset conditions like the glider gun or this cool spaceship

tuigol-demo.mp4

Dependencies

The only real dependencies are ncurses, a C++ compiler, cmake, and make. To install ncurses on Ubuntu, run

sudo apt install libncurses5-dev libncursesw5-dev

If you are using another Linux distribution besides Ubuntu, look up how to install ncurses with you package manager. On Linux you should have GCC preinstalled with cmake and make. If you are on Mac or Windows ¯_(ツ)_/¯.

Technically another dependecy is a terminal emulator capable of displaying ncurses stuff but every modern terminal should be more than capable of running this program properly.

Usage

  1. Clone the repo
git clone https://github.com/nmarks99/tuigol.git
  1. Run the following in the root directory of the project to build it
mkdir build 
cd build
cmake ..
make
  1. In the newly created build directory there should be an executable called tuigol which you can run to start the program.

About

Conway's Game of Life in your terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published