https://github.com/zeramorphic/undeath
https://github.com/zeramorphic/undeath
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zeramorphic/undeath
- Owner: zeramorphic
- Created: 2024-10-26T11:38:51.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-27T11:54:11.000Z (about 1 year ago)
- Last Synced: 2025-03-02T05:42:31.774Z (8 months ago)
- Language: Rust
- Size: 2.04 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Conway's game of 𝔲𝔫𝔡𝔢𝔞𝔱𝔥
Ever wanted to reverse engineer the meaning of life?
Well, this repository is for you!
We turn a target state of a Game of Life board into a previous one, many times over, creating a rich branching history.
And our code's homegrown and organic - none of that factory-farmed SMT stuff.
## Running the code
1. Have Rust installed.
2. Edit the thread pool size in `main.rs:30` to your liking.
3. Choose a target grid, and write it in `main.rs:34`.
4. Make sure that the grid size in `grid.rs:7` matches your intended dimensions.
5. Optionally, edit the heuristic in `searcher.rs:38`; if a grid doesn't work, try flipping that minus sign to a plus sign.
6. Run `cargo run --release`, and watch in the `out-*` directory for some dumped output!