The makers' guide
Draft: not yet approved
Your AI-made game, priced by what players say about it. Here is how it works, what a game must do, and what you get.
How you earn
- You pick your game's starting price from the rungs open to you. As your games do well, your starting price can rise.
- From there it climbs as people who played it review it well. Slopbarn sets a game's rung from player reviews by its own formula, which can change. A game earns nothing while it is free; whoever gets it free keeps it. The ladder
- You get 70% of every sale, at whatever price it was made. Refunded sales are not paid.
- A month's share is paid at the end of the next month, once it is $25 or more (less rolls over). To be paid you must be 18 or older, or 13 to 17 with a parent or guardian who signs with them and is added to their payout account, where we offer it; you prove who you are and send a tax form. Stripe's payout fee ($2 plus 0.25% plus 25 cents) comes off each payout: $25 arrives as $22.69.
- You may set a ceiling ("never above $3") if you would rather have reach than money.
- You have 3 stalls: games on sale or in review at once.
What a game must be
- A browser game: a folder or .zip with
index.htmlat the top, up to 50 MB and 1,000 files, each file at most 25 MB once unzipped. The files it may hold: .html, .htm, .js, .mjs, .css, .json, .png, .jpg, .jpeg, .webp, .gif, .svg, .mp3, .ogg, .wav, .woff2, .wasm and .txt. Downloads come later. - Self-contained. It loads nothing from the internet and calls nowhere: no web fonts, no libraries from a CDN, no analytics, no ads. Put every file in the folder. (If you upload a game that fetches a library, we copy it in and show you the change.)
- One page. Keep the whole game on
index.html: each press of Play opens the game once, so a game that moves to another of its own pages makes the player press Play again. Switch screens inside the page instead. - No pop-up dialogs.
alert,confirmandpromptdo nothing on Slopbarn: the game runs in a locked frame where they are switched off. Show every message on a screen inside your game. - Save in the browser, always. Keep the game's state in memory first and its save in the browser's storage, wrapped so a failure never stops the game: inside the store's frame some browsers (Safari) keep that storage only for a while. For a signed-in player the store can keep the save too: see Saves.
- Good on a phone if it can be: touch controls and a layout that fits a narrow screen get the "phone OK" mark.
High scores and rooms
Your game can keep high scores and let people play together, through Slopbarn's own service, free for you and your players. Your game still gets no network of its own: it hands its calls to the store's play page around it, which makes them for it.
- Add one script. Put
<script src="/slopbarn.js"></script>in yourindex.html. The game server serves it at your game's own address, so it loads like one of your game's files. - High scores.
Slopbarn.scores.submit(board, value)sends a player's score and answers with their best and their place.Slopbarn.scores.top(board, n, { range })gives the topn, withrangeone of"day","week"or"all". A board keeps each player's best. You declare your boards, and the range of scores each one takes, on your game's page in the store's maker dashboard. - No prizes on a board, ever. And we do not promise a board is cheat-proof: a score is sent from the player's own machine. We keep the best per player, the range you set and our rate limits, and we may wipe a board.
- Rooms.
Slopbarn.rooms.join({ size })finds a room to play in.Slopbarn.rooms.create({ size })opens a private room with a 4-letter code, which friends enter withSlopbarn.rooms.join({ code }). In a room:room.send(data),room.signal(name),room.leave(),room.on("message" | "join" | "leave" | "host" | "closed", fn), androom.players,room.host,room.me. The service passes messages between players and keeps the limits below; it runs none of your game's rules. - Signals, not chat. Players say things to each other only with the preset signals: gg, nice, oops, again, wait, ready, wave, laugh. No free text.
- The limits. 2 to 8 players a room (you pick the size; 4 if you do not); one room at a time per player; 10 joins a minute; 20 messages a second per player, each at most 1 KB (extra ones are dropped, and a player who keeps going is taken out of the room); 200 open rooms per game. A room closes 2 minutes after it empties, and after 2 hours at most.
- Only players who have your game, signed in. Other players see them by their public handle only.
- You turn rooms on and pick the room size on your game's page in the maker dashboard.
- WebRTC is closed in every game page: a game that tries it gets nothing. Rooms are the way to play together.
- We may switch rooms off across the store; then every call answers
rooms_off, and your game should carry on alone.
Saves
A signed-in player's save can be kept on Slopbarn too, so it survives a new device or a browser that clears its
storage. Through the same script, by slot: a name of 1 to 32 small letters, digits, _ or -
("main" when you give none).
Slopbarn.saves.get(slot)gives{ data, revision, savedAt }, ornullwhen there is none.Slopbarn.saves.put(slot, data, { revision })keeps any JSON value and gives{ revision, savedAt }. Pass the revision you read: if another device saved since, the call fails withconflict, and you load again before saving.Slopbarn.saves.remove(slot)deletes one;Slopbarn.saves.list()gives each slot's size and time.- The limits. 64 KB a save (its JSON); 5 saves per game per player; 2 MB in all per player; 30 saves and 120 reads a minute. Over a limit the call fails with its reason: nothing is dropped silently.
- When a call fails, it fails with a reason your game can act on:
not_signed_in,saves_off,game_off,not_owned,bad_call,too_big,too_many,too_fast,conflict, orunavailable(no store around the game, as when you open it from your own computer). - Keep both. Keep your own browser save as well, always. Use the store's when it answers, and on loading take
the newer of the two by
savedAt. The starter game does exactly this. - Only the player, in your game, can read their saves; you cannot see them. We delete a game's saves once the player has not saved in it for 90 days and it has left their library or the store.
- We may switch saves off across the store; then every call answers
saves_off, and your game keeps its browser save.
A starter game
Download the starter game: one index.html, a
small tapping game that keeps a save in the browser and on Slopbarn, puts scores on a board, and joins a room
where players share scores and signals. It plays as it is when you open it from your own computer; the board, rooms
and the store's save answer once it runs on the store. Copy it, change it, make it yours. For its board, declare a
board named main taking 0 to 200 on your game's page in the maker dashboard; for rooms, turn rooms on
there.
Bringing a game you already made
- One folder. Every file the game needs goes in one folder with
index.htmlat the top: its pictures, sounds and fonts, and its libraries too (no CDN, no web fonts). A library it loads from the internet is copied in when it is on our short list; anything else, put in the folder. - One page. If it moves between pages (a
menu.html, agame.html), make them screens insideindex.html. - No pop-ups. Swap
alert,confirmandpromptfor a message drawn in your game. - No internet. Take out analytics, ads, sign-ins and calls to servers of your own: none of them can work
here. For high scores, rooms and saves, add
<script src="/slopbarn.js"></script>and use the store's. - Saves. Wrap the browser's storage in
try/catch, and addSlopbarn.savesif you want saves that follow the player. - Phones. Touch or pointer controls beside the keys, and a layout that fits a 390-pixel-wide screen, earn the "phone OK" mark.
- Upload the zip (with
index.htmlat its top, not inside another folder). The checks tell you anything to fix before further review.
The rules
Your game, or one you have the right to publish. Not a copy of a game you did not make, its characters, its name or its music. No gambling or casino-style games, no adult content, no hate, no collecting players' data, no calling the internet, no ads, no asking for money inside the game. Label what is in it. Break the rules and the game comes down; break them again and the account does.
How a game goes on sale
- Upload the files.
- Automatic checks: the zip and its file types, the code, the libraries it loads, the words in it, and copies of other games (see why a game is refused or held).
- Your details: title, one line, about, "made with", a link to a clip of it, what is in it, and two promises.
- It goes through further review. Any answer shows on your maker dashboard.
Why a game is refused or held
The automatic checks answer in three ways. Refused: the upload stops; fix it and upload again. Held: it goes through further review before it can go on sale. Listed: noted for that review; not a stop. Every game, held or not, still goes through further review.
Refused
- The zip: over 50 MB; damaged; password-protected; split into parts; a large-archive (zip64) file; compressed in a
way we do not read; more than 1,000 files; a file over 25 MB or the whole game over 50 MB once unzipped; the same
file twice; empty; or no
index.htmlat its top. - A file: a name that leaves the game's folder, is hidden, or uses
\ % # ? : * " < > |; a program; an archive inside the zip; a type not on the list above; contents that do not match its name; a text file that is not plain UTF-8; an SVG picture hiding a script we cannot take out. - If the checks break on our side, nothing is wrong with your game: upload it again.
Held
- Crypto-mining code, a mining-pool address, or a miner's wallet address.
- Code we cannot read: packed, run through an obfuscator, or an encoded blob run as code.
- Something hidden inside a picture, sound or font file.
- Code loaded from the internet that is not on our short list of libraries we copy in.
- Calls out to the internet written in the code.
- Words that fail the text check.
- Anything that asks for a password, a code, an email address, a card or a bank account, looks like a sign-in (the words "sign in" or "log in" on a screen are enough), shows a payment brand, or promises free currency or a prize.
- A copy of a game another maker uploaded first, or one that looks the same.
Listed
alert,confirmorprompt(they do nothing here); moving to another page of its own; a file it loads from the internet that will not load here; ways out a game rarely needs (a WebSocket, a peer-to-peer connection, cookies, a new window, the camera, the microphone or the player's location).
Founding makers: the offer's terms
For the first 100 makers whose sign-up we accept before the doors open:
- 80% of every sale instead of 70%, for the first 6 months after your first game goes on sale;
- a Founding Farmer badge on your profile, for good;
- 5 stalls instead of 3 from the start;
- a front-page slot on opening day for one game of yours.
Approved on 19 November 2026. This offer may change until the doors open; any change is written here first, and the offer you were accepted under is kept. It costs nothing, needs no purchase, and is not a contest. Places count in the order sign-ups arrive. One per person.
Questions: support@slopbarn.com
Slopbarn is run by Tryworks LLC, which sells and licenses every game on the store.
SlopbarnTermsPrivacyRefundsContactMakersCopyright and image removalCommunity rulesAdsAccessibility