Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.35 KB

README.md

File metadata and controls

25 lines (15 loc) · 1.35 KB

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