https://github.com/manighazaee/game_of_life
Conway's Game of Life
https://github.com/manighazaee/game_of_life
conways-game-of-life game-of-life rust
Last synced: 7 months ago
JSON representation
Conway's Game of Life
- Host: GitHub
- URL: https://github.com/manighazaee/game_of_life
- Owner: ManiGhazaee
- Created: 2024-03-03T13:59:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-23T21:56:19.000Z (over 1 year ago)
- Last Synced: 2025-02-06T05:14:54.277Z (9 months ago)
- Topics: conways-game-of-life, game-of-life, rust
- Language: Rust
- Homepage:
- Size: 18.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Conway's Game of Life
## Usage
Using executable file or:
```bash
cargo run [GAME_WIDTH] [GAME_HEIGHT] [GAME_TICK_LENGTH]
```
`GAME_WIDTH`: in pixels
`GAME_HEIGHT`: in pixels
`GAME_TICK_LENGTH`: in seconds
## Controls
- Mouse `left-click`: Make cell alive
- Mouse `right-click`: Make cell dead
- key1 ... key6: Heat color
- key0: Turn off heat color
- W: Speed up
- S: Slow down
- C: Clear Screen (make all cells dead)
- Space: Pause
- Escape: Quit