Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game of Life

Implementation of Conway's Game of Life in BubbleTea


gol


Game Rules

  • Live cell with < 2 neighbors → dies
  • Live cell with 2 or 3 neighbors → lives
  • Live cell with > 3 neighbors → dies (overpopulation)
  • Dead cell with exactly 3 neighbors → becomes alive
  • Every 7 seconds: 20% of live cells die
  • Every 10 seconds: 30% of dead cells resurrect

Build

git clone https://github.com/vinaykulk621/gol.git
cd gol
go mod tidy
go build -o gol
mv gol /usr/bin/gol

Run:

gol

Controls:

  • Ctrl+C or q → quit
  • Resize terminal to change grid size

License

MIT

About

conway's Game of Life in Bubbletea GO

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages