Draft
DRAFT — not in effect. This page is a working draft for the owner and a lawyer. It is not linked from anywhere, applies to nobody, and may be wrong.
Terms
Terms of Service
Draft of 14 November 2026 · Applies to the Android app AI Mafia (com.lastnightai.mafia) and to this website.
AI Mafia is made by one person. These terms are written in plain language and describe what the app actually does. How your data is handled is a separate document, the Privacy Policy; nothing here replaces it.
1. Who provides AI Mafia
The app is provided by Andrei Kumskov, an individual developer based in Bali, Indonesia, who runs it under the name Last Night AI. I act as a trader: I offer the app, and the things you can buy in it, in the course of my own business.
Address: [address as shown on the Google Play developer
page]
Email: support@lastnightai.com
2. What AI Mafia is
AI Mafia is a game of Mafia in which you play against computer-controlled characters. The characters are language models, not people. Their lines are generated as the game goes on, and I do not write or check them in advance.
- What they say can be wrong, rude or just strange. A character may accuse you, lie to you or contradict itself. In Mafia that is part of the game. Do not treat anything a character says as fact, advice or the opinion of a real person, and do not take it personally.
- The rules are not decided by the models. Who dies, who wins and whether a move is allowed are worked out by ordinary program code. The models only talk and choose how to play a turn.
- There is no account. The app generates a random identifier on your device the first time it runs, keeps a copy of it in Android Block Store, and everything that belongs to you in the service — your games, your progress, your tokens — hangs on that identifier. See the Privacy Policy, section 1.
3. Using the app
You must be at least 13 years old to use the app. It is not directed at children under 13. If you are under the age of majority where you live, you need a parent's or guardian's permission to buy anything in the app.
The text you type during a game is sent to the AI providers that run the models, so that the characters can answer it. The Privacy Policy, section 3, says which providers and what is sent; please read it before you play.
The app is offered as it is. It may change, be interrupted or stop working, and models can fail or answer badly.
4. Rules of conduct
Please do not:
- try to get around, break into, overload or tamper with the server, or use the app in a way it was not built to be used;
- use bots, scripts or other automation to play, to claim rewards or to start games;
- try, through what you type, to make the characters produce abusive, hateful or otherwise offensive content.
5. Tokens
Tokens are the in-game currency that pays for starting a game. They are part of the game, not money: they have no cash value, cannot be exchanged for money or used outside the app, and cannot be sold or transferred to another person or another device. Buying tokens gives you the right to use them in the app as these terms describe. This does not limit any refund rights you have (sections 6 and 9).
- Kinds. There is one pile of “random” tokens and one pile for each role: civilian, doctor, detective and mafia. Where the weekly case is switched on, there is also a sixth pile, the weekly “Case File” token. It opens the case of the week (see below); it cannot pay for an ordinary game or a campaign mission, and the other piles cannot open the case.
- What a game costs. Starting a game costs one token, taken before roles are dealt. If you let the game deal your role at random, it costs a “random” token; if you pick the role yourself, or play a campaign mission, it costs a token of that role. Tokens never influence who gets which role in a game or how the characters play.
- A token is spent on every game. It is not returned when the game ends, whatever the result, and not returned if you quit the game or stay silent until the game gives up on you. Stars and progress are the reward for playing well, not tokens. A game left paused because the app was closed can still be resumed; if you do not come back for about a week it is counted as left. The only exception: if a game fails on our side, its token is returned in full.
- Visit calendar. Each day you open the app you can claim the next reward of the calendar shown on the home screen, by tapping a button; at most one reward a day. A day is counted by the server in Coordinated Universal Time (UTC). Missing days does not reset anything: your next visit gives the next reward. The first reward, your starter set of tokens, is credited by itself when your wallet is created. What the calendar gives may change (section 8); rewards already claimed stay yours.
- The case of the week. Where it is switched on, once a week the game offers one fixed table, the same for every player, with a set role and difficulty. A weekly Case File token opens the week, and that opening is the only token the case costs: you then have up to three attempts that week, released over its first days, and the second and third attempts cost nothing more. Attempts are not sold, and a token cannot buy a better result. Weekly tokens come from the same sources as other tokens: the visit calendar, buying (section 6), a starter token, and, where available, choosing to watch ads; finishing the case with a high result can also add one for the next week, and the week's results can also give looks. They do not expire. If the first attempt of a week fails on our side, the token is returned and the week is not opened. Your best attempt counts, and it is worked out on our server from the game log.
- Progress does not pay in tokens. Stars, campaign missions and the daily task are rewarded with progress (stars, marks, titles, looks), not with tokens: finishing them never adds to your wallet. The one exception is the case of the week, which can add a weekly token for the next week, as described above.
- Other ways to get tokens: by buying them (section 6) and, where available, by choosing to watch a short ad, up to a daily limit (next item). Watching ads is never required to claim calendar rewards or to play.
- Watching a short ad. Where available, and only when you have run out of “random” tokens, the wallet offers a short video ad in exchange for a token (or for progress toward a weekly Case File token). It is optional, it is never shown during a game or on a result, and what you get is stated before you press the button. The number of ads that can give you tokens is limited per day (currently five, counted in UTC), and a new player is offered ads only after the first finished games. The server adds the token after Google's ad service confirms the view. If the confirmation does not arrive, the app tells you, the token may be credited later, and if it is not, the attempt is not used up and you can watch again. Whether an ad is offered depends on your region and on whether one could be loaded; with no ad, there is no offer. A token from an ad has no cash value, like any other token. The ads are provided by Google AdMob; they are not personalised, and the data involved is described in Privacy Policy, section 4a.
- Tokens belong to the device. They are stored against the random identifier of the device that received them, not against a person or an account. The app also keeps that identifier in Android Block Store (Privacy Policy, section 1), so if you reinstall the app, or restore your Google account backup on a new phone, you will normally get the same identifier and with it the same wallet, calendar and progress, purchased tokens included. This is not guaranteed: without a Google account or Google Play services, or with backup switched off, the app may create a new identifier and a new wallet, and the old tokens do not move with it. Two phones restored from the same backup share one wallet. Clearing the app's data does not reset the wallet, and there is no reset button; the only way to erase it is deletion on request (section 7). If you lose tokens you bought, write to support@lastnightai.com with the Device ID shown on the app's Diagnostics screen, or the order number from your Google receipt, and I will look into it.
- Inactive devices. A device that has not contacted the server for 12 months is deleted together with its tokens, including purchased ones. Opening the app counts as contact, so opening it at least once a year keeps your tokens.
6. Purchases
Some tokens can be bought in the app with real money, through Google Play Billing.
- Weekly tokens. Where the case of the week is switched on, a pack
of weekly Case File tokens can be bought like any other tokens (product
tokens_weekly_2). A weekly token opens one week of the case; it does not pay for ordinary games and does not buy a better result. - Price and payment. The price is set in Google Play and is shown by Google Play in your currency, with any taxes it adds. Payment is taken by Google, under Google's terms; I never see your payment details.
- Who credits the purchase. The app does not credit anything itself. After Google confirms the payment, my server checks the purchase with Google and adds the tokens to the wallet of the device that made it. One order is credited once: showing the same order again, or from another device, does not credit it a second time.
- Pending payments. If Google marks a payment as pending, the tokens arrive after Google confirms it. If you are charged and the tokens do not appear, do not buy again; write to support@lastnightai.com with the Device ID.
- Refunds are Google's. Refund requests are handled under Google Play's refund rules. [Seller and refund wording to be confirmed with a lawyer.]
- If a purchase is refunded or cancelled by Google, including a chargeback, the tokens it gave are taken back. Only what is still in your wallet can be taken: the balance never goes below zero, you do not owe anything, and tokens you already spent are not charged to you afterwards.
7. Deleting your data
How to ask for your data to be deleted is explained on the Delete your data page. Deletion removes your games, your feedback, your progress, your visit calendar and your wallet: all your tokens, including tokens you bought, and the record of your purchases. Deleted tokens cannot be restored. There is no other way to reset: clearing the app's data or reinstalling does not erase the wallet. A game still in progress is not cut short; it is deleted after it ends, and the wallet with it.
Deleting data on my side does not refund a payment; refunds go through Google Play (section 6). Google keeps its own record of your order.
8. Changes to the app and to these terms
The app and its rules, including how tokens are earned and spent, may change; a change applies to games started after it. If these terms change, the date at the top of this page changes with them. [How changes are announced and when they bind you: to be decided with a lawyer.]
9. Your legal rights
Nothing in these terms limits any rights you have as a consumer that cannot be limited by agreement, wherever you live, including those under the law of the European Economic Area or the United Kingdom.
[Right to withdraw from a digital purchase, and the consent to immediate supply: to be written by a lawyer.]
10. Liability
[Limitation of liability: to be written by a lawyer. Not decided here.]
11. Governing law and disputes
[Governing law and place of disputes: to be written by a lawyer. Not decided here.]
Contact
Andrei Kumskov · Bali, Indonesia
support@lastnightai.com