The app is a fun interactive tool to figure out the chances of losing your hat based on wind, terrain, distractions, and how secure your hat is.
- Node.js (with npm)
Clone the repository:
git clone <repository-url>
cd <repository-folder>Install dependencies:
npm iRun the development server:
npm run serveOpen the app in your browser at http://localhost:8080/ (or the specified port).
- Adjust sliders for each factor: Wind Level, Distraction Level, Terrain Difficulty, and Hat Security.
- Click Calculate.
- View the probability result.