Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.15 KB

README.md

File metadata and controls

30 lines (25 loc) · 1.15 KB

gameoflife

CUDA implementation of Game of Life

This was an assignment for the sobject "Ampliación de programación Avanzada" at UAH, coded by @ca0s and @Tokoro360

Dependencies

Usage

$ ./gameoflife [-a/-m] rows cols [-nogui] [-drugs] Where:

  • -a / -m stands for automatic / manual mode. Automatic generates a round automatically, manual waits for the user to press any key
  • rows / cols determine the size of the grid
  • -nogui makes the program use the console to print the grid
  • -drugs will make your screen trippy

GUI controls

  • "z" / "x" to zoom / unzoom
  • arrow keys / mouse drag&drop for movement
  • "p" to pause / unpause
  • "a" to automatic mode on / off
  • "q" to quit
  • any other key to generate the next round when automatic mode is off

Screenshots

small grid img small grid img big grid img bigger grid img