Skip to content
/ 3D-CGoL Public

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

Notifications You must be signed in to change notification settings

OggyP/3D-CGoL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages