Privacy policy
Code the Hero: Learn DSA · Last updated 13 November 2026
Code the Hero ("the game", on the website codethehero.com and in the Android app) is made and published by Rejil Raj PR, an individual developer in India ("we", "us"). This policy explains what the game collects, why, and the choices you have. Questions: support@codethehero.com.
What we collect today
- Nothing to play. You don't need an account. Your progress, code and settings are saved only in your own browser (or on your phone in the app). They are not sent to us.
- Feedback you choose to send: your message, your email if you give it, and technical details that help us fix problems (game version, the screen or level you were on, the last error you saw, browser or device type, screen size, language and country). Your code for a level is included only if you tick that box. We do not store your IP address. Feedback is deleted automatically after one year.
- Website analytics: Cloudflare Web Analytics counts page visits (such as pages viewed, referring site, browser and country) without cookies and without identifying you.
- Campaign counters: when you arrive through a link with a tag such as
?ref=reddit, the site and game count anonymously how many browsers reached steps like opening the game, finishing a level or buying Premium. Only the step name and the tag are sent. No account, cookie, IP address or device ID is stored with them. - Level counters (website): the game counts anonymously how many browsers opened each level, failed a run there and cleared it, so we can find and fix levels that are too hard. Only the level and the step are sent.
- Error reports (website): if the game hits an error in your browser, the error text, where in the game it happened and the game version are sent to our server so we can fix it. No account, IP address, device ID or code you wrote is stored with them.
- Daily reminder (only if you turn it on): on the website, your browser's push address, your usual play hour, your time zone offset and the last day you played are stored so our server can send one reminder a day. They are not linked to an account, and are deleted when you turn the reminder off or your browser withdraws the address. In the Android app the reminder is scheduled on the phone itself and nothing is sent to us.
- Crash reports and app analytics (Android app only): Google Firebase Crashlytics and Analytics record crashes and which screens and levels are used, so we can fix bugs and improve levels.
If you sign in or buy Premium
Only if you use these features:
- Account (Google sign-in): your Google account ID, email address and display name, handled by Google Firebase Authentication. Our server keeps your email address with your account so we can find the account when you ask for help, for example about a payment. It is never shown to other players. The name on the leaderboard starts as your first name and last initial, and you can change it in Profile.
- Cloud save: stars, XP, streak dates, badges and the code you write for each level, so you can continue on another device.
- Daily challenge leaderboard: the code you submit, so our server can check it, and your leaderboard name, stars and command count shown to other signed-in players.
- Purchases: which plan you bought, the amount, the payment and subscription IDs, and when it renews or ends, from Google Play (through RevenueCat) or, on the website, from Razorpay. Razorpay handles your card, UPI or bank details; we never see them.
Why we use it
To run and improve the game, fix bugs, reply to you when you ask us to, run your account, sync your progress, verify daily challenge results, send the reminder you asked for and provide Premium. We do not show ads and we do not sell or share your data for advertising.
Who processes it for us
Cloudflare (website hosting, analytics and feedback storage), Google (Firebase Authentication for sign-in; Firebase Crashlytics and Analytics and Google Play Billing in the app), Render (our game server) and Neon (our database). For Premium: RevenueCat (app purchase validation) and Razorpay (website payments). A website reminder is delivered by your browser maker's push service (Google, Mozilla, Apple or Microsoft); it carries no text and no account details. Each processes data for us under its own privacy terms, and some of them may store data outside India.
Security
Everything is sent over encrypted connections (HTTPS). We collect as little as we can, and our systems do not write your code or personal details to logs.
How long we keep it
- Data saved in your browser or on your phone stays there until you clear it or uninstall the app.
- Feedback: up to one year.
- Accounts: while your account exists. When you delete it, your progress, code, badges, leaderboard entries and email address are removed right away, and the account record within 30 days.
- Anonymous counters and error reports: kept as daily totals with nothing that identifies you.
Your choices and rights
- Play without giving us any personal data.
- Ask us for a copy of your data, or to correct or delete it, by emailing support@codethehero.com. We reply within 30 days.
- Delete your account in the game at Settings → Delete account, or through our account deletion page.
Children
The game is meant for players aged 13 and over and is not directed at children under 13. If you believe a child under 13 has sent us personal data, email us and we will delete it.
Grievance contact
Rejil Raj PR — support@codethehero.com
Changes
If this policy changes, we will update this page and the date at the top.