3031 source-verified AI-built games from 2724 repos, attributed to GPT-6 Astra, GPT-6.1 Sol, Gemini 4 Argon, Claude Opus, Claude Sonnet and Claude Fable
Python ai-gamesai-generatedawesome-listbrowser-gamesclaudeclaude-opusclaude-opus-5-5game-developmentgeminigemini-4gemini-4-argongpt-6-astrallmopen-source-gamesopus-5-5threejsvibe-coding
{
"repo": "tuna-ercan/ME461-All-For-One",
"created_at": "2026-10-03T14:25:18Z",
"pushed_at": "2026-10-04T12:40:24Z",
"description": "All For One - a body-controlled co-op climbing game (pygame + YOLO pose + MediaPipe). From The Group MeEeEe",
"homepage": null,
"default_branch": "main",
"language": "Python",
"readme": "# All For One\n\n*From The Group MeEeEe π*\n\nA co-op 2D climbing game controlled with your body. Up to four players share one\nfour-legged character: a webcam tracks everyone's arms, and each arm drives one of\nthe character's legs. Open your mouth to make your feet sticky and climb walls.\nGet the character's head to the flag in the top-right corner as fast as you can.\n\nTwo maps: **Mountain** (climb the rocks to the peak) and **Cave** (crawl through the tunnel,\nup the shaft and out onto the grass). Pick one after choosing the number of players.\n\n\n\n## How it plays\n\n- **Arms β legs.** Your shoulder angle sets a leg's hip angle and your elbow angle sets its knee.\n- **Physics.** Gravity, plus contact on the feet and head. Push a planted foot into the ground\n to jump; sweep a planted leg to walk.\n- **Mouth open = sticky feet.** Your shoes turn green. A sticky foot that touches rock\n glues to it (purple shoe) and can pull the body, so you can hang and climb.\n- **Goal.** Touch the flag with the head. The timer stops and your best time is kept for the session.\n\n| Players | Who controls what |\n|---|---|\n| 1 | Two long legs. Left arm β left leg, right arm β right leg. Tilt your head right/left to choose which foot your open mouth makes sticky. |\n| 2 | P1's arms β top legs, P2's arms β bottom legs |\n| 3 | P1's arms β top legs, P2's left arm β bottom-left, P3's right arm β bottom-right |\n| 4 | One arm each: P1 top-left, P2 top-right, P3 bottom-left, P4 bottom-right |\n\nPlayers are numbered left to right as they stand in front of the camera. In the camera\npreview only the arms that control a leg are coloured (P1 red, P2 green, P3 blue, P4 yellow).\n\n**1P TEST** in the menu shows the character on a white screen so you can check your arm\ncontrol, mouth and head tilt without the level.\n\n## Install (once per computer)\n\nNeeds Python 3.10 or newer (3.12 recommended). The setup creates a private environment\n(`.venv`) with the tested package versions, installs the CUDA build of PyTorch on computers\nwith an NVIDIA GPU (the CPU build otherwise) and downloads the two AI models.\n\n**Windows:** double-click `setup.bat`\n\n**Linux** (normal x86-64 PC):\n\n```bash\n./setup.sh\n```\n\nOn NVIDIA computers the setup offers TensorRT (about 2x faster pose detection, takes ~10 minutes\nto build; the game works without it). On Linux the script also checks the things Linux may be\nmissing and tells you the exact fix: the `python3-venv` package, OpenCV's `libgl1`, and webcam\npermission (`sudo usermod -aG video $USER`).\n\n## Run\n\n**Windows:** double-click `run.bat` - **Linux:** `./run.sh`\n\nOptions go after the command, e.g. `run.bat --keyboard` or `./run.sh --source 1`:\n\n| Option | |\n|---|---|\n| `--source 1` | another webcam (or a video file) |\n| `--keyboard` | no camera, keyboard debug controls (see inputs.py) |\n| `--debug` | start with collision circles shown |\n\n| Key | Action |\n|---|---|\n| F11 | fullscreen on/off |\n| F5 | restart the level |\n| F1 | show collision circles |\n| Esc | back to menu / quit |\n\n## Options\n\n**OPTIONS** on the title screen tunes the game without touching code: camera mirroring and\ntracking, mouth thresholds (with the live mouth score shown while you tune), head tilt, leg\nspeed and smoothing, gravity, grip, sticky strength and fullscreen. Changes apply at once and\nare saved in `settings.json` (per computer, not in git). **RESET TO DEFAULTS** undoes everything.\nOnly safe settings with limited ranges are offered, and a broken `settings.json` is ignored.\n\n## Faster detection (NVIDIA GPU)\n\nThe game picks the fastest backend it finds: TensorRT, then the GPU, then the CPU. The camera\npreview shows which one is in use next to the FPS. The TensorRT engine only works on the GPU it\nwas built on, so each computer builds its own. The setup offers it; to do it later, install\n`requirements-gpu.txt` and run `export_engine.py` with the environment's Python\n(`.venv\\Scripts\\python` on Windows, `.venv/bin/python` on Linux).\n\n## Code guide\n\n`docs/All_For_One_Code_Guide.pdf` explains the whole code: architecture, physics, vision, every\nfile block by block, and how the AI models work. To rebuild it after changes:\n`pip install -r requirements-dev.txt`, then `python tools/docs/make_docs.py`.\n\n## Code\n\n| File | What it does |\n|---|---|\n| `main.py` | entry point and command-line options |\n| `app.py` | owns the window, switches between menu, game and test |\n| `display.py` | single-window layout: game left, camera right, fullscreen |\n| `menu.py`, `ui.py` | title screen, player picker, buttons |\n| `game.py` | the level: physics loop, HUD, timer, flag/finish |\n| `test_scene.py` | 1-player test screen |\n| `character.py` | legs, kinematics, contact physics, sticky feet |\n| `terrain.py` | map image and collision (signed distance field from `foreground.png`) |\n| `maps.py` | the maps: loading/scaling, start point, flag (list in `config.MAPS`) |\n| `flag.py` | goal flag |\n| `viewport.py` | camera that follows the character |\n| `assets.py` | character sprite loading, leg stretching, shoe colour filters |\n| `vision.py` | webcam thread: YOLO pose + MediaPipe face, players, mouths, head tilt |\n| `player_state.py` | arm/leg angle math shared by camera and keyboard input |\n| `preview.py` | draws the camera preview |\n| `inputs.py` | input interface + keyboard controls |\n| `config.py` | every tunable number |\n| `export_engine.py` | builds the TensorRT engine |\n| `settings.py` | player settings: what can be tuned, safe ranges, settings.json |\n| `options_menu.py` | the Options screen |\n| `download_models.py` | downloads the AI models (run by the setup) |\n| `setup.bat` / `setup.ps1` / `setup.sh` | one-time setup on Windows / Linux |\n| `run.bat` / `run.sh` | start the game with its environment |\n| `tools/docs/` | rebuilds the PDF code guide |\n| `pose_and_face_test.py` | original pose + face detection experiment |",
"commits": []
}