This is a programming assignment for Conway's Game of Life, a cellular automaton devised by the British mathematician John Horton Conway in 1970. The Game of Life is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. Despite its simplicity, the Game of Life is Turing complete and capable of simulating a universal constructor or any other Turing machine.
-
Support for a Large Universe: The implementation supports a vast universe of size 2^64 x 2^64. Although the universe is mostly empty, objects such as gliders moving away from the center in opposite directions can be observed.
-
Simple UI: The application features a straightforward user interface allowing users to configure the initial state of the universe on a 100 x 100 grid. Users can start the algorithm and observe the changes dynamically.
-
Persistence: There is functionality to store and load the state of the universe from a persistent storage, allowing users to save their progress or load previous configurations.
-
Setup: Clone the repository to your local machine.
git clone https://github.com/Muhammadumair0/Conway-s-Game-of-Life.git
-
Open Index.html: Open the
index.html
file in your preferred web browser. -
Configure Initial State: Use the UI to configure the initial state of the universe as desired.
-
Start Algorithm: Start the algorithm to observe the evolution of the universe based on the initial configuration.
-
Persistence: Utilize the provided functionality to save/load the state of the universe for future use.