Achievements and missions unlock as you play. Progress is saved locally.
Shop & Upgrades
Fuel Tank
Increases capacity and reduces fuel drain. Also widens rocket mid-section visually.
Level: 1 — Next: 50 ⛀
Engine
Increases thrust but increases fuel consumption (engines are hungry).
Level: 1 — Next: 75 ⛀
Hull
Adds flaps and lowers drag (aerodynamics improve).
Level: 1 — Next: 60 ⛀
Advanced upgrades
Local Leaderboard
For global leaderboard: enable Firebase and add config in the top of the script (instructions in comments).
Built for you — edit labels marked with /* RENAME */ to rename upgrades.
) OR use module bundler.
// // 2) Initialize firebase:
// const firebaseConfig = { apiKey:"...", authDomain:"...", projectId:"...", storageBucket:"...", messagingSenderId:"...", appId:"..." };
// firebase.initializeApp(firebaseConfig);
// const db = firebase.firestore();
// function submitGlobalScore(name, score){ db.collection('scores').add({name,score,ts:Date.now()}); }
// function fetchGlobalTop10(){ db.collection('scores').orderBy('score','desc').limit(10).get().then(...); }
We left it out to keep the game single-file and self-contained. If you want, tell me and I'll add the exact Firebase initialization steps and injection.
*************************************************************************
FINAL NOTES:
- To rename visible upgrade labels, edit the HTML elements with IDs:
fuelUpgradeLabel, engineUpgradeLabel, hullUpgradeLabel
- Tweak progression by changing costFor(), fuelCapacityFor(), engineThrustFor(), engineFuelUseFor(), and aeroFor().
- If you want explicit manual booster button, a second control (B) or UI button can be added; currently booster may trigger once automatically in a run (so it helps exploration).
- I added many advanced upgrades and they are purchasable in the shop.
If you want improvements, balancing, new mechanics (stages, parachutes, money sinks, skins, sound), or to enable Firebase global leaderboard, say which item to prioritize and I’ll update the single `index.html` quickly.
*************************************************************************