https://github.com/deciduously/benlife
A reimplementation of danlife.
https://github.com/deciduously/benlife
Last synced: about 1 year ago
JSON representation
A reimplementation of danlife.
- Host: GitHub
- URL: https://github.com/deciduously/benlife
- Owner: deciduously
- Created: 2022-05-31T22:30:02.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-30T02:58:22.000Z (almost 3 years ago)
- Last Synced: 2025-04-01T14:18:59.189Z (about 1 year ago)
- Language: Rust
- Size: 105 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# benlife
A Rust reimplementation of [`danlife`](https://danlovy.com/life/), for kicks.
## TODO
- [ ] Editing universe grapically
- [ ] Loading [RLE](https://conwaylife.com/wiki/Run_Length_Encoded) files
- [ ] Saving RLE files
- [ ] Keyboard Commands
- [ ] Multithreading
- [ ] Pop-up windows
- [ ] Support alternate patterns like HighLife.
- [ ] Support [apgcode](https://conwaylife.com/wiki/Apgcode)
- [ ] Handle panics.
## Comparison
### Rust Pros
- Exhaustive enums, `match` over `switch` (no ``break`!).
- Cross-platform.
### Rust Cons
### C++ Pros
- Code size. Rust statically links all deps, I also currently bundle a whole UI framework.
### C++ Cons
- Manual memory management (`new`/`delete`/destructors)
- Preprocessor macros