Skip to content

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

132 KB
Raw Blame
[
  {
    "full_name": "blackout-rain/application-development",
    "id": 1404164891,
    "description": null,
    "homepage": null,
    "created_at": "2026-10-04T08:53:57Z",
    "pushed_at": "2026-10-04T12:26:17Z",
    "default_branch": "claude/gracious-rubin-gl8amj",
    "language": "HTML",
    "topics": [],
    "repo": "blackout-rain/application-development",
    "readme": "",
    "tree_paths": [
      "fishery-game",
      "fishery-game/index.html",
      "fishing-demos",
      "fishing-demos/01-timing-fishing.html",
      "fishing-demos/02-catch-log.html",
      "fishing-demos/03-fish-encyclopedia.html",
      "fishing-demos/04-tide-forecast.html",
      "fishing-demos/05-knot-guide.html",
      "fishing-demos/06-tackle-sim.html",
      "fishing-demos/07-sonar.html",
      "fishing-demos/08-idle-fishing.html",
      "fishing-demos/09-spot-map.html",
      "fishing-demos/10-fish-recipe.html",
      "fishing-demos/index.html"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/blackout-rain/application-development/commit/edcadc995e03a4184f8b18d9c174fa55b93a7a6b",
      "https://github.com/blackout-rain/application-development/commit/65487a026da6954b12663bdf30d579d7cff1a87b",
      "https://github.com/blackout-rain/application-development/commit/04451833725c5b0b0e4276f1f683641832ff7456"
    ]
  },
  {
    "full_name": "yarross/DataOpen",
    "id": 1404245729,
    "description": null,
    "homepage": null,
    "created_at": "2026-10-04T10:28:59Z",
    "pushed_at": "2026-10-04T12:27:05Z",
    "default_branch": "claude/optimistic-lamport-wrhq2l",
    "language": "Python",
    "topics": [],
    "repo": "yarross/DataOpen",
    "readme": "# DataOpen\n\nСинтетические датасеты Human Pose (COCO Keypoints / YOLO-Pose) из игровых движков.\n**Universal Core** (Python) + **моды внутри игр** (Lua, C#). Игры: Garry's Mod, Valheim, Rust (свой сервер); любую другую\nможно добавить за один профиль и один мод (`docs/MODDING.md`).\n\n```bash\npip install -e '.[dev,capture]'\npython -m pytest -q\nmake demo                      # весь конвейер без игры: doctor → collect → verify → preview\n\ndataopen games                                          # профили\ndataopen install --game gmod --dir \"<папка игры>\"       # поставить мод\ndataopen doctor  --game gmod                            # проверить интеграцию (читайте первый FAIL)\ndataopen collect --game gmod --out runs/a --frames 1000 --provenance-note \"<источник и лицензия ассетов>\"\ndataopen verify  runs/a ; dataopen preview runs/a       # QA и контактный лист\n```\n\n| Документ | О чём |\n|---|---|\n| [docs/RUNBOOK.md](docs/RUNBOOK.md) | запуск на каждой игре, таблицы «симптом → что делать», масштабирование |\n| [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) | устройство, решения, разметка и видимость, узкие места, риски |\n| [docs/PROTOCOL.md](docs/PROTOCOL.md) | протокол core ↔ мод для авторов модов |\n| [docs/MODDING.md](docs/MODDING.md) | как добавить игру |\n| [docs/GAMES.md](docs/GAMES.md) | выбор игр и чек-лист для новой |\n\nЧестный статус: ядро, протокол, `doctor`/`verify`, Lua-рантайм и хост GMod (на заглушке API) покрыты тестами. C#-плагины\nразбираются и проверяются на C# 7.3, но **не собирались и не запускались**, а на реальных играх ничего ещё не проверялось:\nпервый запуск `dataopen doctor` на игре и есть эта проверка.\n",
    "tree_paths": [
      ".github",
      ".github/workflows",
      ".github/workflows/ci.yml",
      ".gitignore",
      "Makefile",
      "README.md",
      "adapters",
      "adapters/gmod",
      "adapters/gmod/addon",
      "adapters/gmod/addon/dataopen",
      "adapters/gmod/addon/dataopen/lua",
      "adapters/gmod/addon/dataopen/lua/autorun",
      "adapters/gmod/addon/dataopen/lua/autorun/dataopen_init.lua",
      "adapters/gmod/addon/dataopen/lua/dataopen",
      "adapters/gmod/addon/dataopen/lua/dataopen/gmod_host.lua",
      "adapters/gmod/tests",
      "adapters/gmod/tests/gmod_stub.lua",
      "adapters/lua",
      "adapters/lua/runtime",
      "adapters/lua/runtime/dataopen_rpc.lua",
      "adapters/lua/tests",
      "adapters/lua/tests/mock_host.lua",
      "adapters/unity",
      "adapters/unity/DataOpen.Rust",
      "adapters/unity/DataOpen.Rust/DataOpen.Rust.csproj",
      "adapters/unity/DataOpen.Rust/Plugin.cs",
      "adapters/unity/DataOpen.UnitySdk",
      "adapters/unity/DataOpen.UnitySdk/FreeCam.cs",
      "adapters/unity/DataOpen.UnitySdk/GameBindings.cs",
      "adapters/unity/DataOpen.UnitySdk/Json.cs",
      "adapters/unity/DataOpen.UnitySdk/Mailbox.cs",
      "adapters/unity/DataOpen.UnitySdk/Rig.cs",
      "adapters/unity/DataOpen.UnitySdk/RpcServer.cs",
      "adapters/unity/DataOpen.UnitySdk/UnityHost.cs",
      "adapters/unity/DataOpen.Valheim",
      "adapters/unity/DataOpen.Valheim/DataOpen.Valheim.csproj",
      "adapters/unity/DataOpen.Valheim/Plugin.cs",
      "adapters/unity/DataOpen.Valheim/ValheimBindings.cs",
      "adapters/unity/DataOpen.Valheim/bin",
      "adapters/unity/DataOpen.Valheim/bin/release-out",
      "adapters/unity/DataOpen.Valheim/bin/release-out/DataOpen.Valheim.dll",
      "docs",
      "docs/ARCHITECTURE.md",
      "docs/GAMES.md",
      "docs/MODDING.md",
      "docs/PROTOCOL.md",
      "docs/RUNBOOK.md",
      "pyproject.toml",
      "src",
      "src/dataopen",
      "src/dataopen/__init__.py",
      "src/dataopen/adapters",
      "src/dataopen/adapters/__init__.py",
      "src/dataopen/adapters/mock",
      "src/dataopen/adapters/mock/__init__.py",
      "src/dataopen/adapters/mock/adapter.py",
      "src/dataopen/adapters/mock/png.py",
      "src/dataopen/adapters/mock/server.py",
      "src/dataopen/adapters/rcon.py",
      "src/dataopen/adapters/remote.py",
      "src/dataopen/cli.py",
      "src/dataopen/core",
      "src/dataopen/core/__init__.py",
      "src/dataopen/core/annotation.py",
      "src/dataopen/core/calibration.py",
      "src/dataopen/core/card.py",
      "src/dataopen/core/doctor.py",
      "src/dataopen/core/export.py",
      "src/dataopen/core/imageio.py",
      "src/dataopen/core/interfaces.py",
      "src/dataopen/core/merge.py",
      "src/dataopen/core/models.py",
      "src/dataopen/core/orchestrator.py",
      "src/dataopen/core/preview.py",
      "src/dataopen/core/projection.py",
      "src/dataopen/core/protocol.py",
      "src/dataopen/core/qa.py",
      "src/dataopen/core/randomization.py",
      "src/dataopen/core/schema.py",
      "src/dataopen/core/self_occlusion.py",
      "src/dataopen/core/transport.py",
      "src/dataopen/core/validation.py",
      "src/dataopen/core/viz.py",
      "src/dataopen/factory.py",
      "src/dataopen/game_profiles",
      "src/dataopen/game_profiles/gmod.toml",
      "src/dataopen/game_profiles/mock.toml",
      "src/dataopen/game_profiles/rust.toml",
      "src/dataopen/game_profiles/valheim.toml",
      "src/dataopen/installer.py",
      "src/dataopen/profiles.py",
      "tests",
      "tests/test_cli.py",
      "tests/test_csharp_syntax.py",
      "tests/test_doctor.py",
      "tests/test_export.py",
      "tests/test_gmod_host.py",
      "tests/test_imageio_viz.py",
      "tests/test_installer.py",
      "tests/test_lua_runtime.py",
      "tests/test_orchestrator_hardening.py",
      "tests/test_pipeline.py",
      "tests/test_projection.py",
      "tests/test_protocol_conformance.py",
      "tests/test_protocol_transport.py",
      "tests/test_qa.py",
      "tests/test_randomization.py",
      "tests/test_rcon.py",
      "tests/test_remote_adapter.py",
      "tests/test_schema_and_mapping.py",
      "tests/test_self_occlusion.py"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/yarross/DataOpen/commit/184f0271b09b48b3329e0129eda4543c60fd0c9f",
      "https://github.com/yarross/DataOpen/commit/fae0fdaa545f0b1bfdb7a586db498db1bfa404f3",
      "https://github.com/yarross/DataOpen/commit/650ebf28fc23f52b33eefb2b1e18203bc6a13563",
      "https://github.com/yarross/DataOpen/commit/1f9ee029438dad106044ac9bc2f7609bad2aaaa4",
      "https://github.com/yarross/DataOpen/commit/8bc0988966313bd501f7f00f8607b7545114a0d7",
      "https://github.com/yarross/DataOpen/commit/db44ab5d7ef2dc25ce6c6d64adc863b758b0990e"
    ]
  },
  {
    "full_name": "azikfail/Escape-From-Ilnur",
    "id": 1404359819,
    "description": null,
    "homepage": null,
    "created_at": "2026-10-04T12:16:44Z",
    "pushed_at": "2026-10-04T12:26:31Z",
    "default_branch": "main",
    "language": "HTML",
    "topics": [],
    "repo": "azikfail/Escape-From-Ilnur",
    "readme": "# Escape From Ilnur — «Гараж у Ильнура»\n\nХоррор от первого лица: ты — Регина, потерялась в кукурузном лабиринте. Найди ключи, заведи ржавый Датсун в гараже и сбеги от Ильнура.\n\n## Как играть\n\n**Windows (проще всего):** скачай `Garage-u-Ilnura-*.exe` из раздела **Releases** и запусти двойным щелчком. Ничего устанавливать не нужно.\n\n**В браузере (Chrome / Edge):**\n1. Скачай репозиторий (Code → Download ZIP) и распакуй.\n2. Запусти `start.bat` (нужен Python) или любой статический сервер в этой папке, например `python -m http.server 8765`.\n3. Открой `http://localhost:8765`.\n\nИгра не запустится двойным щелчком по `index.html` — файлы моделей и звука грузятся только по http.\n\nИграй в наушниках и в темноте.\n\n## Управление\n`W A S D` — идти · `Shift` — бежать · `Ctrl` — красться · `Пробел` — прыжок · `E` — действие / спрятаться · `F` — фонарик · `N` — ночная камера · `M` — карта · `G` — бросить банку · `Esc` — пауза и настройки\n\n## Что внутри\n- 4 сложности, включая «Кошмар» с помощником Ильнура\n- 4 места для поиска ключей, 4 вида укрытий, ловушки и отвлечение\n- настройки чувствительности мыши, яркости, поля зрения и качества\n- две случайные концовки, 7 пасхалок\n\nТри.js r128, Web Audio. Сборка для Windows: папка `desktop` (`npm ci && npm run dist`).\n",
    "tree_paths": [
      ".gitignore",
      "README.md",
      "assets",
      "assets/cloth_jacket.jpg",
      "assets/cloth_pants.jpg",
      "assets/cloth_sneaker.jpg",
      "assets/datsun_ref.webp",
      "assets/handrig.js",
      "assets/head_back.jpg",
      "assets/head_front.jpg",
      "assets/head_left.jpg",
      "assets/head_right.jpg",
      "assets/ilnur_ref.webp",
      "assets/models",
      "assets/models/car.glb",
      "assets/models/flashlight.glb",
      "assets/models/hand.glb",
      "assets/music",
      "assets/music/scarysong.mp3",
      "assets/sfx",
      "assets/sfx/birds_dawn.wav",
      "assets/sfx/birds_flush.wav",
      "assets/sfx/chase_loop.wav",
      "assets/sfx/death_scream.mp3",
      "assets/sfx/dog_0.wav",
      "assets/sfx/dog_1.wav",
      "assets/sfx/dog_2.wav",
      "assets/sfx/dog_3.wav",
      "assets/sfx/dog_4.wav",
      "assets/sfx/dog_5.wav",
      "assets/sfx/dog_6.wav",
      "assets/sfx/dog_7.wav",
      "assets/sfx/door_a.wav",
      "assets/sfx/door_b.wav",
      "assets/sfx/door_lid.wav",
      "assets/sfx/engine_loop.wav",
      "assets/sfx/manifest.json",
      "assets/sfx/step_hard_00.wav",
      "assets/sfx/step_hard_01.wav",
      "assets/sfx/step_hard_02.wav",
      "assets/sfx/step_hard_03.wav",
      "assets/sfx/step_hard_04.wav",
      "assets/sfx/step_hard_05.wav",
      "assets/sfx/step_hard_06.wav",
      "assets/sfx/step_hard_07.wav",
      "assets/sfx/step_hard_08.wav",
      "assets/sfx/step_hard_09.wav",
      "assets/sfx/step_hard_10.wav",
      "assets/sfx/step_hard_11.wav",
      "assets/sfx/step_hard_12.wav",
      "assets/sfx/step_hard_13.wav",
      "assets/sfx/step_hard_14.wav",
      "assets/sfx/step_hard_15.wav",
      "assets/sfx/step_hard_16.wav",
      "assets/sfx/step_hard_17.wav",
      "assets/sfx/step_soft_00.wav",
      "assets/sfx/step_soft_01.wav",
      "assets/sfx/step_soft_02.wav",
      "assets/sfx/step_soft_03.wav",
      "assets/sfx/step_soft_04.wav",
      "assets/sfx/step_soft_05.wav",
      "assets/sfx/step_soft_06.wav",
      "assets/sfx/step_soft_07.wav",
      "assets/sfx/step_soft_08.wav",
      "assets/sfx/step_soft_09.wav",
      "assets/sfx/step_soft_10.wav",
      "assets/sfx/step_soft_11.wav",
      "assets/sfx/step_soft_12.wav",
      "assets/sfx/step_soft_13.wav",
      "assets/sfx/step_soft_14.wav",
      "assets/sfx/step_soft_15.wav",
      "assets/sfx/step_soft_16.wav",
      "assets/sfx/step_soft_17.wav",
      "assets/sfx/thunder.wav",
      "assets/sfx/wind_loop.wav",
      "assets/voice",
      "assets/voice/clips.json",
      "assets/voice/i_allo.wav",
      "assets/voice/i_banki.wav",
      "assets/voice/i_begi.wav",
      "assets/voice/i_bu.wav",
      "assets/voice/i_bystraya.wav",
      "assets/voice/i_chto_bylo.wav",
      "assets/voice/i_chto_huynya.wav",
      "assets/voice/i_datsun.wav",
      "assets/voice/i_delas.wav",
      "assets/voice/i_dyshish.wav",
      "assets/voice/i_ferma.wav",
      "assets/voice/i_garazh.wav",
      "assets/voice/i_idisuda.wav",
      "assets/voice/i_klyuchi.wav",
      "assets/voice/i_kto_tut.wav",
      "assets/voice/i_ktoto.wav",
      "assets/voice/i_kuda_dura.wav",
      "assets/voice/i_kukuruza.wav",
      "assets/voice/i_mashina.wav",
      "assets/voice/i_naydu.wav",
      "assets/voice/i_naydu_final.wav",
      "assets/voice/i_neubezhish.wav",
      "assets/voice/i_nevzdumay.wav",
      "assets/voice/i_nezloy.wav",
      "assets/voice/i_pizdec.wav",
      "assets/voice/i_pohoroshemu.wav",
      "assets/voice/i_popalas.wav",
      "assets/voice/i_posmotrim.wav",
      "assets/voice/i_poteryal.wav",
      "assets/voice/i_propala.wav",
      "assets/voice/i_radio.wav",
      "assets/voice/i_reg_gde.wav",
      "assets/voice/i_reg_shout.wav",
      "assets/voice/i_reg_vyhodi.wav",
      "assets/voice/i_sama.wav",
      "assets/voice/i_shout_long.wav",
      "assets/voice/i_stancuem.wav",
      "assets/voice/i_stoy.wav",
      "assets/voice/i_stoyat.wav",
      "assets/voice/i_strah.wav",
      "assets/voice/i_szadi2.wav",
      "assets/voice/i_t1a.wav",
      "assets/voice/i_t1b.wav",
      "assets/voice/i_t2a.wav",
      "assets/voice/i_t2b.wav",
      "assets/voice/i_t2c.wav",
      "assets/voice/i_t3a.wav",
      "assets/voice/i_t3b.wav",
      "assets/voice/i_t3c.wav",
      "assets/voice/i_videl.wav",
      "assets/voice/i_vizhu.wav",
      "assets/voice/i_vylezay.wav",
      "assets/voice/i_zatoboy.wav",
      "assets/voice/i_zdes_kto.wav",
      "assets/voice/r_ay.wav",
      "assets/voice/r_begu.wav",
      "assets/voice/r_bystree.wav",
      "assets/voice/r_datsun.wav",
      "assets/voice/r_eshe.wav",
      "assets/voice/r_est.wav",
      "assets/voice/r_garazh.wav",
      "assets/voice/r_gdeya.wav",
      "assets/voice/r_golova.wav",
      "assets/voice/r_gospodi.wav",
      "assets/voice/r_karta.wav",
      "assets/voice/r_klyuch.wav",
      "assets/voice/r_krysa.wav",
      "assets/voice/r_kto_tut.wav",
      "assets/voice/r_kto_za_mnoy.wav",
      "assets/voice/r_nemogu.wav",
      "assets/voice/r_nenado.wav",
      "assets/voice/r_net.wav",
      "assets/voice/r_netnet.wav",
      "assets/voice/r_odin.wav",
      "assets/voice/r_ojpizdec.wav",
      "assets/voice/r_otpusti.wav",
      "assets/voice/r_posledniy.wav",
      "assets/voice/r_ryadom.wav",
      "assets/voice/r_shurshit.wav",
      "assets/voice/r_temno.wav",
      "assets/voice/r_tiho.wav",
      "assets/voice/r_uezzhayu.wav",
      "assets/voice/r_umirat.wav",
      "assets/voice/r_vybiratsya.wav",
      "assets/voice/r_zavodis.wav",
      "assets/voice/r_zhivaya.wav",
      "desktop",
      "desktop/README.md",
      "desktop/build",
      "desktop/build/icon-prompt.txt",
      "desktop/build/icon.ico",
      "desktop/build/icon.png",
      "desktop/main.cjs",
      "desktop/make-icon.ps1",
      "desktop/package-lock.json",
      "desktop/package.json",
      "desktop/prepare.cjs",
      "desktop/verify-icon.cjs",
      "dev",
      "dev/fit.html",
      "dev/grip.html",
      "dev/ref.png",
      "index.html"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/azikfail/Escape-From-Ilnur/commit/13bea9260cc54f85ca6df915a663e419d6e21443"
    ]
  },
  {
    "full_name": "zinx110/turftab",
    "id": 1404363250,
    "description": null,
    "homepage": "https://turftab.vercel.app",
    "created_at": "2026-10-04T12:20:14Z",
    "pushed_at": "2026-10-04T12:24:47Z",
    "default_branch": "main",
    "language": "TypeScript",
    "topics": [],
    "repo": "zinx110/turftab",
    "readme": "# TurfTab\n\nA small installable web app for splitting the ground-rent of a weekly football game and tracking who has paid.\n\nEvery week a group of us rents a turf. One person pays the ground, then collects an equal share from every player who actually played — some pay straight away, some days later. There is no profit: the fee is split exactly equally, rounded up so the organiser never ends up covering a shortfall. TurfTab replaces the group-chat arithmetic and the \"who still owes me?\" memory test.\n\n- **Organiser** logs in, records each game (costs + who played), and taps *Mark paid* as money arrives.\n- **Players** get a private link that shows only their own balance and the games they still owe for, plus the organiser's bKash number. They never log in and never see anyone else's balance.\n\n> Stack: Next.js 16 (App Router) · TypeScript · Tailwind CSS 4 · Neon Postgres · Drizzle ORM · Vitest · PWA\n> Currency is whole taka (৳). There are no decimals anywhere in the data model.\n\n---\n\n## Features\n\n| Area | What it does |\n|---|---|\n| **Games** | Any number of cost items per game (turf, drinks, vest washing…). Tick who played; a live preview shows `7 players → ৳429 each`. Edit or delete later. |\n| **Split** | `ceil(total ÷ players who played)`. Absent players are never charged. The per-game surplus from rounding up is shown, never hidden. |\n| **Payments** | One-tap *Mark paid* records a player's full balance (two taps, to prevent accidental taps). A separate amount box handles partial payments. Any payment can be undone. |\n| **Dashboard** | Total outstanding, total collected, and who owes, biggest first, each with *Copy message* (a ready-to-paste reminder with the amount, bKash number and the player's link). |\n| **Sharing** | A group link (games, costs, who played — no balances) and a personal link per player (that player's balance only). Both rotate on demand. |\n| **Export** | Download players, games, charges, payments and balances as CSV, so the records don't depend on one database. |\n| **PWA** | Installable to the home screen, opens full-screen, and shows a friendly offline page when there's no signal. |\n\n---\n\n## Architecture\n\n```\nBrowser (PWA)\n   │\n   ▼\nNext.js on Vercel ── proxy.ts: logged-out → 307 /login (first line of defence)\n   │   ├─ (admin) pages + server actions   → requireAdmin() on every one\n   │   ├─ /s/[token]  group page (public, token = credential, no balances)\n   │   ├─ /p/[token]  personal page (public, token = credential, one player)\n   │   └─ /export/[name]  admin-only CSV downloads\n   ▼\nNeon Postgres (serverless, pooled, HTTP driver)  via Drizzle ORM\n```\n\n### Data model\n\n```mermaid\nerDiagram\n    players ||--o{ game_players : \"played in\"\n    games   ||--o{ game_players : \"has attendees\"\n    games   ||--o{ game_items   : \"has costs\"\n    players ||--o{ payments     : \"paid\"\n\n    players {\n        int id PK\n        text name\n        text phone\n        text token UK\n        bool active\n    }\n    games {\n        int id PK\n        date played_on\n        text note\n    }\n    game_items {\n        int id PK\n        int game_id FK\n        text label\n        int amount\n    }\n    game_players {\n        int game_id PK, FK\n        int player_id PK, FK\n        int charge\n    }\n    payments {\n        int id PK\n        int player_id FK\n        int amount\n        date paid_on\n        text note\n    }\n    settings {\n        text key PK\n        text value\n    }\n    login_attempts {\n        int id PK\n        text ip\n        timestamptz attempted_at\n    }\n```\n\nThe key idea is that **balances are never stored**. A player's balance is always `sum(charges) − sum(payments)`, computed on read. That makes mistakes fixable (undo a payment, edit a game) with no balance field to drift out of sync.\n\n- `game_players.charge` is fixed at save time, so history doesn't shift if the formula ever changes. Editing a game regenerates its charges.\n- `payments` aren't tied to a game: a payment just reduces the running balance, so \"paid two games at once\" and \"paid half\" need no special cases.\n- Players with history can't be deleted (`ON DELETE RESTRICT`); they are archived.\n- CHECK constraints keep amounts positive at the database level too.\n\n### How a multi-game balance is displayed\n\nBecause payments aren't tied to games, the personal page needs a rule for *which* games a payment covered. Payments are applied **oldest game first** (`src/lib/ledger.ts`). If someone owes ৳430 for each of 3 games and pays ৳500, game 1 is paid, game 2 shows ৳360 left, game 3 is untouched. This is only a display rule — the total owed is always the true ledger balance.\n\n### Security model\n\n- **One admin, no user table.** The password lives in an environment variable (`ADMIN_PASSWORD`), compared in constant time. Login sets a signed (HS256), `httpOnly`, `SameSite=Lax`, `secure`-in-production session cookie valid for a year (this is a personal tool, so long sessions are a deliberate trade-off).\n- **Revocation:** change the password to block new logins; rotate `SESSION_SECRET` to invalidate every existing session at once.\n- **Defence in depth.** `proxy.ts` redirects logged-out visitors before anything renders, **and** every page, server action and route handler calls `requireAdmin()` itself. Layouts are never trusted for auth (they don't re-run on client navigation).\n- **Brute-force lockout:** 5 failed attempts per IP, or 50 globally, in 15 minutes, stored in Postgres (serverless has no shared memory).\n- **Share links** are random 144-bit tokens. The group link's query never loads balances or payments; the personal link's query is scoped to one player. Regenerating a token kills the old link immediately.\n- **CSV export** neutralises spreadsheet formula injection (`=`, `+`, `-`, `@` prefixes in text cells).\n\n### PWA\n\nA hand-written ~50-line service worker (`public/sw.js`) rather than a framework plugin: it precaches the offline page and icons, caches hashed build assets, and falls back to the offline page when a navigation fails. It **never caches HTML, server actions or data** — those are logged-in money records and must always come fresh. Writes are online-only by design, so there is no sync queue or conflict handling to get wrong.\n\n---\n\n## Getting started\n\nRequires Node 22+, [pnpm](https://pnpm.io) 10 and a free [Neon](https://neon.com) project.\n\n```bash\npnpm install\ncp .env.example .env.local     # then fill in the three values below\npnpm db:migrate             # creates the tables\npnpm dev                    # http://localhost:3000\n```\n\n| Variable | What |\n|---|---|\n| `DATABASE_URL` | Neon connection string. Use the **pooled** one (host contains `-pooler`). |\n| `ADMIN_PASSWORD` | Admin login. A long passphrase, 12+ characters. |\n| `SESSION_SECRET` | 32+ characters, e.g. `openssl rand -base64 48`. Rotating it logs every device out. |\n\nTip: create a separate Neon **branch** for local development so testing never touches your real data. Branches copy the schema instantly.\n\n### Scripts\n\n| Command | Does |\n|---|---|\n| `pnpm dev` | Dev server |\n| `pnpm build` / `pnpm start` | Production build / server |\n| `pnpm test` | Unit tests (Vitest) |\n| `pnpm lint` | ESLint |\n| `pnpm db:generate` | Generate a SQL migration from `src/db/schema.ts` |\n| `pnpm db:migrate` | Apply migrations to `DATABASE_URL` |\n| `pnpm db:studio` | Browse the database |\n\n### Deploying to Vercel\n\n1. Push to GitHub and import the repo in Vercel.\n2. Add `DATABASE_URL`, `ADMIN_PASSWORD`, `SESSION_SECRET` as environment variables.\n3. Set the function region close to your database (Singapore, `sin1`, for a `ap-southeast-1` Neon project) under *Settings → Functions*.\n4. Run `pnpm db:migrate` once against the production database.\n\n### Project layout\n\n```\nsrc/\n  app/\n    (admin)/        dashboard, games, players, settings, export — all admin-only\n    login/          login page + server action\n    s/[token]/      public group page\n    p/[token]/      public personal page\n    offline/        offline fallback page\n    manifest.ts     PWA manifest\n  components/       UI pieces (game form, confirm button, nav, …)\n  db/               Drizzle schema + lazy Neon client\n  lib/\n    money.ts        split + rounding        ← pure, unit-tested\n    ledger.ts       oldest-first allocation ← pure, unit-tested\n    csv.ts          CSV encoding            ← pure, unit-tested\n    session.ts      signing + constant-time compare ← pure, unit-tested\n    auth.ts         cookie session + requireAdmin()\n    data.ts         all reads, incl. the public share queries\n    export.ts       CSV builders\n  proxy.ts          logged-out redirect\npublic/sw.js        service worker\ndrizzle/            generated SQL migrations\n```\n\n---\n\n# Case study\n\n## The problem\n\nI play football weekly with a group of friends. I pay the turf, then collect an equal share from everyone who played. People pay on different days, some skip a week, and guests turn up. I was keeping it in my head and in a chat thread, and I never wanted to profit from it — the point is that nobody ove",
    "tree_paths": [
      ".env.example",
      ".gitignore",
      "README.md",
      "drizzle.config.ts",
      "drizzle",
      "drizzle/0000_mixed_katie_power.sql",
      "drizzle/meta",
      "drizzle/meta/0000_snapshot.json",
      "drizzle/meta/_journal.json",
      "eslint.config.mjs",
      "next.config.ts",
      "package.json",
      "pnpm-lock.yaml",
      "postcss.config.mjs",
      "public",
      "public/apple-touch-icon.png",
      "public/icons",
      "public/icons/icon-192.png",
      "public/icons/icon-512.png",
      "public/icons/icon-maskable-512.png",
      "public/sw.js",
      "src",
      "src/app",
      "src/app/(admin)",
      "src/app/(admin)/export",
      "src/app/(admin)/export/[name]",
      "src/app/(admin)/export/[name]/route.ts",
      "src/app/(admin)/games",
      "src/app/(admin)/games/[id]",
      "src/app/(admin)/games/[id]/page.tsx",
      "src/app/(admin)/games/actions.ts",
      "src/app/(admin)/games/new",
      "src/app/(admin)/games/new/page.tsx",
      "src/app/(admin)/games/page.tsx",
      "src/app/(admin)/layout.tsx",
      "src/app/(admin)/loading.tsx",
      "src/app/(admin)/page.tsx",
      "src/app/(admin)/payments",
      "src/app/(admin)/payments/actions.ts",
      "src/app/(admin)/players",
      "src/app/(admin)/players/[id]",
      "src/app/(admin)/players/[id]/page.tsx",
      "src/app/(admin)/players/actions.ts",
      "src/app/(admin)/players/page.tsx",
      "src/app/(admin)/settings",
      "src/app/(admin)/settings/actions.ts",
      "src/app/(admin)/settings/page.tsx",
      "src/app/globals.css",
      "src/app/icon.png",
      "src/app/layout.tsx",
      "src/app/login",
      "src/app/login/actions.ts",
      "src/app/login/login-form.tsx",
      "src/app/login/page.tsx",
      "src/app/manifest.ts",
      "src/app/offline",
      "src/app/offline/page.tsx",
      "src/app/p",
      "src/app/p/[token]",
      "src/app/p/[token]/page.tsx",
      "src/app/s",
      "src/app/s/[token]",
      "src/app/s/[token]/page.tsx",
      "src/components",
      "src/components/confirm-button.tsx",
      "src/components/copy-button.tsx",
      "src/components/game-form.tsx",
      "src/components/mark-paid-button.tsx",
      "src/components/nav.tsx",
      "src/components/player-controls.tsx",
      "src/components/register-sw.tsx",
      "src/components/share-chrome.tsx",
      "src/components/ui.ts",
      "src/db",
      "src/db/index.ts",
      "src/db/schema.ts",
      "src/lib",
      "src/lib/auth.ts",
      "src/lib/csv.test.ts",
      "src/lib/csv.ts",
      "src/lib/data.ts",
      "src/lib/dates.ts",
      "src/lib/env.ts",
      "src/lib/export.ts",
      "src/lib/ledger.test.ts",
      "src/lib/ledger.ts",
      "src/lib/login-lockout.ts",
      "src/lib/money.test.ts",
      "src/lib/money.ts",
      "src/lib/session.test.ts",
      "src/lib/session.ts",
      "src/proxy.ts",
      "tsconfig.json",
      "vitest.config.mts"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/zinx110/turftab/commit/3cfdeb8434c3409e1a2169a4c3bcb0e9729c99a9"
    ]
  },
  {
    "full_name": "diegobrego/BoardGameNight",
    "id": 1404013518,
    "description": null,
    "homepage": null,
    "created_at": "2026-10-04T06:31:03Z",
    "pushed_at": "2026-10-04T12:35:38Z",
    "default_branch": "main",
    "language": "JavaScript",
    "topics": [],
    "repo": "diegobrego/BoardGameNight",
    "readme": "# Board Game Night\n\nA tiny website for a board game group. Everyone picks the days they're available over the next two weeks, days with 3+ available players light up green as a game night, and anyone can already float game ideas (with links to BoardGameGeek) once a single person is available.\n\nPlain HTML/CSS/JS, no build step, hosted for free on GitHub Pages. Look: a Playdate feel (dither patterns, hard shadows, pixel-art player faces) in purple, with a rounded easy-to-read font and crisp vector icons. There's a **light and a dark theme**: it follows the device by default, and the sun/moon button in the header switches it (and remembers the choice). Green is reserved for \"game on\" days.\n\n## Try it on your computer\n\n```bash\nnode tools/serve.mjs\n```\n\nOpen <http://localhost:8080>. Until you connect a database (below) the site runs in **demo mode**: a few fake players, and everything is saved only in your own browser. Even after you've connected one, adding **`?demo`** to the address (e.g. `http://localhost:8080/?demo`) gives you that private demo copy to try things out without touching the real data.\n\n## Put it online for the group\n\nGitHub Pages can only serve files, so the shared calendar needs somewhere to keep its data. This project uses **Firebase Firestore** (free plan, no server to run, no credit card). Do step 1 once, then step 2.\n\n### 1. Connect the shared database\n\n1. Go to <https://console.firebase.google.com> and **Add project** (turn Google Analytics off).\n2. **Build → Firestore Database → Create database.** Pick a nearby location, start in **production mode**.\n3. Open the **Rules** tab, paste in the contents of [`firestore.rules`](firestore.rules), and **Publish**.\n4. Click the gear → **Project settings → General → Your apps → `</>` (Web)**. Register the app (skip Firebase Hosting) and copy the `firebaseConfig` object it shows you.\n5. In [`js/config.js`](js/config.js), replace `export const firebaseConfig = null;` with your config:\n\n   ```js\n   export const firebaseConfig = {\n     apiKey: \"…\",\n     authDomain: \"…\",\n     projectId: \"…\",\n     storageBucket: \"…\",\n     messagingSenderId: \"…\",\n     appId: \"…\",\n   };\n   ```\n\n   These values are not secrets; they identify your project and are meant to be public. The rules in step 3 are what protect the data.\n\nReload the site and the demo banner is gone: you're talking to the real database.\n\n### 2. Publish on GitHub Pages\n\n1. Create a new repository on GitHub and push this folder to it.\n2. In the repo: **Settings → Pages → Build and deployment → Deploy from a branch → `main` / `(root)` → Save.**\n3. After a minute the site is live at `https://<your-username>.github.io/<repo-name>/`. Drop that link in the WhatsApp group.\n\n### 3. Become the admin (to remove players)\n\nRemoving a player needs real proof of who you are, and a password hidden in a web page isn't proof (anyone can read the page's code). So the admin signs in with Google, and the database rules only let signed-in admins delete players. One-time setup:\n\n1. Firebase console → **Build → Authentication → Get started → Sign-in method → Google → Enable.** Pick your email as the support email and **Save**.\n2. **Authentication → Settings → Authorized domains → Add domain**, and add the domain the site lives on (`<your-username>.github.io`). `localhost` is already allowed.\n3. Publish the updated [`firestore.rules`](firestore.rules) again (Firestore Database → **Rules** → paste → **Publish**).\n4. Open the site, click **Admin sign-in** in the footer and sign in with Google. A dialog shows your user ID.\n5. In the Firebase console go to **Firestore Database → Data → Start collection**, name it `admins`, set the **Document ID** to your user ID, add any field (for example `note` = `owner`) and save. The site switches to admin mode by itself.\n\nIn admin mode you get an **Admin** tag and an **X** next to everyone in \"The crew\". Removing someone takes them out of the crew **and off every day they picked** (their entries in the hall of fame stay, under the name they had). Admins can also remove entries from the hall of fame, and remove any campaign (a campaign's creator can remove their own too; its sessions stay in the hall of fame). Their game suggestions stay on the list (an admin can remove any game). To add another admin, add their user ID as another document in `admins`. Your email is never stored in the code or the repository.\n\n## How people use it\n\n- **First visit:** pick your name from the list, or add yourself (type a name, choose a pixel face). Your device remembers you; tap your name in the top corner to edit your profile or switch player.\n- **Pick my days:** tap every day you can play, then **Save**. Green days update live as you tick them.\n- **Game ideas:** tap any day with at least one available player (`MIN_PLAYERS_FOR_IDEAS`) to see who's in and add game ideas with the **+** button. Games link to their BoardGameGeek page. Posting an idea early lets others decide to join if they like it. The **?** next to \"Game options\" explains how game nights work.\n- **Green days** (3+ available players, set by `MIN_PLAYERS`) are marked with a green double border and a **Game on** tag: that's a game night.\n- **Reminder banners:** on the calendar page, when today or tomorrow is a game night, a slim orange banner at the top says so for everyone: when, the game that's winning the vote, and a **See the game night** link that opens the day. If you're in a campaign whose next session is planned for today or tomorrow, you get a **Campaign today/tomorrow** banner too, with the campaign's name and session number and a **See the campaign** link that jumps to it on the Campaigns page. Only the people in that campaign see the campaign banner.\n- **WhatsApp (admin only):** the signed-in admin sees a **Remind the group** button on that banner, and a **Remind the group** / **Tell the group** button on a game night's day panel. It opens WhatsApp with a ready-made message (who's in, the top-voted game, and a link to the site); the admin picks the group and taps send. Nothing is sent automatically, and WhatsApp doesn't allow a website to post into an existing group by itself. Keeping the buttons admin-only just keeps them off everyone else's screen, since anyone could write the same message by hand.\n\n- **Voting:** every game on a day has an up-arrow button. Tap it for each game you'd be happy to play (tap again to take the vote back; you can vote for several). Only players who are available that day can vote, and a vote only counts while its voter is still available. The list sorts by votes, shows who voted, and the leader gets a **Top pick** tag. Removing a game removes its votes.\n- **My collection:** in your profile (tap your name at the top), **Manage my collection** keeps a list of the games you own or love (up to 60; search to add, X to remove). Tap the star on a game to mark it as a favourite; favourites come first. When you tap **Add a game** on a day, the search stays as it is, and the **Add game from collection** button under it opens your whole collection: tap a game to put it on the day (games already there are greyed out), star or unstar games right in that list, and use the filter box once the list gets long. So the games you always bring are one tap away instead of a search. Your collection is saved on your profile in the shared database.\n- **\"I'll bring it\":** each game idea has a button to say you'll bring that game to the game night (\"Brought by Mia\"). Like voting, it's for players who are available that day, and it only counts while they are.\n- **Where and when:** on a game night's day panel, an available player can **Add location & time**. It shows in the panel, in the orange banner and in the WhatsApp message.\n- **Add to calendar:** a game night's day panel has an **Add to calendar** button. It downloads a small `.ics` file; opening it adds the event (with the location and start time, or as an all-day event if there's no time) to the phone's or computer's calendar.\n- **Log game night, and the Hall of fame:** after playing, anyone opens today on the calendar and taps **Log game night**. They choose the game (one from that day's ideas, or search for something else), tick who played, and choose the winner (or \"Nobody\" for a co-op game or a draw). The **Hall of fame** page (a tab at the top, in gold and orange) then shows **Most wins**, **Most game nights** and every **game played**. Each list can be collapsed; collapsed rankings still show their leader, and the choice is remembered on that device. Wins count games won; game nights count nights you took part in, so a night with three games still counts once. Entries keep the players' names as they were, so history survives a rename or a removal.\n- **Last week:** above the calendar there's a collapsible **Last week** section with the seven days before today. If you played on Saturday and nobody logged it, open the section, tap Saturday and use **Log game night**. A game night that happened b",
    "tree_paths": [
      ".gitignore",
      ".nojekyll",
      "README.md",
      "css",
      "css/style.css",
      "data",
      "data/games.json",
      "firestore.rules",
      "icons",
      "icons/apple-touch-icon.png",
      "icons/icon-192.png",
      "icons/icon-512.png",
      "icons/maskable-512.png",
      "index.html",
      "js",
      "js/app.js",
      "js/avatar.js",
      "js/campaigns.js",
      "js/config.js",
      "js/dates.js",
      "js/games.js",
      "js/hall.js",
      "js/icons.js",
      "js/ics.js",
      "js/mygames.js",
      "js/store-firebase.js",
      "js/store-local.js",
      "js/store.js",
      "manifest.webmanifest",
      "sw.js",
      "tools",
      "tools/serve.mjs",
      "tools/test.mjs",
      "tools/update-games.mjs"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/diegobrego/BoardGameNight/commit/940d9c64e609f22a36ea0eb4fe8feff2e57a3a0b",
      "https://github.com/diegobrego/BoardGameNight/commit/6412eb20eae201325abe7a689a6b0e8d3bce81c4"
    ]
  },
  {
    "full_name": "takashi145/chess-sandbox",
    "id": 1402547764,
    "description": "A terminal chess board for trying out positions.",
    "homepage": "",
    "created_at": "2026-10-03T02:11:58Z",
    "pushed_at": "2026-10-04T12:25:32Z",
    "default_branch": "main",
    "language": "Go",
    "topics": [
      "chess",
      "cli"
    ],
    "repo": "takashi145/chess-sandbox",
    "readme": "# ChessSandbox\n\nEnglish | [日本語](README.ja.md)\n\nA terminal chess board for trying out positions. Play both sides, step back and forward through your moves, and pick up where you left off.\n\n<img width=\"733\" height=\"322\" alt=\"ChessSandbox board\" src=\"https://github.com/user-attachments/assets/71e49067-fc0c-4f3d-9991-ffea8b15b2ec\" />\n\n## Installation\n\n**Windows** (PowerShell)\n\n```powershell\nirm https://raw.githubusercontent.com/takashi145/chess-sandbox/main/install.ps1 | iex\n```\n\n**macOS / Linux**\n\n```sh\ncurl -fsSL https://raw.githubusercontent.com/takashi145/chess-sandbox/main/install.sh | sh\n```\n\nRun the same command again to update. You can also download the archive for your platform from the\n[Releases](https://github.com/takashi145/chess-sandbox/releases/latest) page, extract it, and put `chess-sandbox` on your `PATH` yourself.\n\n### What the installer does\n\n- **Windows**: puts `chess-sandbox.exe` in `%LOCALAPPDATA%\\Programs\\chess-sandbox` and adds that folder to your user `PATH`.\n- **macOS / Linux**: puts `chess-sandbox` in `~/.local/bin` (set `CHESS_SANDBOX_INSTALL_DIR` to change it).\n\n### Uninstall\n\n**Windows**\n\n1. Delete the install folder:\n\n   ```powershell\n   Remove-Item -Recurse \"$env:LOCALAPPDATA\\Programs\\chess-sandbox\"\n   ```\n\n2. Open **Edit environment variables for your account** from the Start menu, select `Path`, and remove the\n   `...\\Programs\\chess-sandbox` entry.\n\n**macOS / Linux**\n\n```sh\nrm ~/.local/bin/chess-sandbox\n```\n\nTo also remove your saved session, delete the `ChessSandbox` folder described under [Saved session](#saved-session).\n\n## Usage\n\n```\nchess-sandbox [--fen \"<FEN>\" | --pgn <file>]\n```\n\n| Option | Description |\n|---|---|\n| `--fen \"<FEN>\"` | Start a new game from this position. Takes priority over a saved session |\n| `--pgn <file>` | Open a game from a PGN file, at its first position. Takes priority over a saved session. |\n\nWith no options, it starts from the standard position. If a saved session exists, you can choose to continue it,\nstart a new game from the standard position, or start a new game from a FEN you type in.\n\n### Examples\n\n```\n# Start from the standard position (or continue a saved session)\nchess-sandbox\n\n# Start from a specific position\nchess-sandbox --fen \"rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1\"\n\n# Open a game from a PGN file\nchess-sandbox --pgn game.pgn\n```\n\n## Controls\n\nType a move in SAN (`e4`, `Nf3`, `O-O`, `exd5`, `e8=Q`) and press `Enter`. You play both sides. Illegal moves are\nrejected and the board does not change.\n\n| Key | Action |\n|---|---|\n| `←` / `→` | Previous / next move (when the input is empty) |\n| `Home` / `End` | Jump to start / end of the line (when the input is empty) |\n| `Enter` | Play the typed move or run the typed command |\n| `Esc` | Save and quit |\n\nCommands start with `:`.\n\n| Command | Action |\n|---|---|\n| `:flip` (`:f`) | Flip the board |\n| `:fen` | Show the FEN of the current position |\n| `:home` / `:end` | Jump to start / end of the line |\n| `:pgn <file>` | Write the whole line to a PGN file |\n| `:quit` (`:q`) | Save and quit |\n\nIf you step back and play a different move, the moves ahead are discarded. You are asked to confirm first\n(`y` to continue, any other key to cancel).\n\n## Saved session\n\nThe session (start position, moves and current position) is saved after every move.\nClosing the terminal keeps the latest state. It is saved to the following JSON file:\n\n- **Windows**: `%LOCALAPPDATA%\\ChessSandbox\\session.json`\n- **macOS / Linux**: `~/.local/share/ChessSandbox/session.json`\n\n## License\n\nMIT\n",
    "tree_paths": [
      ".gitattributes",
      ".github",
      ".github/workflows",
      ".github/workflows/release.yml",
      ".gitignore",
      ".goreleaser.yaml",
      "LICENSE",
      "README.ja.md",
      "README.md",
      "THIRD-PARTY-NOTICES.md",
      "cmd",
      "cmd/chess-sandbox",
      "cmd/chess-sandbox/main.go",
      "go.mod",
      "go.sum",
      "install.ps1",
      "install.sh",
      "internal",
      "internal/chess",
      "internal/chess/game.go",
      "internal/chess/game_test.go",
      "internal/chess/history.go",
      "internal/chess/history_test.go",
      "internal/chess/pgn.go",
      "internal/chess/pgn_test.go",
      "internal/chess/session.go",
      "internal/chess/session_test.go",
      "internal/ui",
      "internal/ui/model.go",
      "internal/ui/model_test.go",
      "internal/ui/render.go",
      "internal/ui/render_test.go"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/takashi145/chess-sandbox/commit/7c8271f67ba659000e6afbf9969502a4b4a0e5ee",
      "https://github.com/takashi145/chess-sandbox/commit/c66f800a28419cf9c14a1a2380576450c77e1dc9"
    ]
  },
  {
    "full_name": "kokellara12-maker/apps-k4m9q2",
    "id": 1402881772,
    "description": null,
    "homepage": null,
    "created_at": "2026-10-03T08:22:54Z",
    "pushed_at": "2026-10-04T12:34:54Z",
    "default_branch": "main",
    "language": "HTML",
    "topics": [],
    "repo": "kokellara12-maker/apps-k4m9q2",
    "readme": "",
    "tree_paths": [
      ".nojekyll",
      "apps.json",
      "basket.html",
      "blockblast.html",
      "bunker.html",
      "carreras3d.html",
      "casa.html",
      "colorrush.html",
      "contrasenas.html",
      "cuarto.html",
      "cubecraft.html",
      "driftking.html",
      "driftrunner.html",
      "gravityflip.html",
      "growgarden.html",
      "hermana.html",
      "icon-180.png",
      "icon-192.png",
      "icon-512.png",
      "impostor.html",
      "index.html",
      "lab.html",
      "lasthill.html",
      "manifest.webmanifest",
      "ninja.html",
      "noche.html",
      "orbit.html",
      "pengu.html",
      "pengu",
      "pengu/icon-180.png",
      "pengu/icon-192.png",
      "pengu/icon-512.png",
      "pengu/index.html",
      "pengu/manifest.webmanifest",
      "pengu/sw.js",
      "planets.html",
      "royale.html",
      "slideice.html",
      "stealbrainrot.html",
      "survivors.html",
      "sw.js",
      "vecina.html",
      "vozreversa.html"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/kokellara12-maker/apps-k4m9q2/commit/057c295429815e0b09037a81db524b6071c4c274"
    ]
  },
  {
    "full_name": "alimuqeem/esp32-chess-timer",
    "id": 1404323152,
    "description": "Stand-alone two-player chess clock for the Waveshare ESP32-S3-Touch-AMOLED-1.8 (V2): touch, seven-segment display, Fischer increment",
    "homepage": null,
    "created_at": "2026-10-04T11:43:29Z",
    "pushed_at": "2026-10-04T11:43:35Z",
    "default_branch": "main",
    "language": "C",
    "topics": [],
    "repo": "alimuqeem/esp32-chess-timer",
    "readme": "# ESP32 chess clock\n\nA stand-alone two-player chess clock on the **Waveshare ESP32-S3-Touch-AMOLED-1.8 (V2: CO5300\npanel)**. No Mac, no Wi-Fi, no cloud: power it from USB (a power bank is fine), lay it flat between\nthe players, and play. The top half of the screen is drawn upside down for the player across the table.\n\n```\ntools/board.sh test      # unit-test the clock logic on the Mac (no board needed)\ntools/board.sh flash     # build + flash the firmware onto the board\ntools/board.sh ticker    # switch the board to a sibling project (see Revert / erase)\n```\n\nBuilt and tested on the Waveshare **V2** revision (CO5300 AMOLED, CST820 touch, 16 MB flash, 8 MB PSRAM).\nThe original revision uses a different display driver (SH8601) and touch chip and will not work unmodified.\n\n## Setup (first time, macOS/Linux)\n\nNeeds `uv` (or any Python 3.12), a C++ compiler (`c++`, for the host tests) and the board on USB-C.\n\n```\nuv venv .venv --python 3.12 && uv pip install --python .venv/bin/python esptool==4.12.0 pyserial==3.5 mpremote==1.29.0\nuv venv .pio-venv --python 3.12 && uv pip install --python .pio-venv/bin/python platformio==6.2.0\ntools/board.sh flash     # the first build downloads several GB of toolchain into .platformio/\n```\n\n**Back up the board's factory firmware first**, so `tools/board.sh restore` can put it back:\n\n```\nmkdir -p backup\n.venv/bin/esptool.py --port /dev/cu.usbmodemXXXX read_flash 0 0x1000000 backup/original_flash_16MB.bin\nshasum -a 256 backup/original_flash_16MB.bin > backup/SHA256SUMS\n```\n\n## How to play\n\n1. **Pick a time control** (a tile). The last one you used is highlighted and remembered across power-offs.\n2. **Ready screen:** both clocks show the full time. Whoever is *not* moving first taps their own half\n   to start the other's clock. (Like a physical clock: Black starts White's clock.) The first tap is\n   not a move and earns no increment.\n3. **Playing:** after your move, tap **your own half**. Your clock stops, your increment is added, your\n   opponent's starts. Taps on the half whose clock is *not* running are ignored.\n4. **Pause:** tap the pause symbol in the middle strip (only the symbol; a tap elsewhere in the strip\n   counts for the nearer player). The pause panel offers **RESUME**, **RESTART** (same time, back to\n   Ready) and **MENU** (back to the time picker).\n5. **Flag:** when a clock reaches zero, that half turns red (\"OUT OF TIME\"), the other shows \"WINNER\",\n   and taps on the halves do nothing. **AGAIN** replays the same time; **MENU** picks another.\n\nOn screen: the running player's digits are bright and a bar lights up on their outer edge (green; amber\nunder 30 s; red under 10 s); the waiting player's digits are dim. Each side shows its move count and its\nincrement (`+10s`). Under 20 s the display switches to seconds with tenths (`9.4`). Over an hour it\nshows `1:30:00`. Times round up, like a real clock: it reads `00:01` until time is truly out.\n\nTime controls (base minutes + increment seconds, Fischer increment):\nbullet 1+0, 1+1, 2+1 · blitz 3+0, 3+2, 5+0 · rapid 10+0, 15+10, 25+10 · classical 30+0, 60+0, 90+30.\nTo change the list edit `PRESETS` in `src/clock.h` (keep it at 12 for the 3x4 grid).\n\nIdle power policy: the screen never dims or blanks during a game, running **or paused**. On the time\npicker, the ready screen and the game-over screen it dims after 60 s and blanks after 5 min; the first\ntouch only wakes it. (A game left paused for hours stays at full brightness: pause is a static picture,\nso if you forget one, resume or hit MENU.)\n\nNot included on purpose: sound (the board has an audio codec, but no speaker is known to be attached),\nBronstein/delay modes, different time per player, battery handling. A power cut loses the game in\nprogress; the chosen time control survives.\n\n## Accuracy\n\nTime comes from the chip's 64-bit microsecond timer (crystal-driven); each clock stores what it has left\nand the running one subtracts `now - turn start`, so there's no tick counting to drift. A test plays 200\nmoves with odd microsecond amounts and checks the result to the exact microsecond. Drawing a frame takes\n~65 ms, so touch is polled on its own task (every ~5 ms) and each tap is timestamped when the finger\nfirst lands, then handled in order by the main loop; real taps measured `late=5ms` even while the\ndisplay redrew 10x a second. A tap that arrives after time ran out cannot save the player.\n\n## Revert / erase (the board is yours to reuse)\n\n| Goal | Command |\n|---|---|\n| Back to another project in a sibling folder | `tools/board.sh ticker` (flashes `../esp32-positions-ticker` if present; edit the path in `board.sh` for your own) |\n| Blank the whole chip | `tools/board.sh erase` |\n| Blank-slate MicroPython for other experiments | `tools/board.sh flash-micropython` |\n| **Back to the original Waveshare factory firmware, byte for byte** | `tools/board.sh restore` |\n\n`backup/` is gitignored and **not in this repo**: make your own copy before the first flash (see Setup).\nA factory image may contain Wi-Fi credentials in its NVS partition, so never commit or share it. To remove\nthe toolchain too, delete `.platformio/`, `.pio/`, `.pio-venv/`, `.venv/` (or just the whole folder).\n\n## Driving it from the Mac (for testing)\n\nThe board listens on USB serial (115200): `STATE`, `TOUCH x y`, `LEFT player secs`, `CAL`, `DUMP`.\n`tools/ctl.py` wraps them so one run can tap, wait, read state and take a **screenshot** of exactly what\nthe frame buffer holds (`state` also reports `draw_ms`; `waitfile F` hands over to a human first):\n\n```\ntools/board.sh ctl \"touch 184 170; touch 184 100; wait 2; state; shot /tmp/running.png\"\ntools/board.sh ctl \"log 60\"        # print real taps the board sees: \"RAW rx,ry late=Nms\" then \"TAP x= y= phase=\"\ntools/board.sh ctl \"cal; log 120\"  # touch calibration screen (9 targets); prints raw vs mapped\n```\n\nOpening the serial port restarts the board, so one `ctl` run is one fresh session, and only one program\ncan hold the port: kill a running `ctl ... log` before flashing.\n\n## Gotchas learned the hard way\n\n- **The touch panel reports a window of the picture, not all of it.** The CST820's raw 0..367 x 0..447\n  covers screen x 33..329, y 31..397 and is clamped at the ends, so the outer 30-50 px read as the extreme\n  value. `main.cpp` maps raw to screen with a fitted scale and offset (`TOUCH_SCALE_*`, `TOUCH_OFF_*`,\n  from two runs of the `CAL` screen, ~9 px rms). Touch targets are therefore big; a precise button near\n  the very edge can't be resolved. Re-run `CAL` if you change panels.\n- **Never point esptool at a board running MicroPython** (USB PID `0x4001`): it wedges the REPL until you\n  replug. `board.sh` checks the USB PID first; `board.sh status` shows the mode.\n- Flash with a **watchdog reset** (`--after watchdog_reset`): a plain hard reset can fall back into\n  download mode. If all else fails: hold **BOOT**, tap **RESET**, release BOOT, re-run.\n- `platformio.ini` needs `board_upload.flash_size = 16MB` or the bootloader rejects the partition table.\n- Touch chip: only answers after the expander reset pulse and a *write* as its first access; reads need\n  a full I2C STOP (no repeated start).\n- `HEX` is an Arduino macro; don't name a variable that.\n\n## Layout\n\n```\nsrc/clock.h        game logic + time formatting (pure C++, unit-tested)\nsrc/main.cpp       display (seven-segment digits drawn as bars), touch, power policy, serial test hooks\ntests/test_clock.cpp  host tests (270 checks; mutation-checked: breaking increment/side/rounding fails them)\ntools/board.sh     build/flash/revert wrapper;  tools/ctl.py  serial test driver + screenshots\nlib/ src/fonts/    vendored Arduino_GFX 1.6.4 (CO5300 driver) and GFX fonts\n.platformio/       toolchain PlatformIO downloads on first build (gitignored)\n```\n\n## Third-party code\n\n- `lib/GFX_Library_for_Arduino/`: GFX Library for Arduino 1.6.4 (by moononournation, BSD licence, includes\n  Adafruit GFX code; see its `license.txt`), as shipped in Waveshare's V2 examples. It has the CO5300 driver.\n- `src/fonts/`: FreeSans bitmap fonts from the Adafruit GFX Library (derived from GNU FreeFont).\n",
    "tree_paths": [
      ".gitignore",
      "README.md",
      "lib",
      "lib/GFX_Library_for_Arduino",
      "lib/GFX_Library_for_Arduino/library.properties",
      "lib/GFX_Library_for_Arduino/license.txt",
      "lib/GFX_Library_for_Arduino/src",
      "lib/GFX_Library_for_Arduino/src/Arduino_DataBus.cpp",
      "lib/GFX_Library_for_Arduino/src/Arduino_DataBus.h",
      "lib/GFX_Library_for_Arduino/src/Arduino_G.cpp",
      "lib/GFX_Library_for_Arduino/src/Arduino_G.h",
      "lib/GFX_Library_for_Arduino/src/Arduino_GFX.cpp",
      "lib/GFX_Library_for_Arduino/src/Arduino_GFX.h",
      "lib/GFX_Library_for_Arduino/src/Arduino_GFX_Library.cpp",
      "lib/GFX_Library_for_Arduino/src/Arduino_GFX_Library.h",
      "lib/GFX_Library_for_Arduino/src/Arduino_OLED.cpp",
      "lib/GFX_Library_for_Arduino/src/Arduino_OLED.h",
      "lib/GFX_Library_for_Arduino/src/Arduino_TFT.cpp",
      "lib/GFX_Library_for_Arduino/src/Arduino_TFT.h",
      "lib/GFX_Library_for_Arduino/src/Arduino_TFT_18bit.cpp",
      "lib/GFX_Library_for_Arduino/src/Arduino_TFT_18bit.h",
      "lib/GFX_Library_for_Arduino/src/YCbCr2RGB.h",
      "lib/GFX_Library_for_Arduino/src/canvas",
      "lib/GFX_Library_for_Arduino/src/canvas/Arduino_Canvas.cpp",
      "lib/GFX_Library_for_Arduino/src/canvas/Arduino_Canvas.h",
      "lib/GFX_Library_for_Arduino/src/canvas/Arduino_Canvas_3bit.cpp",
      "lib/GFX_Library_for_Arduino/src/canvas/Arduino_Canvas_3bit.h",
      "lib/GFX_Library_for_Arduino/src/canvas/Arduino_Canvas_Indexed.cpp",
      "lib/GFX_Library_for_Arduino/src/canvas/Arduino_Canvas_Indexed.h",
      "lib/GFX_Library_for_Arduino/src/canvas/Arduino_Canvas_Mono.cpp",
      "lib/GFX_Library_for_Arduino/src/canvas/Arduino_Canvas_Mono.h",
      "lib/GFX_Library_for_Arduino/src/canvas/readme.md",
      "lib/GFX_Library_for_Arduino/src/databus",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_AVRPAR16.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_AVRPAR16.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_AVRPAR8.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_AVRPAR8.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_DUEPAR16.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_DUEPAR16.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32DSIPanel.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32DSIPanel.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32LCD16.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32LCD16.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32LCD8.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32LCD8.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32PAR16.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32PAR16.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32PAR16Q.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32PAR16Q.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32PAR16QQ.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32PAR16QQ.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32PAR8.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32PAR8.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32PAR8Q.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32PAR8Q.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32PAR8QQ.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32PAR8QQ.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32PAR8QQQ.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32PAR8QQQ.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32QSPI.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32QSPI.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32RGBPanel.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32RGBPanel.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32S2PAR16.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32S2PAR16.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32S2PAR16Q.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32S2PAR16Q.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32S2PAR8.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32S2PAR8.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32S2PAR8Q.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32S2PAR8Q.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32SPI.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32SPI.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32SPIDMA.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP32SPIDMA.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP8266SPI.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_ESP8266SPI.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_HWSPI.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_HWSPI.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_NRFXSPI.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_NRFXSPI.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_RPiPicoPAR16.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_RPiPicoPAR16.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_RPiPicoPAR8.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_RPiPicoPAR8.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_RPiPicoSPI.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_RPiPicoSPI.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_RTLPAR8.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_RTLPAR8.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_STM32PAR8.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_STM32PAR8.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_SWPAR16.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_SWPAR16.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_SWPAR8.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_SWPAR8.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_SWSPI.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_SWSPI.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_UNOPAR8.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_UNOPAR8.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_Wire.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_Wire.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_XCA9554SWSPI.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_XCA9554SWSPI.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_XL9535SWSPI.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_XL9535SWSPI.h",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_mbedSPI.cpp",
      "lib/GFX_Library_for_Arduino/src/databus/Arduino_mbedSPI.h",
      "lib/GFX_Library_for_Arduino/src/display",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_AXS15231B.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_AXS15231B.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_CO5300.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_CO5300.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_DSI_Display.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_DSI_Display.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_GC9106.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_GC9106.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_GC9107.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_GC9107.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_GC9A01.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_GC9A01.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_GC9C01.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_GC9C01.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_GC9D01.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_GC9D01.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_HX8347C.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_HX8347C.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_HX8347D.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_HX8347D.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_HX8352C.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_HX8352C.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_HX8357A.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_HX8357A.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_HX8357B.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_HX8357B.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_HX8369A.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_HX8369A.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9225.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9225.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9331.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9331.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9341.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9341.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9342.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9342.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9481_18bit.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9481_18bit.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9486.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9486.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9486_18bit.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9486_18bit.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9488.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9488.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9488_18bit.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9488_18bit.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9488_3bit.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9488_3bit.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9806.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_ILI9806.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_JBT6K71.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_JBT6K71.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_JD9613.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_JD9613.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_NT35310.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_NT35310.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_NT35510.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_NT35510.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_NT39125.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_NT39125.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_NV3007.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_NV3007.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_NV3023.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_NV3023.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_NV3041A.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_NV3041A.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_OTM8009A.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_OTM8009A.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_R61529.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_R61529.h",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_RGB_Display.cpp",
      "lib/GFX_Library_for_Arduino/src/display/Arduino_RGB_Display.h"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/alimuqeem/esp32-chess-timer/commit/c42ef447f8fcb956e920c3cbd012e98e6ebefdfa"
    ]
  },
  {
    "full_name": "slowikowskiarkadiusz/catan-noter",
    "id": 1403554237,
    "description": null,
    "homepage": "https://slowikowskiarkadiusz.github.io/catan-noter/",
    "created_at": "2026-10-03T19:10:06Z",
    "pushed_at": "2026-10-04T12:33:29Z",
    "default_branch": "main",
    "language": "HTML",
    "topics": [],
    "repo": "slowikowskiarkadiusz/catan-noter",
    "readme": "",
    "tree_paths": [
      ".github",
      ".github/workflows",
      ".github/workflows/pages.yml",
      "COSMOS.md",
      "cosmos-config.js",
      "cosmos.js",
      "index.html",
      "no-db",
      "no-db/index.html"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/slowikowskiarkadiusz/catan-noter/commit/169cee2e24a8dbaf54a18ef2d91fdc82b0ca4b40",
      "https://github.com/slowikowskiarkadiusz/catan-noter/commit/68b5c3d08629c9e9fe6a97c241a956f9586572d9"
    ]
  },
  {
    "full_name": "fidgetrope/chess-ai",
    "id": 1404307113,
    "description": "3D chess against the computer (no online play) — vs AI version",
    "homepage": null,
    "created_at": "2026-10-04T11:31:27Z",
    "pushed_at": "2026-10-04T11:31:34Z",
    "default_branch": "main",
    "language": "TypeScript",
    "topics": [],
    "repo": "fidgetrope/chess-ai",
    "readme": "# Chess vs AI (3D Chess, computer opponent only)\n\nA browser-based chess game with a 3D perspective board and an AI opponent with selectable difficulty levels.\n\n## Features\n\n- Full chess rules via [chess.js](https://github.com/jhlywa/chess.js) — castling (with correct loss of rights), en passant, promotion with an under-promotion picker, check / checkmate / stalemate, threefold repetition, the fifty-move rule, and insufficient-material draws\n- AI opponent with three difficulty levels:\n  - **Easy** — depth-2 alpha-beta search, plays a visible blunder about a third of the time\n  - **Medium** — depth-3 alpha-beta search\n  - **Hard** — iterative deepening within a ~2-second time budget, so it stays responsive on any machine\n  - All three use material + piece-square-table evaluation and run in a Web Worker, off the main thread\n- Two board views, toggled from the HUD and remembered between sessions:\n  - **3D** — Three.js, turned (lathe) piece geometry for a Staunton-style set in ivory and walnut (the bishop's mitre slit is a real boolean cut via `three-bvh-csg`), a cosy study backdrop, orbit/zoom controls, and move / capture / castling / promotion animations\n  - **2D** — a flat top-down board in the BBC \"Master Game\" style: lavender squares, Unicode Staunton glyphs, coordinate labels\n- Minimal HUD that keeps the board clear: a turn pill and a compact captured-piece strip, with move history (SAN) and difficulty / restart tucked behind the \"Moves\" and ⚙ buttons; plus check banner and undo\n- Continuous play — the in-progress game is saved to the browser's local storage after every move, so closing the tab and coming back later resumes the exact position\n\n## Tech stack\n\n- [TypeScript](https://www.typescriptlang.org/)\n- [Vite](https://vite.dev/) — dev server and build tool\n- [Three.js](https://threejs.org/) — 3D rendering\n- [chess.js](https://github.com/jhlywa/chess.js) — rules engine (BSD 2-Clause)\n- [Vitest](https://vitest.dev/) — unit tests for the rules wrapper and AI\n\nNo backend — it's a fully static, client-side app.\n\n## Running locally\n\nRequires [Node.js](https://nodejs.org/) (LTS).\n\n```bash\nnpm install\nnpm run dev\n```\n\nThen open the printed `http://localhost:5173` link in your browser.\n\n## Other commands\n\n```bash\nnpm run test        # run the unit test suite (Vitest)\nnpm run typecheck   # type-check without emitting\nnpm run build       # production build -> dist/\nnpm run preview     # preview the production build locally\n```\n\n## Project structure\n\n```\nsrc/\n  core/        chess.js wrapper + localStorage persistence: game state, moves, check/mate/draw detection\n  ai/          minimax + alpha-beta, evaluation, difficulty presets, Web Worker entry point\n  render/      Three.js scene, board/piece meshes (lathe profiles + knight), picking, highlights, animation\n  ui/          plain HTML/CSS overlay (difficulty select, move list, captured tray, promotion picker, banners)\n  controller/  wires core + ai + render + ui together\ntests/         Vitest unit tests (rules wrapper, AI move legality, mate-in-1, evaluation)\n```\n\n## Deployment\n\nHosted on **GitHub Pages** at https://fidgetrope.github.io/chess-ai/ . The\n[`Deploy to GitHub Pages`](.github/workflows/deploy.yml) workflow runs on every push to `main`: it runs the\ntest suite, builds with Vite, and publishes `dist/`. `vite.config.ts` sets `base: '/chess-ai/'` so asset URLs\nresolve under the project-pages path.\n\nTo update: commit and `git push` — the workflow redeploys automatically.\n\n## Licensing\n\nPieces and board are built from code, so there is no piece-art attribution to track. chess.js is BSD 2-Clause —\nits copyright notice stays in `node_modules`; no other obligation.\n",
    "tree_paths": [
      ".claude",
      ".claude/launch.json",
      ".github",
      ".github/workflows",
      ".github/workflows/deploy.yml",
      ".gitignore",
      "PROJECT_BRIEF.md",
      "README.md",
      "index.html",
      "package-lock.json",
      "package.json",
      "public",
      "public/favicon.svg",
      "src",
      "src/ai",
      "src/ai/coach.ts",
      "src/ai/coachWorker.ts",
      "src/ai/difficulty.ts",
      "src/ai/evalWords.ts",
      "src/ai/evaluate.ts",
      "src/ai/minimax.ts",
      "src/ai/moveReason.ts",
      "src/ai/worker.ts",
      "src/controller",
      "src/controller/gameController.ts",
      "src/core",
      "src/core/game.ts",
      "src/core/persistence.ts",
      "src/core/types.ts",
      "src/main.ts",
      "src/render",
      "src/render/animation.ts",
      "src/render/board2d.ts",
      "src/render/boardMesh.ts",
      "src/render/coords.ts",
      "src/render/environment.ts",
      "src/render/highlight.ts",
      "src/render/picking.ts",
      "src/render/pieceMesh.ts",
      "src/render/scene.ts",
      "src/style.css",
      "src/ui",
      "src/ui/ui.ts",
      "tests",
      "tests/ai.test.ts",
      "tests/coach.test.ts",
      "tests/game.test.ts",
      "tests/moveRules.test.ts",
      "tsconfig.json",
      "vite.config.ts"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/fidgetrope/chess-ai/commit/7322d2fe163c2ed88c7432e5fa35959086c2a22b"
    ]
  },
  {
    "full_name": "Lynder063/rac-deadlocked-decomp",
    "id": 1404277274,
    "description": null,
    "homepage": null,
    "created_at": "2026-10-04T11:08:11Z",
    "pushed_at": "2026-10-04T12:09:33Z",
    "default_branch": "main",
    "language": "C",
    "topics": [],
    "repo": "Lynder063/rac-deadlocked-decomp",
    "readme": "# Ratchet: Deadlocked Decompilation\n\n[![Progress report](https://github.com/Lynder063/rac-deadlocked-decomp/actions/workflows/progress.yml/badge.svg)](https://github.com/Lynder063/rac-deadlocked-decomp/actions/workflows/progress.yml)\n[![Code](https://decomp.dev/Lynder063/rac-deadlocked-decomp.svg?mode=shield&label=Code&measure=matched_code_percent)](https://decomp.dev/Lynder063/rac-deadlocked-decomp)\n[![Functions](https://decomp.dev/Lynder063/rac-deadlocked-decomp.svg?mode=shield&label=Functions&measure=matched_functions)](https://decomp.dev/Lynder063/rac-deadlocked-decomp)\n\nA work-in-progress **matching decompilation** of *Ratchet: Deadlocked*\n(*Ratchet: Gladiator* in PAL regions; Insomniac Games, 2005), NTSC-U version for the\nPlayStation 2. The goal is C/C++ source that, built with the original\ntoolchain, produces a byte-identical copy of the retail executable.\n\nThe project runs in two phases:\n\n1. **Match.** Write source that compiles to exactly the retail machine code.\n   This is what proves a function has been understood: the compiler judges\n   the result, not a read-through.\n2. **Make it readable.** Refactor matched code toward idiomatic C++ with real\n   names, types and structure. The matching build acts as the regression test\n   for every cleanup.\n\n> **Status: just started.** The build pipeline exists and a first handful of\n> functions match. A Sep 2005\n> NTSC-U prototype with full symbols has been found (see the research doc). Nothing is\n> decompiled yet and the progress numbers are zero. Start with\n> [`docs/RESEARCH.md`](docs/RESEARCH.md).\n\n## Progress\n\nProgress is tracked on [decomp.dev](https://decomp.dev/Lynder063/rac-deadlocked-decomp)\n(once the repository is registered there).\n\n| Version | Region | Game ID | Code | Functions |\n|---|---|---|---|---|\n| v1.00 | NTSC-U (`VER = 1.00`) | `SCUS_974.65` | [![](https://decomp.dev/Lynder063/rac-deadlocked-decomp.svg?mode=shield&label=Code&measure=matched_code_percent)](https://decomp.dev/Lynder063/rac-deadlocked-decomp) | [![](https://decomp.dev/Lynder063/rac-deadlocked-decomp.svg?mode=shield&label=Functions&measure=matched_functions)](https://decomp.dev/Lynder063/rac-deadlocked-decomp) |\n\nOnly NTSC-U is targeted. PAL (*Ratchet: Gladiator*) may follow as a second\nversion if someone with a PAL disc joins.\n\n| Category | Progress | Contents |\n|---|---|---|\n| Game | [![](https://decomp.dev/Lynder063/rac-deadlocked-decomp.svg?mode=shield&category=game&label=Game&measure=matched_code_percent)](https://decomp.dev/Lynder063/rac-deadlocked-decomp/SCUS_974.65?category=game) | All decompiled game code |\n| Core | [![](https://decomp.dev/Lynder063/rac-deadlocked-decomp.svg?mode=shield&category=core&label=Core&measure=matched_code_percent)](https://decomp.dev/Lynder063/rac-deadlocked-decomp/SCUS_974.65?category=core) | Engine and SDK code that stays resident (`core.text`) |\n| Network | [![](https://decomp.dev/Lynder063/rac-deadlocked-decomp.svg?mode=shield&category=net&label=Network&measure=matched_code_percent)](https://decomp.dev/Lynder063/rac-deadlocked-decomp/SCUS_974.65?category=net) | Network code (`net.text`) |\n| libgcc | [![](https://decomp.dev/Lynder063/rac-deadlocked-decomp.svg?mode=shield&category=libgcc&label=libgcc&measure=matched_code_percent)](https://decomp.dev/Lynder063/rac-deadlocked-decomp/SCUS_974.65?category=libgcc) | GCC runtime library rebuilt from GCC's own source (`src/libgcc/`) |\n| Level code | [![](https://decomp.dev/Lynder063/rac-deadlocked-decomp.svg?mode=shield&category=level&label=Level%20code&measure=matched_code_percent)](https://decomp.dev/Lynder063/rac-deadlocked-decomp/SCUS_974.65?category=level) | Level code (`.text`, overwritten per level) |\n\nA function counts as matched when its compiled code equals retail with\nrelocatable fields masked (`tools/audit_matches.py`); this is not yet a\nlink-time comparison.\n\n## Disclaimer\n\nThis repository contains **no game assets, executable, or disassembly**. To\nbuild it you need your own legally obtained copy of the game. Read\n[`LEGAL.md`](LEGAL.md) before contributing.\n\n## Building\n\nNot possible yet: the compiler has not been identified and the splat\nconfiguration does not exist. The plan follows\n[rac1-decomp](https://github.com/Lynder063/rac1-decomp): SN Systems ProDG\n`ee-gcc` (32-bit Windows programs, run natively or through Wine in a\ncontainer), `splat` for the disassembly, `objdiff`-format reports for\ndecomp.dev.\n\n### 1. Add your executable\n\nCopy the main executable from your disc to `baserom/` (it is ignored by git).\nFrom a disc image, `7z e game.iso SCUS_974.65 -obaserom` extracts it. The\nexpected SHA-1 is:\n\n```\naa91b1c3b9b1a244320c47580b77342ef9856e95\n```\n\n### 2. Generate the disassembly\n\n```\nbash tools/setup_asm.sh\n```\n\nThe retail executable is only a loader with a compressed game image\n(`docs/RESEARCH.md`). The script checks the SHA-1, unpacks the image\n(`tools/unpack_wad.py`), rebuilds an ELF from its sections\n(`tools/split_image.py`) and runs [splat](https://github.com/ethteck/splat)\nwith `config/splat.yaml` into `asm/` (not tracked in git). It creates a\n`venv/` with the pinned versions from `requirements.txt` on first use.\n\n### 3. Get the toolchain\n\nThe compilers are third-party mirrors of commercial software and are not part\nof this repository. The current best candidate is **SN GCC 2.95.3 v1.36**\n(`ee-gcc2953.exe`), found in the ProDG 3.01 mirror:\n\n```\ngit clone https://github.com/AngheloAlf/SN-Systems-ProDG_for_PS2_3.01 toolchain/sn-prodg-3.01\ngit clone https://github.com/AngheloAlf/sce_ps2_sdk_24 toolchain/sn-prodg-24\n```\n\nOn Linux and macOS the 32-bit Windows programs run through Wine in a\ncontainer: `bash tools/docker/run.sh <command>`. See\n[`docs/RESEARCH.md`](docs/RESEARCH.md) (\"Compiler search\") for how the\ncompiler was identified and what is still open. \n### 4. Build and check\n\n```\nbash tools/docker/run.sh bash tools/build.sh      # compiles src/ with SN GCC 2.95.3 v1.36\nbash tools/docker/run.sh bash tools/build_libgcc.sh   # libgcc with Sony's 2.9-ee\nvenv/bin/python tools/audit_matches.py            # compares each function with retail\npython tools/gen_progress_report.py               # progress/report.json for decomp.dev\n```\n\nThere is no linked image yet, so matching is checked function by function.\n\n## Project structure\n\n| Path | Contents |\n|---|---|\n| `src/core/` | Engine and SDK code, named by start address until the real source file is known |\n| `src/game/` | Game code, one file per original source file where known |\n| `src/libgcc/` | GCC's `libgcc2.c` and `fp-bit.c` (GPL with the libgcc exception), see its README |\n| `include/` | Shared headers, recovered structs, assembly macros |\n| `config/` | splat configuration, symbol maps, link order (to be added) |\n| `tools/` | Build, audit and progress-report scripts; `unpack_wad.py` and `split_image.py` turn the retail executable into an ELF |\n| `tools/docker/` | Build container (to be added) |\n| `docs/` | Research, workflow and toolchain notes |\n| `notes/` | Working notes and investigations |\n| `baserom/` | Your own executable, not tracked |\n| `asm/` | Locally generated disassembly, not tracked |\n| `progress/report.json` | objdiff-format progress report read by decomp.dev |\n\n### decomp.dev\n\n[`.github/workflows/progress.yml`](.github/workflows/progress.yml) validates\n`progress/report.json` and uploads it as the artifact `SCUS_974.65_report`.\nRegister the repository once at <https://decomp.dev/manage/new>. The report\nis generated locally by `python tools/gen_progress_report.py` and committed\nwith each change, because CI cannot build the game.\n\n## Resources\n\n- [decomp.wiki](https://decomp.wiki): matching-decompilation knowledge base\n- [decomp.dev](https://decomp.dev): progress tracking\n- [OpenRAC](https://github.com/OpenRAC/OpenRAC): umbrella for the PS2 Ratchet & Clank decomps\n- [rac1-decomp](https://github.com/Lynder063/rac1-decomp): the first game; this repo's structure and workflow come from it\n- [ratchet-uya-decomp](https://github.com/vetusmagnus/ratchet-uya-decomp): Up Your Arsenal, the closest engine relative\n- [splat](https://github.com/ethteck/splat),\n  [spimdisasm](https://github.com/Decompollaborate/spimdisasm),\n  [m2c](https://github.com/matt-kempster/m2c),\n  [asm-differ](https://github.com/simonlindholm/asm-differ),\n  [objdiff](https://github.com/encounter/objdiff)\n\n## Credits\n\nFull list with what each was used for: [`docs/CREDITS.md`](docs/CREDITS.md).\n\n- **GFI (Game Fuckery Inc.)**: Special thanks to the GFI Discord server for the years of time spent researching and exploring these games, which helped make this decompilation possible.\n- [rac1-decomp](https://github.com/Lynder063/rac1-decomp): project layout, workflow and toolchain research.\n- [OpenRAC](https://github.com/OpenRAC/OpenRAC) and [ratchet-uya-decomp](https://github.com/vetusmagnus/ratchet-uya-decomp): sibling decompilations of the same engine family.\n- [Hidden Palace](https://hiddenpalace.org), [The Cutting Room Floor](https://tcrf.net) and the Internet Archive: preservat",
    "tree_paths": [
      ".dockerignore",
      ".github",
      ".github/workflows",
      ".github/workflows/progress.yml",
      ".gitignore",
      ".recomp.json",
      "CONTRIBUTING.md",
      "LEGAL.md",
      "LICENSE",
      "README.md",
      "THIRD_PARTY_NOTICES.md",
      "config",
      "config/.gitkeep",
      "config/functions.tsv",
      "config/libgcc.tsv",
      "config/sections.txt",
      "config/splat.yaml",
      "config/symbol_addrs.txt",
      "diff_settings.py",
      "docs",
      "docs/CREDITS.md",
      "docs/RESEARCH.md",
      "include",
      "include/.gitkeep",
      "include/common.h",
      "include/include_asm.h",
      "include/labels.inc",
      "include/macro.inc",
      "notes",
      "notes/.gitkeep",
      "progress",
      "progress/report.json",
      "requirements.txt",
      "src",
      "src/core",
      "src/core/.gitkeep",
      "src/core/0011C950.c",
      "src/core/00139A58.c",
      "src/core/0015D1A0.c",
      "src/core/00163960.c",
      "src/game",
      "src/game/.gitkeep",
      "src/libgcc",
      "src/libgcc/.gitkeep",
      "src/libgcc/README.md",
      "src/libgcc/fp-bit.c",
      "src/libgcc/gbl-ctors.h",
      "src/libgcc/include",
      "src/libgcc/include/defaults.h",
      "src/libgcc/include/limits.h",
      "src/libgcc/include/machmode.h",
      "src/libgcc/include/stddef.h",
      "src/libgcc/include/stdlib.h",
      "src/libgcc/include/tconfig.h",
      "src/libgcc/include/unistd.h",
      "src/libgcc/libgcc2.c",
      "src/libgcc/longlong.h",
      "tools",
      "tools/audit_matches.py",
      "tools/build.sh",
      "tools/build_libgcc.sh",
      "tools/compare_variants.py",
      "tools/compile_variants.sh",
      "tools/docker",
      "tools/docker/.gitkeep",
      "tools/docker/run.sh",
      "tools/find_functions.py",
      "tools/gen_function_list.py",
      "tools/gen_progress_report.py",
      "tools/locate_prototype.py",
      "tools/map_libgcc.py",
      "tools/map_source_files.py",
      "tools/match_prototype.py",
      "tools/setup_asm.sh",
      "tools/split_image.py",
      "tools/unpack_wad.py"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/Lynder063/rac-deadlocked-decomp/commit/0f5d80201a07740d78abc9b8e30070a8265e9b7e",
      "https://github.com/Lynder063/rac-deadlocked-decomp/commit/867310c2f8419c7a65de1d8b2d646ff3d7ebbfe1"
    ]
  },
  {
    "full_name": "scootsmagoo/skyrome",
    "id": 1403360873,
    "description": null,
    "homepage": null,
    "created_at": "2026-10-03T15:44:27Z",
    "pushed_at": "2026-10-04T11:45:29Z",
    "default_branch": "main",
    "language": "TypeScript",
    "topics": [],
    "repo": "scootsmagoo/skyrome",
    "readme": "# Skyrome\n\n**An open-world RPG set in Rome in May of AD 113, at the height of the empire under Trajan. It runs in your browser.**\n\nIt's built in the spirit of *Skyrim* and *Oblivion*: a city you can walk anywhere in, historical places you can visit, period quests, factions, street fights, gladiators and bosses. The fantasy is turned way down. There are no dragons or fireballs. The \"supernatural\" is limited to what a Roman would have believed: omens, curse tablets, mystery cults, and the ghost nights of the Lemuria. Nothing is ever clearly real.\n\nThe game opens at dawn on 11 May 113 at the Porta Capena. Trajan's Forum and Column have just been dedicated. The Pantheon is a construction site after the fire of 110. The emperor is preparing to leave for the Parthian war. You arrive with the last night cart, a courier is knifed beside you, and you're left holding his sealed tablet.\n\n![The architecture gallery: triumphal arches, the Column, a temple, the amphitheatre arcade, a domed hall and the classical orders](docs/images/architecture.jpg)\n\n> **Status: pre-alpha.** You can start a game and walk around Rome, but there's no story to play through yet.\n>\n> **Working now:**\n> - The boot flow: pick mouse, trackpad or keyboard; the title over the city; character creation; then you start at the Porta Capena before dawn on 11 May AD 113.\n> - The terrain of the hills and valleys, and the Tiber as real water you can swim in.\n> - The river district, fully built: the Forum Boarium, the Temples of Portunus and Hercules Victor, Tiber Island, the Theatre of Marcellus and every Tiber bridge.\n> - The HUD: discovery banners, a Skyrim-style compass, quicksave.\n>\n> **In progress:** the landmarks of the Forum, the Imperial Fora, Trajan's Forum and Column, the Colosseum valley, the Palatine and Circus Maximus, and the Campus Martius (still placeholder blocks for now); the city fabric between them; combat; NPC crowds; the first quests.\n>\n> [Where things stand](#where-things-stand) has the full list.\n\n## Screenshots\n\n| | |\n|---|---|\n| ![Citizens, soldiers, a Vestal and gladiators, all procedurally generated](docs/images/avatars.jpg) | ![A Roman street of insulae, shops and market stalls](docs/images/street.jpg) |\n| *Procedural Romans: togas, stolas, legionaries, a Vestal, gladiator kits* | *City fabric: insulae, tabernae, stalls, umbrella pines* |\n| ![Title screen](docs/images/title.jpg) | ![The in-game map of Rome](docs/images/map.jpg) |\n| *Title screen* | *The map, drawn from the historical atlas* |\n| ![The Forum Boarium with the Temple of Portunus and the round Temple of Hercules Victor](docs/images/forum-boarium.jpg) | ![Choosing mouse, trackpad or keyboard-only controls](docs/images/controls.jpg) |\n| *Walking into the Forum Boarium: discovery banner, compass, health bar* | *First launch: pick how you play (the trackpad preset is built for MacBooks)* |\n\n## Try it locally\n\nYou need Node 22 or newer.\n\n```bash\nnpm install\nnpm run dev\n```\n\nThen open one of these scenes. Click into the game to look around and press Esc to release the mouse.\n\n| Scene | URL | What it shows |\n|---|---|---|\n| The game | http://127.0.0.1:5173/ | Title over the city, character creation, and the start at the Porta Capena before dawn on 11 May AD 113. `&quick=1` skips the menus |\n| The river district | http://127.0.0.1:5173/?scene=rome&at=temple-portunus | Drops you straight into Rome with no menus. The Forum Boarium, Tiber Island and the Theatre of Marcellus are fully built. `at=` takes any of the atlas's 208 landmark ids (e.g. `temple-aesculapius`, `theatre-marcellus`, `circus-maximus`, `column-trajan`, `pantheon`), but most landmarks outside the river district are still placeholder blocks |\n| Characters | http://127.0.0.1:5173/?scene=avatars | Procedural Romans and gladiators with code-authored animation. You're a legionary: R draws your sword, F attacks, Q blocks |\n| Architecture | http://127.0.0.1:5173/?scene=arch | The classical kit: orders, temples, arches, the amphitheatre arcade, the Column, domes, statues |\n| Street | http://127.0.0.1:5173/?scene=fabric | A neighbourhood of insulae, shops, stalls, fountains and trees |\n| Sky | http://127.0.0.1:5173/?scene=sky&timelapse=1 | A physically based sky and the sun and moon for AD 113 (try `&hour=23`, `&weather=rain`) |\n| Interface | http://127.0.0.1:5173/?scene=ui&open=title | HUD and menus filled with sample data (`open=map`, `inventory`, `journal`, `dialogue`…) |\n| Sound | http://127.0.0.1:5173/?scene=audio | Procedural sound effects, ambience, and generative music in the ancient modes |\n| Landmark viewer | http://127.0.0.1:5173/?scene=landmark&id=colosseum&cam=aerial | One landmark on the real terrain, with framed camera views |\n\nAdd `&debug` to any URL to show fps, draw calls and position.\n\n### Controls\n\nThe game is designed to be fully playable on a Mac trackpad, so every mouse action also has a key.\n\n| Action | Keys |\n|---|---|\n| Move · sprint · jump | W A S D · Shift · Space |\n| Look | Trackpad or mouse (click to capture) · arrow keys |\n| First / third person | V (or scroll the third-person camera all the way in) |\n| Attack (hold for a power attack) · block | F or left click · Q or right click |\n| Draw or sheathe a weapon · interact · sneak | R · E · C |\n| Menus | Tab · I inventory · J journal · M map · K skills · Esc pause |\n| Walk · wait · swap camera shoulder | N · T · H |\n| Quicksave · quickload | P or F5 · L or F9 |\n| Check your trackpad and keys | `?scene=inputlab` |\n\n## How it's made\n\n- **Everything is procedural.** There are no artists and no 3D model files. Buildings, characters, animations, the sky, sound effects and music are all generated in TypeScript. The only third-party assets are CC0 stone, brick and ground textures and two OFL fonts (see [Credits](#credits)).\n- **History comes first.** The world comes from a historical atlas of Rome c. AD 113 ([`src/data/atlas.ts`](src/data/atlas.ts), with notes in [`docs/ATLAS.md`](docs/ATLAS.md)). It holds 208 landmarks, the hills, the Tiber, roads, the Servian wall, aqueducts, and the 14 Augustan regions, in real meters and cross-checked against the coordinates of surviving ruins. The game renders it at 0.6 scale so the city stays walkable, while people, doors and steps stay life-size. Anything built after 113 is kept out on purpose: no Arch of Constantine, no Temple of Venus and Roma, no Aurelian Walls.\n- **It's built by AI agents.** The project is developed by Claude (Anthropic) agents working in parallel git worktrees. Each module is built, reviewed by a separate critic agent, and fixed before it's merged. A headless browser renders on the real GPU, so every visual change is checked with screenshots ([`scripts/shot.mjs`](scripts/shot.mjs)).\n\n### Tech\n\n| | |\n|---|---|\n| Language and build | TypeScript, [Vite](https://vite.dev) |\n| Rendering | [three.js](https://threejs.org) r186 (`WebGLRenderer`), custom sky, fog, terrain and water shaders |\n| Physics | [Rapier](https://rapier.rs) 0.21 (WASM): kinematic character controller, heightfield terrain |\n| UI | DOM overlay (HTML and CSS), Cinzel and EB Garamond fonts |\n| Audio | Web Audio API: synthesized effects and generative music |\n| Tests | [Vitest](https://vitest.dev) (750+ tests) and Playwright (headless GPU screenshots in Chromium and WebKit) |\n| Targets | Desktop Chrome and Safari on Apple-silicon Macs first, at 60 fps |\n\nWhy the browser and not Unreal or Bethesda's Creation Engine? Creation isn't licensable outside Skyrim mods. Unreal is editor-driven and built around binary assets, which AI agents can't easily work on. The browser lets agents build and test everything as code and lets anyone play from a link. The game data and rules are plain TypeScript and could be ported later. [`docs/research/tech.md`](docs/research/tech.md) has the full comparison.\n\n### Repository layout\n\n```\nsrc/\n  core/        game loop, input, physics wrapper, events, Roman calendar clock, settings\n  player/      player controller, first/third-person camera\n  actors/      actors, procedural humanoid avatars and animation, equipment\n  arch/        procedural architecture: classical kit, city fabric, props, vegetation\n  gfx/         materials and textures, MeshBuilder, post-processing\n  world/       atlas → terrain, landmarks, city, water, sky and lighting, Rome assembly\n  rpg/         stats, skills and perks, items, inventory, factions, crime, barter, combat math\n  quests/ dialogue/ npc/ save/   engines and content\n  ui/          HUD, menus, dialogue, map, title and loading screens\n  audio/       Web Audio engine, procedural sound effects, ambience, music\n  scenes/      rome (the game) and the dev test beds\n  data/        atlas.ts: Rome c. AD 113\ndocs/          GDD, atlas, architecture, module docs, research, credits\nscripts/       headless screenshot driver, atlas renderer\n```\n\n## Where things stand\n\n| Area | Status |\n|---|---|\n| Engine: loop, input, physics, first/third-person camera | ✅ Done |\n| Historical atlas, game design document, con",
    "tree_paths": [
      ".gitignore",
      "CLAUDE.md",
      "LICENSE",
      "README.md",
      "docs",
      "docs/ARCHITECTURE.md",
      "docs/ATLAS.md",
      "docs/CONTENT.md",
      "docs/GDD.md",
      "docs/atlas.svg",
      "docs/credits",
      "docs/credits/audio.md",
      "docs/credits/classical.md",
      "docs/credits/fabric.md",
      "docs/credits/sky.md",
      "docs/credits/ui.md",
      "docs/images",
      "docs/images/architecture.jpg",
      "docs/images/avatars.jpg",
      "docs/images/controls.jpg",
      "docs/images/forum-boarium.jpg",
      "docs/images/map.jpg",
      "docs/images/sky.jpg",
      "docs/images/street.jpg",
      "docs/images/title.jpg",
      "docs/modules",
      "docs/modules/audio.md",
      "docs/modules/avatar.md",
      "docs/modules/city.md",
      "docs/modules/classical.md",
      "docs/modules/colosseum-valley.md",
      "docs/modules/combat.md",
      "docs/modules/content.md",
      "docs/modules/fabric.md",
      "docs/modules/flow.md",
      "docs/modules/forum.md",
      "docs/modules/landmarks.md",
      "docs/modules/npc.md",
      "docs/modules/river.md",
      "docs/modules/rpg.md",
      "docs/modules/sky.md",
      "docs/modules/terrain.md",
      "docs/modules/trajan.md",
      "docs/modules/ui.md",
      "docs/research",
      "docs/research/architecture.md",
      "docs/research/assets-3d-characters-props.md",
      "docs/research/assets-3d-plan.md",
      "docs/research/assets-3d-sculpture.md",
      "docs/research/assets.md",
      "docs/research/game-design.md",
      "docs/research/society.md",
      "docs/research/tech.md",
      "docs/research/topography-landmarks.md",
      "docs/research/topography-terrain.md",
      "index.html",
      "package-lock.json",
      "package.json",
      "public",
      "public/fonts",
      "public/fonts/OFL-Cinzel.txt",
      "public/fonts/OFL-EBGaramond.txt",
      "public/fonts/cinzel-latin-ext-wght-normal.woff2",
      "public/fonts/cinzel-latin-wght-normal.woff2",
      "public/fonts/eb-garamond-latin-ext-wght-italic.woff2",
      "public/fonts/eb-garamond-latin-ext-wght-normal.woff2",
      "public/fonts/eb-garamond-latin-wght-italic.woff2",
      "public/fonts/eb-garamond-latin-wght-normal.woff2",
      "public/textures",
      "public/textures/bark",
      "public/textures/bark/arm.jpg",
      "public/textures/bark/color.jpg",
      "public/textures/bark/normal.jpg",
      "public/textures/basalt",
      "public/textures/basalt/arm.jpg",
      "public/textures/basalt/color.jpg",
      "public/textures/basalt/normal.jpg",
      "public/textures/brick",
      "public/textures/brick/arm.jpg",
      "public/textures/brick/color.jpg",
      "public/textures/brick/normal.jpg",
      "public/textures/cobbles",
      "public/textures/cobbles/arm.jpg",
      "public/textures/cobbles/color.jpg",
      "public/textures/cobbles/normal.jpg",
      "public/textures/concrete",
      "public/textures/concrete/arm.jpg",
      "public/textures/concrete/color.jpg",
      "public/textures/concrete/normal.jpg",
      "public/textures/dirt",
      "public/textures/dirt/arm.jpg",
      "public/textures/dirt/color.jpg",
      "public/textures/dirt/normal.jpg",
      "public/textures/dry_grass",
      "public/textures/dry_grass/arm.jpg",
      "public/textures/dry_grass/color.jpg",
      "public/textures/dry_grass/normal.jpg",
      "public/textures/fonts",
      "public/textures/fonts/Cinzel-OFL.txt",
      "public/textures/fonts/Cinzel-latin.woff2",
      "public/textures/grass",
      "public/textures/grass/arm.jpg",
      "public/textures/grass/color.jpg",
      "public/textures/grass/normal.jpg",
      "public/textures/gravel",
      "public/textures/gravel/arm.jpg",
      "public/textures/gravel/color.jpg",
      "public/textures/gravel/normal.jpg",
      "public/textures/marble",
      "public/textures/marble/arm.jpg",
      "public/textures/marble/color.jpg",
      "public/textures/marble/normal.jpg",
      "public/textures/marble_veined",
      "public/textures/marble_veined/arm.jpg",
      "public/textures/marble_veined/color.jpg",
      "public/textures/marble_veined/normal.jpg",
      "public/textures/mud",
      "public/textures/mud/arm.jpg",
      "public/textures/mud/color.jpg",
      "public/textures/mud/normal.jpg",
      "public/textures/paving_basalt",
      "public/textures/paving_basalt/arm.jpg",
      "public/textures/paving_basalt/color.jpg",
      "public/textures/paving_basalt/normal.jpg",
      "public/textures/paving_travertine",
      "public/textures/paving_travertine/arm.jpg",
      "public/textures/paving_travertine/color.jpg",
      "public/textures/paving_travertine/normal.jpg",
      "public/textures/peperino",
      "public/textures/peperino/arm.jpg",
      "public/textures/peperino/color.jpg",
      "public/textures/peperino/normal.jpg",
      "public/textures/plaster",
      "public/textures/plaster/arm.jpg",
      "public/textures/plaster/color.jpg",
      "public/textures/plaster/normal.jpg",
      "public/textures/rock",
      "public/textures/rock/arm.jpg",
      "public/textures/rock/color.jpg",
      "public/textures/rock/normal.jpg",
      "public/textures/roof_tile",
      "public/textures/roof_tile/arm.jpg",
      "public/textures/roof_tile/color.jpg",
      "public/textures/roof_tile/normal.jpg",
      "public/textures/sand",
      "public/textures/sand/arm.jpg",
      "public/textures/sand/color.jpg",
      "public/textures/sand/normal.jpg",
      "public/textures/tufa",
      "public/textures/tufa/arm.jpg",
      "public/textures/tufa/color.jpg",
      "public/textures/tufa/normal.jpg",
      "public/textures/wood",
      "public/textures/wood/arm.jpg",
      "public/textures/wood/color.jpg",
      "public/textures/wood/normal.jpg",
      "public/textures/wood_dark",
      "public/textures/wood_dark/arm.jpg",
      "public/textures/wood_dark/color.jpg",
      "public/textures/wood_dark/normal.jpg",
      "scripts",
      "scripts/atlas",
      "scripts/atlas/render-atlas.mjs",
      "scripts/shot.mjs",
      "src",
      "src/actors",
      "src/actors/Actor.ts",
      "src/actors/ActorSystem.ts",
      "src/actors/PlaceholderAvatar.ts",
      "src/actors/appearance.ts",
      "src/actors/avatar",
      "src/actors/avatar/HumanoidAvatar.ts",
      "src/actors/avatar/SkinBuilder.ts",
      "src/actors/avatar/anim",
      "src/actors/avatar/anim/actions.ts",
      "src/actors/avatar/anim/armIK.ts",
      "src/actors/avatar/anim/clip.ts",
      "src/actors/avatar/anim/controller.ts",
      "src/actors/avatar/anim/gait.ts",
      "src/actors/avatar/anim/idles.ts"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/scootsmagoo/skyrome/commit/6edc71fcc1408567100fbf21cbbadcdc6c45e6c4"
    ]
  },
  {
    "full_name": "Kx121999/rafiq-alhifz",
    "id": 1404075530,
    "description": null,
    "homepage": null,
    "created_at": "2026-10-04T07:29:55Z",
    "pushed_at": "2026-10-04T11:44:25Z",
    "default_branch": "main",
    "language": "JavaScript",
    "topics": [],
    "repo": "Kx121999/rafiq-alhifz",
    "readme": "# رفيق الحفظ\n\nموقع عربي لحفظ القرآن الكريم ومراجعته.\n\n```bash\nnpm install\nnpm run dev      # تشغيل محلي\nnpm test         # الاختبارات الآلية (Vitest)\nnpm run check    # فحص سلامة البيانات (114 سورة، 6236 آية)\nnpm run build    # يفحص البيانات ثم يبني dist/ للنشر\n```\n\n- `public/quran.json`: نص المصحف بالرسم العثماني (quranenc.com عبر حزمة quran-json). لا يُعدَّل.\n- `public/tafsir.json`: التفسير الميسّر (spa5k/tafsir_api). لا يُعدَّل.\n- `legacy/index.html`: النسخة الأصلية ذات الملف الواحد، للمرجعية.\n- التقدّم محفوظ في `localStorage` بالمفتاح `hifz-progress-v1`.\n- يعمل كتطبيق قابل للتثبيت وبدون إنترنت (PWA): `public/sw.js` يُعبَّأ وقت البناء بقائمة الملفات وإصدار الكاش عبر `vite.config.js`.\n- `npm run a11y` (بعد `npm run build`): فحص إمكانية الوصول بـ axe-core على كل الصفحات والحالات في الوضعين الفاتح والداكن، مع فحص العرض على 320 بكسل. يحتاج Chrome (اضبط `CHROME_PATH` إن لم يوجد في مكانه المعتاد).\n",
    "tree_paths": [
      ".claude",
      ".claude/launch.json",
      ".gitattributes",
      ".github",
      ".github/workflows",
      ".github/workflows/deploy.yml",
      ".gitignore",
      "README.md",
      "index.html",
      "legacy",
      "legacy/index.html",
      "package-lock.json",
      "package.json",
      "promo",
      "promo/BRIEF.md",
      "promo/poster",
      "promo/poster/poster.html",
      "promo/poster/rafiq-poster.pdf",
      "promo/poster/rafiq-poster.png",
      "promo/video",
      "promo/video/AGENTS.md",
      "promo/video/CLAUDE.md",
      "promo/video/assets",
      "promo/video/assets/gsap.min.js",
      "promo/video/assets/shots",
      "promo/video/assets/shots/cert.png",
      "promo/video/assets/shots/dashboard.png",
      "promo/video/assets/shots/games.png",
      "promo/video/assets/shots/home.png",
      "promo/video/assets/shots/player.png",
      "promo/video/assets/shots/quiz.png",
      "promo/video/assets/shots/review.png",
      "promo/video/assets/shots/surah.png",
      "promo/video/assets/shots/veil.png",
      "promo/video/hyperframes.json",
      "promo/video/index.html",
      "promo/video/meta.json",
      "promo/video/package.json",
      "public",
      "public/chars",
      "public/chars/ghayma.svg",
      "public/chars/nujum.svg",
      "public/chars/sabr.svg",
      "public/chars/shams.svg",
      "public/favicon.svg",
      "public/icons",
      "public/icons/apple-touch-icon.png",
      "public/icons/icon-192.png",
      "public/icons/icon-512.png",
      "public/icons/icon-maskable-512.png",
      "public/manifest.webmanifest",
      "public/mascot.svg",
      "public/quran.json",
      "public/sw.js",
      "public/tafsir.json",
      "scripts",
      "scripts/a11y.mjs",
      "scripts/check-data.mjs",
      "src",
      "src/achievements.js",
      "src/backup.js",
      "src/dashboard.js",
      "src/data.js",
      "src/games.js",
      "src/home.js",
      "src/kids.js",
      "src/main.js",
      "src/motion.js",
      "src/plan.js",
      "src/player.js",
      "src/pwa.js",
      "src/report.js",
      "src/review.js",
      "src/router.js",
      "src/search.js",
      "src/state.js",
      "src/styles.css",
      "src/surah.js",
      "src/tour.js",
      "src/util.js",
      "tests",
      "tests/backup.test.js",
      "tests/data.test.js",
      "tests/games.test.js",
      "tests/helpers.js",
      "tests/home.test.js",
      "tests/plan.test.js",
      "tests/report.test.js",
      "tests/router.test.js",
      "tests/search.test.js",
      "tests/setup.js",
      "tests/state.test.js",
      "tests/tour.test.js",
      "tests/util.test.js",
      "vite.config.js"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/Kx121999/rafiq-alhifz/commit/e16f7b52a8edf9421af098c5067eef0b5657b5a9"
    ]
  },
  {
    "full_name": "alfonsograziano/gliner-decide",
    "id": 1404254650,
    "description": "Pong in the browser, played by you or by GLiNER2.5-Decide AIs, plus a headless arena that ranks them",
    "homepage": null,
    "created_at": "2026-10-04T10:40:40Z",
    "pushed_at": "2026-10-04T11:05:52Z",
    "default_branch": "main",
    "language": "Python",
    "topics": [],
    "repo": "alfonsograziano/gliner-decide",
    "readme": "# GLiNER Pong\n\nPong in the browser where each paddle is either you or an AI. The AI is [fastino/GLiNER2.5-Decide](https://huggingface.co/fastino/GLiNER2.5-Decide), a small text classifier, used as a game-playing brain. You can play against it, or pick two AIs and watch them play each other.\n\nThe model never sees the game. Each AI has a **harness**: a small Python file that turns the game state into one sentence (\"The ball will arrive far above your paddle.\"), the labels the model chooses from, and how each label maps to a paddle move. The same model sits behind every AI, so the only difference between players is the harness.\n\n![Playing Pong against h004: the right-hand card shows the sentence the model reads and the move it picks](docs/demo.gif)\n\n*Playing against h004. [Full-quality video](docs/demo.mp4).*\n\nThe repo has two parts:\n\n- **The browser game** (`pong.html` + `pong_server.py`): play it, or watch two harnesses play.\n- **The arena** (`arena.py`): a headless tournament that ranks harnesses against each other. Results are in [REPORT.md](REPORT.md).\n\n## Setup\n\nYou need:\n\n- [uv](https://docs.astral.sh/uv/getting-started/installation/), which installs Python 3.12 and the dependencies for you\n- About 2 GB of free disk space for the model, which downloads from Hugging Face on first run\n- A modern browser\n\n```bash\ngit clone https://github.com/alfonsograziano/gliner-decide.git\ncd gliner-decide\nuv sync\n```\n\n`uv sync` creates `.venv` with Python 3.12 and installs everything pinned in `uv.lock` (PyTorch and `gliner2`). To check that the model loads and answers, run `uv run main.py`. The first run downloads the model, so expect a few minutes.\n\n## Play\n\n```bash\nuv run pong_server.py\n```\n\nWait for `Pong ready on http://127.0.0.1:3070`, then open <http://127.0.0.1:3070>. The server loads the model before it starts listening, so on a cold start the page won't open for a few seconds.\n\nOn the page:\n\n1. Pick the **left player** and the **right player**. Each one is either **You** or one of the AI harnesses.\n   - You vs AI: choose **You** on one side and a harness on the other.\n   - AI vs AI: choose a harness on both sides. Pick the same harness twice for a mirror match.\n   - Two humans are not supported. If you pick **You** on both sides, the side you didn't just change switches to an AI.\n2. Press **Space** (or the **Serve** button) to serve. Space also pauses.\n3. Move your paddle with **W**/**S** or **↑**/**↓**. Press **R** (or **Reset**) for a new match.\n\nChanging a player starts a new match. Your choice is remembered in the browser.\n\nEach AI gets a card showing the sentence the model read, the move it chose, its confidence and its latency. The ball in the browser uses season 1 physics (top speed 820 px/s).\n\n### Server options\n\n```bash\nuv run pong_server.py --port 3071        # or: PORT=3071 uv run pong_server.py\nuv run pong_server.py --host 0.0.0.0     # reachable from other machines\nuv run pong_server.py --device cpu       # force the CPU (or: DEVICE=cpu)\n```\n\nBy default (`--device auto`) the model runs on the GPU when there is one: CUDA, then Apple's MPS, then the CPU. The first line the server prints says which one it picked. On an Apple Silicon Mac, MPS took about 90 ms per decision against about 160 ms on the CPU.\n\nThe server has no authentication and runs the model on your machine, so keep the default `127.0.0.1` unless you are on a network you trust.\n\n### Notes on AI vs AI\n\nThe model handles one request at a time. With two AIs the requests queue, so each AI decides about half as often as it would alone. Both sides are slowed equally, so the match is fair, but it plays differently from the arena, where every AI decides every 0.15 seconds of game time.\n\n## Add your own AI\n\nDrop a file named `h<number>_<slug>.py` into `players/`. The server picks it up the next time the page loads, with no restart. A harness defines:\n\n| Name | What it is |\n|---|---|\n| `NAME` | Short name shown in the menu |\n| module docstring | Description shown on the AI's card |\n| `SCHEMA` | A `classify_text` schema with exactly one task and its labels |\n| `ACTIONS` | Maps every label to `\"up\"`, `\"down\"` or `\"stay\"` |\n| `describe(state)` | Turns the game state into the text the model reads |\n\n`describe` always sees its own paddle on the right, so one harness plays either side. The text may not contain a label word or the words up, down, move or stay: the server rejects it if it does. See [players/h004_predict_landing.py](players/h004_predict_landing.py) for a small, complete example, and `uv run arena.py probe <id>` to see what a harness writes across many game states.\n\n## The arena\n\n```bash\nuv run arena.py list                    # list harnesses\nuv run arena.py match h004 h005         # play a match, log it, rebuild REPORT.md\nuv run arena.py ladder h006             # challenge the current champion\nuv run arena.py match h004 h005 --dry   # play without logging\nuv run arena.py report                  # rebuild REPORT.md from the log\n```\n\nThe arena runs on the CPU unless you pass `--device mps`, `cuda` or `auto`, so logged results stay reproducible. A different device can give tiny numeric differences, which may flip a close call and change a match.\n\nA match is 3 games to 15 points with fixed seeds, and the players swap sides each game. Results are appended to `results/matches.jsonl`, and [REPORT.md](REPORT.md) is generated from that file. Don't edit the report by hand.\n\n## Project layout\n\n| Path | What it is |\n|---|---|\n| `pong.html` | The browser game |\n| `pong_server.py` | Serves the page and answers `/decide` with the model's choice |\n| `arena.py` | Harness loading, the headless game, the ladder and the report |\n| `players/` | One file per harness |\n| `results/matches.jsonl` | Log of every arena match |\n| `REPORT.md` | Generated leaderboard and notes on each harness |\n| `docs/demo.gif`, `docs/demo.mp4` | The demo shown in this README, as a GIF and as a full-quality video |\n| `main.py`, `steer.py` | Standalone experiments with the model |\n\n## Troubleshooting\n\n- **The page says it can't load the players.** The server isn't running, or you opened `pong.html` directly from disk. Start `uv run pong_server.py` and use the address it prints.\n- **`Address already in use`.** Something else has port 3070. Use `--port`.\n- **The first start is slow.** The model is downloading (about 2 GB) and then loading. Later starts take a few seconds.\n- **A card shows `Model error`.** Check the terminal running the server for the traceback.\n",
    "tree_paths": [
      ".gitignore",
      ".python-version",
      "README.md",
      "REPORT.md",
      "arena.py",
      "docs",
      "docs/demo.gif",
      "docs/demo.mp4",
      "main.py",
      "players",
      "players/h001_numbers.py",
      "players/h002_words.py",
      "players/h003_words_no_direction.py",
      "players/h004_predict_landing.py",
      "players/h005_aim_away.py",
      "players/h006_aim_season2.py",
      "players/h007_smart_waiting.py",
      "players/h008_read_return.py",
      "pong.html",
      "pong_server.py",
      "pyproject.toml",
      "results",
      "results/matches.jsonl",
      "steer.py",
      "uv.lock"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/alfonsograziano/gliner-decide/commit/39374be8d2d564996da4edc54b427c9295a996e0",
      "https://github.com/alfonsograziano/gliner-decide/commit/76fd85e3d3cc4b27a226bbc8167b4209970924aa"
    ]
  },
  {
    "full_name": "BiofaCode/life-game",
    "id": 1403585931,
    "description": null,
    "homepage": "https://life-game-rosy.vercel.app",
    "created_at": "2026-10-03T19:51:25Z",
    "pushed_at": "2026-10-04T12:28:55Z",
    "default_branch": "main",
    "language": "TypeScript",
    "topics": [],
    "repo": "BiofaCode/life-game",
    "readme": "# Life Game\n\nDashboard RPG (Next.js App Router + Tailwind) branché sur Notion, installable en PWA.\n\n## Démarrer\n1. `cp .env.example .env.local` puis renseigne `NOTION_API_KEY`.\n2. Partage les 4 bases avec ton intégration Notion (… > Connexions).\n3. `npm install && npm run dev`\n\nLa formule de niveau et les IDs des bases sont dans `lib/config.ts`.\nIcônes PWA : `npm run icons`.\n\n## Vercel\nAjoute `NOTION_API_KEY` et `APP_PASSWORD` dans les variables d'environnement.\nL'app demandera ce mot de passe une fois par appareil (cookie valable 1 an).\n",
    "tree_paths": [
      ".env.example",
      ".gitignore",
      "README.md",
      "app",
      "app/actions.ts",
      "app/apple-icon.png",
      "app/error.tsx",
      "app/globals.css",
      "app/layout.tsx",
      "app/loading.tsx",
      "app/login",
      "app/login/LoginForm.tsx",
      "app/login/actions.ts",
      "app/login/page.tsx",
      "app/manifest.ts",
      "app/page.tsx",
      "components",
      "components/AddQuest.tsx",
      "components/Check.tsx",
      "components/CloseDay.tsx",
      "components/DailyGoal.tsx",
      "components/HabitList.tsx",
      "components/ProgressStepper.tsx",
      "components/ProjectCard.tsx",
      "components/ProjectsPanel.tsx",
      "components/QuestBoard.tsx",
      "components/QuestDetails.tsx",
      "components/RefreshButton.tsx",
      "components/Sheet.tsx",
      "components/Tabs.tsx",
      "components/ThemePicker.tsx",
      "components/Toast.tsx",
      "components/XpChart.tsx",
      "components/ui.tsx",
      "components/useOptimisticToggle.ts",
      "lib",
      "lib/auth.ts",
      "lib/config.ts",
      "lib/format.ts",
      "lib/notion-types.ts",
      "lib/notion.ts",
      "lib/streaks.ts",
      "lib/themes.ts",
      "next.config.ts",
      "package-lock.json",
      "package.json",
      "postcss.config.mjs",
      "proxy.ts",
      "public",
      "public/icons",
      "public/icons/icon-192.png",
      "public/icons/icon-512.png",
      "public/icons/maskable-512.png",
      "scripts",
      "scripts/gen-icons.mjs",
      "tsconfig.json",
      "vercel.json"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/BiofaCode/life-game/commit/45f5edad3b3ac15b4e7c08496de820893ddf7d20"
    ]
  },
  {
    "full_name": "DeepDiver1975/rex-ruckus",
    "id": 1404252485,
    "description": "Rex Ruckus: Meltdown — a fast, interactive 90s-style 3D shooter inspired by the Build-engine classics (Rust + Bevy)",
    "homepage": null,
    "created_at": "2026-10-04T10:37:54Z",
    "pushed_at": "2026-10-04T12:33:31Z",
    "default_branch": "main",
    "language": "Rust",
    "topics": [],
    "repo": "DeepDiver1975/rex-ruckus",
    "readme": "# Rex Ruckus: Meltdown\n\nA fast, interactive, 90s-style 3D shooter inspired by the Build-engine classics.\nOriginal code and content; CC0 assets credited in `CREDITS.md`.\n\nRun: `cargo run -p rr-game --release`\nTest: `cargo test --workspace`\n\n## Building\n\nRequires Rust 1.95+ (edition 2024). On Linux, Bevy also needs the ALSA and udev\ndevelopment packages, e.g. on Debian/Ubuntu:\n\n    sudo apt install libasound2-dev libudev-dev pkg-config\n\n## License\n\nGPL-3.0-or-later — see `LICENSE`.\n\n## Controls (M1)\n\nClick to capture the mouse · Esc releases it · WASD move · Mouse look · Space jump · C / Left Ctrl crouch\n",
    "tree_paths": [
      ".github",
      ".github/dependabot.yml",
      ".gitignore",
      "CREDITS.md",
      "Cargo.lock",
      "Cargo.toml",
      "LICENSE",
      "README.md",
      "assets",
      "assets/levels",
      "assets/levels/test_yard.ron",
      "crates",
      "crates/core",
      "crates/core/Cargo.toml",
      "crates/core/src",
      "crates/core/src/collide.rs",
      "crates/core/src/extrude.rs",
      "crates/core/src/fixtures.rs",
      "crates/core/src/geom.rs",
      "crates/core/src/lib.rs",
      "crates/core/src/map.rs",
      "crates/core/src/movement.rs",
      "crates/core/tests",
      "crates/core/tests/collide_props.rs",
      "crates/core/tests/test_yard.rs",
      "crates/game",
      "crates/game/Cargo.toml",
      "crates/game/src",
      "crates/game/src/coords.rs",
      "crates/game/src/level.rs",
      "crates/game/src/lib.rs",
      "crates/game/src/main.rs",
      "crates/game/src/paths.rs",
      "crates/game/src/player.rs",
      "crates/game/src/textures.rs",
      "crates/game/tests",
      "crates/game/tests/player_sim.rs"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/DeepDiver1975/rex-ruckus/commit/5bf2dc4d0c753eb63ae8fee5af8671e65938a6ff"
    ]
  },
  {
    "full_name": "yxxhixx/wasmou-docs",
    "id": 1404216563,
    "description": null,
    "homepage": null,
    "created_at": "2026-10-04T09:51:16Z",
    "pushed_at": "2026-10-04T11:04:21Z",
    "default_branch": "main",
    "language": "MDX",
    "topics": [],
    "repo": "yxxhixx/wasmou-docs",
    "readme": "# Wasmou documentation\n\nSource of the Wasmou API documentation, built with [Mintlify](https://mintlify.com).\n\n```bash\nnpm i -g mint\nmint dev        # preview at http://localhost:3000\nmint broken-links\n```\n\nPushing to `main` publishes the site (GitHub app connected in the Mintlify dashboard).\n\n- `docs.json`: theme, navigation\n- `openapi.json`: API reference source\n- `*.mdx`, `concepts/`, `guides/`: pages\n",
    "tree_paths": [
      ".mintignore",
      "AGENTS.md",
      "LICENSE",
      "README.md",
      "ai-tools.mdx",
      "authentication.mdx",
      "changelog.mdx",
      "concepts",
      "concepts/delivery.mdx",
      "concepts/pricing.mdx",
      "concepts/stock.mdx",
      "docs.json",
      "errors.mdx",
      "favicon.svg",
      "guides",
      "guides/automate-fulfilment.mdx",
      "guides/game-topups.mdx",
      "guides/sync-catalog.mdx",
      "index.mdx",
      "logo",
      "logo/dark.svg",
      "logo/light.svg",
      "openapi.json",
      "quickstart.mdx",
      "services",
      "services/account.mdx",
      "services/beinsports.mdx",
      "services/catalog.mdx",
      "services/freefire.mdx",
      "services/orders.mdx",
      "services/products.mdx",
      "services/pubg.mdx",
      "services/stock.mdx"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/yxxhixx/wasmou-docs/commit/9c62d812c19c61ce428198c9bcc3a190a181aca7"
    ]
  },
  {
    "full_name": "ErzenXz/lodestar",
    "id": 1403388147,
    "description": "Every game. One home. A fast, beautiful, Steam-style launcher for your Epic Games library.",
    "homepage": null,
    "created_at": "2026-10-03T16:12:01Z",
    "pushed_at": "2026-10-03T22:05:02Z",
    "default_branch": "main",
    "language": "TypeScript",
    "topics": [
      "electron",
      "epic-games",
      "game-launcher",
      "react",
      "steam-like",
      "typescript"
    ],
    "repo": "ErzenXz/lodestar",
    "readme": "<p align=\"center\">\n  <img src=\"branding/banner.png\" alt=\"Lodestar: Every game. One home.\" width=\"100%\">\n</p>\n\n<p align=\"center\">\n  <b>A fast, beautiful, Steam-style launcher for your Epic Games library.</b><br>\n  Your games, without the bad launcher. More stores are coming.\n</p>\n\n<p align=\"center\">\n  <img src=\"docs/screenshots/library.png\" alt=\"Lodestar library\" width=\"49%\">\n  <img src=\"docs/screenshots/game.png\" alt=\"Lodestar game page\" width=\"49%\">\n  <img src=\"docs/screenshots/downloads.png\" alt=\"Lodestar downloads\" width=\"49%\">\n  <img src=\"docs/screenshots/settings.png\" alt=\"Lodestar settings\" width=\"49%\">\n</p>\n\n## Why\n\nThe official Epic Games launcher is slow and awkward. Lodestar gives your Epic library the client it deserves: a library, downloads manager and store that feel like Steam. It installs, updates and launches your games itself, so the Epic launcher isn't needed.\n\n## Features\n\n- **Steam-style library.**\n  - **Sidebar:** Favorites, collections, Running and Updates sections, type-ahead search and full keyboard control.\n  - **Home:** \"Free on Epic this week\", recent games, and a cover-art grid with size and sort options.\n  - **Game pages:** hero art, a big PLAY button, play time, DLC, and Manage links.\n  - **Menus and dialogs:** right-click menus and a Properties dialog (launch options, updates, installed files, DLC, custom artwork).\n- **Its own downloader.** Downloads straight from Epic's CDN in parallel, checking every file as it's written. Pause and resume, even across restarts.\n  - **Smart updates:** reuses the data already on disk and only downloads what changed. A Rocket League patch dropped from 28.8 GB to 4.7 GB.\n  - **Repair:** verifies an install and re-downloads only damaged files.\n- **Steam-style downloads page:** network and disk graphs, a reorderable queue, a bandwidth limit, optional auto-updates, and downloads that pause while you play.\n- **Real play tracking.** \"Running\" and play time follow the game's actual processes, not just its launcher stub, so Stop really stops the game.\n- **Keeps your installs.** Adopts games the Epic launcher installed, including folders the launcher lost track of, with their DLC and optional content packs. You can also point it at an existing folder, or move an install to another drive.\n- **Add non-Epic games.** Add any program on your PC, like Steam's \"Add a Non-Steam Game\".\n- **Desktop shortcuts** that launch games through Lodestar (`lodestar://`).\n- **Epic's store, built in,** with one sign-in shared with the app. Lodestar never sees your password: you sign in on Epic's own page.\n- **Storage manager, system tray, close-to-tray and launch at login.**\n\n## Getting started\n\n```bash\nnpm install\nnpm run dev          # the full app, with hot reload\nnpm run dev:web      # UI only, in a browser at http://localhost:5174, with mock data\nnpm run typecheck\n```\n\n`dev:web` runs against a built-in mock backend, so you can work on the UI without an Epic account. Append `?mock=signedout`, `?mock=loading`, `?mock=many` (600 games) or `?mock=empty` to the URL to see those states.\n\n## Building\n\n| Command | Output |\n| --- | --- |\n| `npm run dist:win` | `dist/Lodestar-Setup-x.y.z.exe` (NSIS installer) |\n| `npm run dist:store` | `dist/Lodestar-x.y.z.appx` for the Microsoft Store |\n| `npm run dist:mac` | `dist/Lodestar-x.y.z-mac.dmg` (universal). You must build this on a Mac. |\n\nTo regenerate the icons from `branding/`, run `npx electron scripts/make-icons.cjs`.\n\n**Microsoft Store:**\n1. Reserve the name in Partner Center.\n2. Copy **Product identity** into the `appx` section of `electron-builder.yml`.\n3. Run `npm run dist:store` and upload the package.\n\n**macOS:** ship a signed and notarized DMG; set `CSC_LINK`, `APPLE_ID`, `APPLE_APP_SPECIFIC_PASSWORD` and `APPLE_TEAM_ID`. The Mac App Store's sandbox doesn't allow game launchers.\n\n## Architecture\n\n```\nsrc/\n  shared/      types + the IPC contract (api.ts is the whole surface)\n  main/        Electron main process\n    core/      library, downloads queue, settings, tray, process tracking, logging\n    providers/ one folder per store; implement GameProvider to add GOG, EA, Ubisoft...\n      epic/    OAuth, library and catalog, manifest parser, installer, launcher-data import\n      local/   non-Epic games\n  preload/     exposes window.lodestar\n  renderer/    React 19 UI (zustand store; Steam-style views)\ndocs/          Steam UI reference, QA audit, screenshots\nbranding/      logo, icon, banner\n```\n\n### How the Epic integration works\n- **Sign-in:** happens in a window showing Epic's real login page. Lodestar exchanges the resulting code for tokens, which are encrypted with the OS keychain and refreshed automatically.\n- **Library:** comes from Epic's library, catalog and assets services, so update detection is automatic.\n- **Installs:** Lodestar parses Epic's build manifests (binary and legacy JSON), downloads the chunks in parallel, writes the files, and checks each one's SHA-1. A resume log makes pausing and crashes safe. Updates reuse chunks already on disk; changed files are staged and swapped in at the end.\n- **Launching:** Lodestar runs the game directly with Epic's auth arguments, plus an ownership token for games that need one. Games managed by EA or Ubisoft go through the official launcher.\n\n## Status\n\nEarly but very usable. Not done yet: cloud saves, achievements, friends, and choosing optional content packs on first install. Logs are in `%APPDATA%\\Lodestar\\logs\\lodestar.log`.\n\nLodestar uses the same public launcher client credentials as the open-source projects [Legendary](https://github.com/derrod/legendary) and [Heroic](https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher). It is not affiliated with Epic Games, Inc. or Valve Corporation. \"Epic Games\" and \"Steam\" are trademarks of their owners.\n\n## License\n\n[MIT](LICENSE)\n",
    "tree_paths": [
      ".gitattributes",
      ".gitignore",
      "LICENSE",
      "README.md",
      "branding",
      "branding/BRIEF.md",
      "branding/banner.png",
      "branding/icon-1024.png",
      "branding/mark-1024.png",
      "branding/wordmark-transparent.png",
      "branding/wordmark.png",
      "build",
      "build/appx",
      "build/appx/LargeTile.png",
      "build/appx/SmallTile.png",
      "build/appx/Square150x150Logo.png",
      "build/appx/Square44x44Logo.png",
      "build/appx/StoreLogo.png",
      "build/appx/Wide310x150Logo.png",
      "build/entitlements.mac.plist",
      "build/icon.png",
      "docs",
      "docs/codex-review.md",
      "docs/fix-batch-a-report.md",
      "docs/fix-batch-a.md",
      "docs/fix-batch-c.md",
      "docs/fix-batch-d-report.md",
      "docs/fix-batch-d.md",
      "docs/qa-audit.md",
      "docs/screenshots",
      "docs/screenshots/downloads.png",
      "docs/screenshots/game.png",
      "docs/screenshots/library.png",
      "docs/screenshots/settings.png",
      "docs/screenshots/store.png",
      "docs/steam-ui-reference.md",
      "electron-builder.yml",
      "electron.vite.config.ts",
      "package-lock.json",
      "package.json",
      "resources",
      "resources/icon.png",
      "scripts",
      "scripts/make-icons.cjs",
      "src",
      "src/main",
      "src/main/core",
      "src/main/core/downloads.ts",
      "src/main/core/extras.ts",
      "src/main/core/library.ts",
      "src/main/core/log.ts",
      "src/main/core/metadata.ts",
      "src/main/core/processes.ts",
      "src/main/core/settings.ts",
      "src/main/core/store.ts",
      "src/main/core/tray.ts",
      "src/main/index.ts",
      "src/main/migrate.ts",
      "src/main/providers",
      "src/main/providers/epic",
      "src/main/providers/epic/api.ts",
      "src/main/providers/epic/fsBoundary.ts",
      "src/main/providers/epic/index.ts",
      "src/main/providers/epic/installer.ts",
      "src/main/providers/epic/integrity.test.cjs",
      "src/main/providers/epic/launcherData.ts",
      "src/main/providers/epic/manifest.ts",
      "src/main/providers/index.ts",
      "src/main/providers/local",
      "src/main/providers/local/index.ts",
      "src/main/providers/types.ts",
      "src/preload",
      "src/preload/index.d.ts",
      "src/preload/index.ts",
      "src/renderer",
      "src/renderer/index.html",
      "src/renderer/src",
      "src/renderer/src/App.tsx",
      "src/renderer/src/assets",
      "src/renderer/src/assets/mark.png",
      "src/renderer/src/components",
      "src/renderer/src/components/BottomBar.tsx",
      "src/renderer/src/components/Capsule.tsx",
      "src/renderer/src/components/ConfirmDialog.tsx",
      "src/renderer/src/components/ContextMenu.tsx",
      "src/renderer/src/components/InstallDialog.tsx",
      "src/renderer/src/components/LodestarMark.tsx",
      "src/renderer/src/components/Modal.tsx",
      "src/renderer/src/components/PropertiesDialog.tsx",
      "src/renderer/src/components/Sidebar.tsx",
      "src/renderer/src/components/SpeedGraph.tsx",
      "src/renderer/src/components/TitleBar.tsx",
      "src/renderer/src/components/Toasts.tsx",
      "src/renderer/src/components/library",
      "src/renderer/src/components/library/AddGameDialog.tsx",
      "src/renderer/src/components/library/CollectionPrompt.tsx",
      "src/renderer/src/components/library/DlcList.tsx",
      "src/renderer/src/components/library/Img.tsx",
      "src/renderer/src/components/library/controls.tsx",
      "src/renderer/src/components/library/glyphs.tsx",
      "src/renderer/src/components/library/libraryData.ts",
      "src/renderer/src/components/library/virtualWindow.ts",
      "src/renderer/src/components/shell",
      "src/renderer/src/components/shell/Dropdown.tsx",
      "src/renderer/src/components/shell/ErrorBoundary.tsx",
      "src/renderer/src/components/shell/Select.tsx",
      "src/renderer/src/components/shell/account.ts",
      "src/renderer/src/components/shell/format.ts",
      "src/renderer/src/components/shell/storeLifetime.ts",
      "src/renderer/src/components/shell/storeLinks.ts",
      "src/renderer/src/components/shell/storeSession.ts",
      "src/renderer/src/env.d.ts",
      "src/renderer/src/lib",
      "src/renderer/src/lib/devMock.ts",
      "src/renderer/src/lib/devMockData.json",
      "src/renderer/src/lib/entityIndex.ts",
      "src/renderer/src/lib/format.ts",
      "src/renderer/src/lib/gameActions.ts",
      "src/renderer/src/main.tsx",
      "src/renderer/src/store.ts",
      "src/renderer/src/styles",
      "src/renderer/src/styles/base.css",
      "src/renderer/src/styles/collections.css",
      "src/renderer/src/styles/downloads.css",
      "src/renderer/src/styles/game-details.css",
      "src/renderer/src/styles/game-page.css",
      "src/renderer/src/styles/library.css",
      "src/renderer/src/styles/settings.css",
      "src/renderer/src/styles/shell.css",
      "src/renderer/src/styles/store.css",
      "src/renderer/src/views",
      "src/renderer/src/views/DownloadsView.tsx",
      "src/renderer/src/views/GamePage.tsx",
      "src/renderer/src/views/LibraryHome.tsx",
      "src/renderer/src/views/LibraryView.tsx",
      "src/renderer/src/views/SettingsView.tsx",
      "src/renderer/src/views/StoreView.tsx",
      "src/renderer/src/views/library",
      "src/renderer/src/views/library/CollectionsPage.tsx",
      "src/renderer/src/views/library/FreeGamesShelf.tsx",
      "src/renderer/src/views/library/GameDetails.tsx",
      "src/renderer/src/views/library/GameGrid.tsx",
      "src/renderer/src/views/library/GamePageHost.tsx",
      "src/renderer/src/views/library/RecentShelf.tsx",
      "src/renderer/src/views/library/Shelf.tsx",
      "src/renderer/src/views/shell",
      "src/renderer/src/views/shell/StorageManager.tsx",
      "src/renderer/tests",
      "src/renderer/tests/batch-d.test.cjs",
      "src/renderer/tests/load-source.cjs",
      "src/renderer/tests/render-benchmark.cjs",
      "src/shared",
      "src/shared/api.ts",
      "src/shared/types.ts",
      "tsconfig.json",
      "tsconfig.node.json",
      "tsconfig.web.json",
      "vite.web.config.ts"
    ],
    "tree_truncated": false,
    "commits": [
      "https://github.com/ErzenXz/lodestar/commit/7fd406bc52707d4f48e084eafe4ee06f1fa55228"
    ]
  }
]