A simple infection simulation.
- Rust 98.2%
- HTML 1.8%
| .cargo | ||
| base | ||
| res | ||
| tui | ||
| web | ||
| .gitignore | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
Zombie (an infection simulation)
A simple simulation of health cells getting infected by infected cells. Infected cells check for horizontal and vertical neighbors and infect them. This project provides a web version and a tui version for the simulation.
How to run
TUI version
cargo run -p tui
web version
Change into web directory and run:
trunk serve
Inside a browser visit http://localhost:8080/.
TODO
- web version: Infects the first cell at the start. Make it so the user starts the simulation by infecting the first cell.
- web and tui version: Add some more information to the screen, like healthy cell count, key hints, etc.