Privacy Policy
Last updated: May 2, 2026
This Privacy Policy describes how Hardik Trehan (“we”, “us”, “our”) collects, uses, and protects information when you use hardiktrehan.com, including HT Hub (the games sub-site), AI Battle Arena, and any related services (collectively, the “Site”).
By using the Site you agree to the practices described here. If you do not agree, please don’t use the Site.
1. Information We Collect
a. Account information (only if you sign in)
The Site uses Firebase Authentication. If you choose to sign in — for example, with Google or with email and password — Firebase provides us with:
- Your display name
- Your email address
- Your profile photo URL (Google sign-in only)
- A unique user ID
We store this information in Google Cloud Firestore under your user record so we can identify you across sessions.
b. Game scores (only if you opt in)
By default, your game scores stay on your own device. Public leaderboard submission is off by default. If you explicitly turn on the “Visible on the public leaderboard” switch on the HT Hub page, the following will be sent to Firestore for each game you finish:
- Your display name
- Your user ID
- The game name and your numeric score
- A timestamp
You can turn this off at any time, and you can delete every leaderboard score we have for you with the “Delete my scores” button on the HT Hub page.
c. AI Battle Arena conversations
When you start a battle, the topic and resulting AI debate are sent to third-party AI providers (such as OpenAI, Google, Meta, Mistral, DeepSeek) via OpenRouter so the models can generate responses. Battle results may be stored locally in your browser (localStorage) for the history feature. Do not enter sensitive, personal, or confidential information in topics — treat them as public.
d. Analytics and logs
We use standard server logs and may use Google Analytics (gtag) to measure traffic. Analytics may collect anonymized data such as IP address, browser type, page paths, referrers, and approximate location.
e. Cookies / local storage
We use cookies for essential authentication only. Local storage is used for game preferences, history, and the AI Battle Arena leaderboard cache. We do not use third-party advertising trackers.
2. How We Use the Information
- To provide the games, AI Battle Arena, and other Site features.
- To display you on the public leaderboard, but only if you opted in.
- To respond to messages you send via the contact form.
- To analyze usage in aggregate so we can improve the Site.
- To prevent abuse, debug issues, and meet legal obligations.
We do not sell your personal data. We do not share it with advertisers.
3. Third-Party Services
The Site relies on the following third-party services:
- Firebase / Google Cloud — authentication, Firestore database, hosting infrastructure. See Firebase’s privacy policy.
- Google Identity (Sign in with Google) — used only if you choose Google sign-in. See Google’s privacy policy.
- OpenRouter and the underlying AI providers — process AI Battle Arena topics and produce model responses.
- Google Analytics — aggregate usage analytics.
Each of these services has its own privacy policy. We are not responsible for their practices.
4. Data Retention
Account records and Firestore user documents persist until you ask us to delete them. Public leaderboard scores persist until you delete them with the in-app button or until we remove them for abuse. Local storage data lives in your browser until you clear it.
To delete your account or remaining data, email teamhtrehan@gmail.com from the email tied to your account.
5. Your Choices and Rights
- Decide when to sign in. You can browse the Site without an account. Games still work without sign-in — only the cloud leaderboard requires it.
- Opt out of the public leaderboard. Toggle off the “Visible on the public leaderboard” switch on the HT Hub page.
- Delete your scores. Use the “Delete my scores” button on the HT Hub page.
- Sign out. You can sign out at any time from the account menu.
- Request data deletion. Email teamhtrehan@gmail.com.
If you are in the EU/UK, California, or another jurisdiction with additional data-protection rights, we will honor valid requests for access, correction, deletion, or portability under those laws.
6. Security
We use industry-standard measures (Firebase security rules, HTTPS, server-side authentication checks) to protect data. No system is 100% secure; we cannot guarantee absolute security.
7. Children
The Site is not directed to children under 13. We do not knowingly collect data from children under 13. If you believe a child has submitted personal information, contact us and we will delete it.
8. Changes
We may update this policy as the Site evolves. The “Last updated” date at the top reflects the most recent change. Continued use of the Site after a change means you accept the updated policy.
9. Contact
Questions about this Privacy Policy?
Email: teamhtrehan@gmail.com