A simple implementation of Conway's Game of Life using React Native and Expo. This app allows users to interact with a grid of cells, applying the rules of Conway's Game of Life to simulate cellular automata.
VSCode + TypeScript for development.
Before you start, make sure you have the following installed:
- Clone the repository:
git clone https://github.com/Lazar4o/Game-of-Life.git
cd Game-Of-Life
- Install dependencies:
npm install
- Start the development server:
npx expo start --clear
- Scan the QR code with Expo Go:
- Open the Expo Go app on your mobile device and scan the QR code provided in the terminal to run the app on your device.
- Interact with a 20x20 grid of cells.
- Toggle cell states between alive and dead before starting the simulation.
- Start, pause, and reset the simulation.
- (BONUS) Randomize the initial state of the grid.
- Any live cell with fewer than two live neighbors dies (underpopulation).
- Any live cell with two or three live neighbors lives on to the next generation.
- Any live cell with more than three live neighbors dies (overpopulation).
- Any dead cell with exactly three live neighbors becomes a live cell (reproduction).
For more details on configuration, see the Expo Configuration Reference.
Contributions are welcome! Please refer to the repository's issues page to discuss potential changes or enhancements.
Distributed under the MIT License. See LICENSE file for more information.
Feel free to adjust the content according to the actual features and configurations of your app. This structure helps provide clear setup instructions and comprehensive information about the project in a professional format.