Skip to content

Conway's Game of Life in Verilog and visualization using Raylib

License

Notifications You must be signed in to change notification settings

acmpesuecc/gameoflife

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gameoflife

gol_image

Description

This is a simulation of Conway's Game of Life written in verilog.

The simulation consists of a 2D array of 1-bit registers, each representing the state of a cell (whether it is alive or dead). The C++ frontend then reads these registers and displays them as a 2D grid using raylib

Dependencies

You will need to install verilator and raylib to build the project successfully. You can install them from your system package manager if they are available, or build them from source by following the links.

How to use

Run make run to build and run the project.

The simulation starts in the edit phase, where you can use the left and right mouse buttons to change the state of any cell. Pressing the space key will start playing the simulation.

At any point, you can press the space key again to pause the simulation and edit the states of all the cells as you wish. Hit space to continue playing the simulation.

Contributing

Head on over to the issues tab to find issues you can help fix!

Make sure to create any changes to the hacknight branch :D

Sriprad Potukuchi

About

Conway's Game of Life in Verilog and visualization using Raylib

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • C++ 63.4%
  • Verilog 32.0%
  • Makefile 4.6%