Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conway's Game of Life in 3D

This was built in C++ using SFML and OpenGL.

Controls

w a s d for movement

Lshift and space to move up and down

Hold down Middle Click to move six times slower

Move the mouse to look around

Left Click to place a cell

Right Click to remove a cell

c to remove all cells

p to toggle pause

l to toggle showing the cursor

Rules

The rules can be modified on line 21 on /src/Main.cpp. The numbers are inclusive.

int rules[2][2] = {
	{ *Lower bound*, *Upper bound* }, // Alive between
	{ *Lower bound*, *Upper bound* } // Dead between
};

Default rules are 4 7 10 4

Compile

To complile it for Windows or Linux, open the directory in VS Code. Press Ctrl + Shift + B and select Build Production. It will then be compiled in /build

About

Conway's Game of Life but made in 3D. Created using OpenGL with SFML in C++.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages