Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Two versions of Conway's Game Of Life: a C++ version (CLI) and a Python version (GUI)

Notifications You must be signed in to change notification settings

DeepThoughtt/TheGameOfLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

The Game Of Life

Two versions of Conway's Game Of Life: a C++ version (CLI) and a Python version (GUI)

What is the Game Of Life?

Conway's Game Of Life is a 2D cellular automaton, you can find out how it works here.

C++ Version

The C++ version is a CLI program. The cpp folder contains the main program, a folder containing some example configurations that can be loaded into the program and a log folder where the logfile will be stored in case the user decides to save it. The grid size is fixed, by modifying it you risk to break the program when importing a configuration file during the execution.

Python Version

The Python version is a GUI program. The py folder contains the main program and a folder where the program icon is stored. You can modify the grid size as you wish, and you can also modify the sleep time between iterations. If the grid is quite big, you can switch from a sequential execution (single-thread) to a multi-thread approach. The sleep time's maximum value is 3 seconds to avoid runtime issues related to Tkinter. If you're using the sequential mode, remember to always stop the game before closing the application to avoid an issue involving the sleep() function.

About

Two versions of Conway's Game Of Life: a C++ version (CLI) and a Python version (GUI)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors