Privacy Policy
Basketball Stars Ultimate is a free browser game by G. Needham. This page explains what the game keeps, what it sends, and who else is involved. It applies to the game at basketballstarsultimate.com and its other copies.
Stored on your device
The game saves its settings, your tournament and achievement progress, a random player number (used for online play), your online name, and, if you log in to an account, a session token and the account's username, email and ranked elo (only the game's owner has a separate owner sign-in token). They are kept in your browser's storage and never leave your device, except for the online information described below. Clearing your browser's site data removes them (and logs you out). The game also keeps a copy of its own files on your device so it can load without a connection.
Highlight clips (SAVE CLIP after a match) are made on your device from the end-of-match highlight and saved or shared only where you choose: nothing of them is sent to the game's server.
Online play
When you use ONLINE, the game's server (run on Cloudflare) receives your random player number, your online name, your lobby code and the moves of your match, and it sees your internet address, which it uses to limit abuse (for example how many lobbies or reports can come from one address). The server keeps your number of online wins, and the name you last won under, with your random player number. Names you type yourself are checked by an automatic filter and an AI moderator (Cloudflare Workers AI) before they can be used, and are kept so nobody else can take them. On the game's CloudFront links, everything first passes through Amazon CloudFront, which hands it on to the same Cloudflare server. Other players can report a typed name; a reported name is checked again by the AI moderator and can be removed and blocked.
Accounts
An account is optional. You only need one to keep your progress on the server or to play ranked; everything else works without one. You must be 13 or older to make an account. Making one sends the game's server:
- Your email address and a username. They are used only to log you in (with either one). The username is shown only to you, never to other players. No emails are ever sent to you: there is no email verification and no password reset.
- A scrambled form of your password, never the password itself. Your browser runs your password through 150,000 rounds of a one-way function (PBKDF2-SHA256, with a random value made just for your account) before anything is sent. The server stores only a further one-way hash of that result, so nobody, including the game's owner, can read your password from what is stored.
- Your progress: tournament wins, achievements and the game statistics behind them (points, dunks, blocks, steals and best scores). Your device sends what it earned since it last synced, and shows the account's progress afterwards.
- Your ranked results: your elo, your best elo (and the season you reached it in), how many ranked matches you won and lost, this season's matches, wins and losses, and (for LEGENDARY players) your place in the world list. For the leaderboards, the server also keeps the online name you play ranked under.
- Your ranked choices: the character, special move and speech-bubble message you last picked on the ranked screen, so they're the same on every device you log in on.
Logging in also gives your device the account's random player number, so your online wins and an approved custom name follow you; online wins that device had before are added to the account. The server keeps a hashed session token for each device you log in on (it expires after a year without use). It also sees your internet address when you log in, to limit repeated wrong passwords.
Ranked. When you play ranked, your opponent sees your online name, rank, elo, tournament wins, the character you picked and the message you chose. Each match's result is stored with the two accounts for a day so a late report gets the same answer, then deleted.
Leaderboards. The ranked screen's lists show other logged-in players your online name with your elo and this season's wins and losses (THIS SEASON, once you've played 5 ranked matches in a season), or your best elo and the season it came in (ALL-TIME). Your account's username and email are never shown. A season's list is kept until the end of the next season, for its final top 10, then deleted.
Changing or deleting your account. On the credits screen, ACCOUNT lets you change your email (you type the current one, then the new one), log out, or delete the account. Deleting asks for your password and removes the account, its progress, its elo, its places on the leaderboards and its sessions from the server straight away. The progress saved on your own device stays there until you clear it. To have an account removed without logging in, email the contact address below from the account's email address.
Bug reports
When you press REPORT A BUG, or when the game runs into an error, it sends a report to the game's server: the game version, the kind of problem and the note you wrote (if any), the error message, your browser type, screen size and device speed, how your last match was set up, and a recording of the last minute of that match (positions, moves, the score and the keys being pressed). Reports contain no names and no player number. They are stored privately on GitHub and reviewed, including by an AI assistant, to find and fix bugs.
Advertising
On basketballstarsultimate.com the game shows ads from Google AdSense beside its menus and before local matches (never during a match). Third-party vendors, including Google, use cookies to serve ads based on a user's prior visits to this website or other websites. Google's use of advertising cookies enables it and its partners to serve ads to you based on your visit to this site and/or other sites on the internet.
- You can opt out of personalized advertising in Google's My Ad Center (Ads Settings).
- You can opt out of some other vendors' use of cookies for personalized advertising at www.aboutads.info.
- How Google uses information from sites that use its services: policies.google.com/technologies/partner-sites.
Visitors from the European Economic Area, the UK and Switzerland are asked for their consent through Google's consent message before personalized ads are shown.
Changes
If the game starts collecting anything new, this page will be updated first, with a new date at the top.
Contact
Questions about this policy or your data: basketballstarsultimate@gmail.com.