orange pop empire game
http://masecodes.dev/orange-pop/
- CSS 63.6%
- JavaScript 31.3%
- HTML 5.1%
| assets | ||
| css | ||
| js | ||
| 404.html | ||
| index.html | ||
| README.md | ||
| style404.css | ||
Orange Pop Empire
A responsive idle/incremental browser game built with HTML, CSS, and vanilla JavaScript.
Overview
Orange Pop Empire is a playful orange soda-themed idle game where players build their soda empire by acquiring Orange Stands, collecting Orange Pop, and converting it into Money.
The game features:
- Auto-generating Orange Pop production
- Exponential building costs
- Upgrade system with 18 unique upgrades
- Offline earnings report when returning to the game
- Responsive mobile-friendly layout
- Auto-save to
localStorage
Files
index.html— main game page and layoutcss/style.css— visual styling, responsive layout, and animationsjs/data.js— game configuration, building and upgrade definitions, save/load helpersjs/game.js— game state, production loop, offline earnings, and persistence logicjs/ui.js— rendering UI, handling user input, animated counters, and offline report404.html— portfolio 404 page with dropdown menu link to the game
How to use
- Open
index.htmlin a browser. - Watch Orange Pop generate automatically.
- Buy more Orange Stands to increase production.
- Purchase upgrades to boost production multipliers.
- Close the page and return later to receive offline earnings.
Notes
- The game saves automatically every 30 seconds and on page unload.
- Offline progress is calculated based on time away and added when the game is reopened.
- Additional buildings and upgrades can be added in
js/data.js.
Development
To extend the game:
- Add new building objects to
BUILDING_DEFINITIONSinjs/data.js - Add new upgrade objects to
UPGRADE_DEFINITIONSinjs/data.js - Update UI labels or layout in
js/ui.jsandcss/style.css
Enjoy building the world’s brightest orange soda empire! 🍊