Slop Farmslopfarm
GamesRanksCreateHow
Sign inJoin free
Slop Farmslopfarm

Small AI games in the browser. Play free, or share one you made.

Play

  • Games
  • Leaderboard
  • How it works

Create

  • Upload a game
  • My farm
  • Join free

Legal

  • Terms
  • Privacy
play free · share freeSlop Farm

submit

Upload a game

If it already plays in a browser, you're most of the way there. We review every upload before it goes public.

Create guideAI package prompt

You need an account first. Sign in or join free.
You need an account to upload. Create one or sign in.
Tags
No tags yet

0/8 tags · lowercase slugs

A few tags help people find you (genre, vibe, engine…).

before you upload

  • ✓Start page named index.html (game.html or play.html also work)
  • ✓Images, sound, and scripts load from files next to that page
  • ✓Common web exports are fine: Godot, Unity web, Phaser, canvas
  • ✓Stay under 50 MB and about 500 files

After you submit, status shows on My farm. More detail on How it works.

stuck packaging?

Jump to the stack recipes, then copy the AI prompt so your model builds a ZIP-ready folder for you.

Game type guideCopy AI prompt ↓

create guide

Make a game, then package it

Slop Farm hosts static browser games. Pick a stack that already runs offline, compress the folder, upload. Use the prompt below if you want an AI to do the packaging cleanup for you.

Pure canvas / vanilla JS

One HTML file plus a few scripts and assets. Great for arcade, puzzle, and tiny experiments.

  • ·Put index.html at the root of the folder you compress
  • ·Load scripts and assets with relative paths (./game.js, ./assets/…)
  • ·Avoid fetch() to other domains unless you know CORS is fine
  • ·Test by opening index.html locally in Chrome before uploading

Built with an AI chat (Claude, ChatGPT, Grok…)

Ask the model for a self-contained web game, then package the files it gives you.

  • ·Tell it: static only, no backend, works offline from a folder
  • ·Ask for index.html plus separate .js / .css if the game is more than a page
  • ·If it dumps one giant HTML file, that’s fine — still name it index.html
  • ·Use the packaging prompt below so the model zips it correctly for Slop Farm

Phaser / Pixi / Three.js

Export or copy the dist (or public) build that opens in a browser without a custom server.

  • ·Upload the built output folder, not the whole monorepo
  • ·index.html must reference bundled assets with relative URLs
  • ·Skip node_modules — only ship what the browser needs to run
  • ·If you use a bundler, run the production build first

Godot web export

Export as HTML5 / Web, then compress the export folder that contains index.html and the .wasm / .pck files.

  • ·Project → Export → Web; enable the export templates you need
  • ·Keep the whole export folder together (don’t pick only index.html)
  • ·Threads / SharedArrayBuffer builds can be finicky in an iframe — prefer a simple web export when you can
  • ·Stay under the size limit; strip debug symbols if the export is huge

Unity WebGL

Build WebGL, then zip the Build folder’s parent so index.html sits at a known entry path.

  • ·WebGL build template should produce index.html at the root of the build
  • ·Include Build/, TemplateData/ (if present), and index.html together
  • ·Compression formats matter — gzip/brotli must match how Unity wrote the files
  • ·WebGL builds are large; trim assets or use a smaller scene if you’re near the cap

Anything else that runs offline

If double-clicking (or serving the folder) plays in Chrome without a game server, you’re good.

  • ·Start page: index.html, game.html, or play.html
  • ·No custom multiplayer server required for the public catalog
  • ·Prefer relative paths over absolute file:// or localhost URLs
  • ·Compress the folder that contains the start page, not a parent of random projects

AI packaging prompt

Paste this into Claude, ChatGPT, Cursor, or Grok

It tells the model how Slop Farm expects a ZIP: entry file, relative paths, size limits (under 50 MB / 500 files), and what to fix before you upload.

You are helping me package a browser game for Slop Farm (slopfarm).

## What Slop Farm accepts
- Static web games only (HTML/CSS/JS, canvas, WebGL, Godot web, Unity WebGL, Phaser, etc.)
- No backend, no custom game server, no install
- Must run by opening a start page in a normal browser
- Entry file must be named index.html (or game.html / play.html / main.html) at the root of the archive
- All scripts, images, audio, and wasm load via relative paths from that entry file
- Max about 50 MB and 500 files
- No node_modules, no source maps required, no absolute localhost URLs

## What I need you to do
1. Look at my game files (or the project I describe / paste).
2. Produce a clean folder structure ready to compress, for example:

   my-game/
     index.html
     game.js          (optional; can be inline)
     style.css        (optional)
     assets/          (images, audio, data…)

3. Fix anything that would break offline play:
   - Replace absolute URLs with relative ones
   - Inline or bundle remote CDN scripts if possible (or document if a CDN is required)
   - Ensure index.html is the entry at the folder root
4. Give me a short checklist:
   - How to test locally (open index.html or a simple static server)
   - Exactly which folder to compress into a .zip
   - Suggested title, 1–2 sentence description, category, and tags for the upload form
5. If the project is Godot or Unity, tell me the exact export settings and which export folder to zip.

## Constraints
- Do not invent multiplayer servers or app-store packaging
- Prefer small, self-contained builds
- If something can't work statically, say so and suggest a static alternative

My game / project notes:
[PASTE DESCRIPTION, FILE LIST, OR CODE HERE]