Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 840 Bytes

README.md

File metadata and controls

39 lines (23 loc) · 840 Bytes

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