https://github.com/chrisvilches/waterfalls
Terminal based waterfall/rain simulator.
https://github.com/chrisvilches/waterfalls
algorithm bfs-algorithm console-application graph javascript simulator
Last synced: 8 months ago
JSON representation
Terminal based waterfall/rain simulator.
- Host: GitHub
- URL: https://github.com/chrisvilches/waterfalls
- Owner: ChrisVilches
- Created: 2021-11-09T10:24:10.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-10T11:27:17.000Z (over 2 years ago)
- Last Synced: 2025-01-22T20:29:09.185Z (9 months ago)
- Topics: algorithm, bfs-algorithm, console-application, graph, javascript, simulator
- Language: JavaScript
- Homepage:
- Size: 1.66 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Waterfalls
Terminal based waterfall/rain simulator.
Based on the Multi-Source BFS algorithm.
Animated example:

Execute using (without installing):
```bash
npx waterfalls
```
Or install globally as a CLI application:
```bash
npm install -g waterfalls
```
## Usage
Execute using random map:
```bash
waterfalls
```
Specify a custom map:
```bash
waterfalls path/to/file.txt
```
Check the files in the `samples` folder to see the required format.