Shaidin
Game of Life
Life Application

Life is an application based on SDL2 and OpenGL 4.3. It uses GPU power to run Conway's game of life for given pattern.

Steps to run on Linux:
  1. Download "life-x86_64.deb".
  2. Install it: "sudo apt install <the-deb-file>".
  3. Run "life".
  4. "LOAD" a pbm file "glider-gun.pbm".
  5. Hit "PLAY".
  6. Watch and enjoy.
Steps to run on Windows:
  1. Download "life-AMD64.msi".
  2. Install it.
  3. Run "life.exe" from "bin" folder at installation path.
  4. "LOAD" a pbm file "glider-gun.pbm".
  5. Hit "PLAY".
  6. Watch and enjoy.
Help
Menu
  • LOAD: show file dialog to load a pbm image
  • SAVE: show file dialog to save to pbm image
  • PLAY: start game
  • STOP: stop game
  • STEP: run one step
  • EDIT: start edit mode
  • HIDE: hide the menu
  • FAST: speed up the game
  • SLOW: slow down the game
  • REAL: current speed (FPS)
  • GOAL: expected speed (FPS)
Keyboard
  • L: show file dialog to load a pbm image
  • S: show file dialog to save to pbm image
  • SPACE: toggle play mode
  • ENTER: run one step
  • E: toggle edit mode
  • M: toggle menu
  • UP: speed up the game
  • DOWN: slow down the game
  • ESC: stop game, stop edit mode, show menu