A web-based management simulation game where you run your own popsicle stand! Manage your inventory, set prices, and try to maximize your daily profit while dealing with changing weather conditions and customer demand.
This project was originally built with Vanilla TypeScript and Webpack, and has recently been refactored into a modern, reactive web application using:
- Svelte: For a reactive, component-based UI and built-in transition animations.
- TypeScript: For robust type-safe game logic.
- Vite: For lightning-fast development and optimized production builds.
To run the game locally, follow these steps:
Make sure you have Node.js installed (which includes npm).
- Clone the repository or navigate to the project directory:
cd popsicle-stand - Install the necessary dependencies:
npm install
Start the local Vite development server:
npm run devThen, open your browser and navigate to the URL provided in your terminal (usually http://localhost:5173/).
To create an optimized production build of the game:
npm run buildThis will compile the app and output the static files into the dist/ directory.
- Capacitor Integration: The app's layout is responsive and designed to be easily wrapped into a native iOS app using Capacitor in the future.