{"id":50614875,"url":"https://github.com/kitze/space-cadet-pinball-native-web","last_synced_at":"2026-06-06T07:03:59.744Z","repository":{"id":355807023,"uuid":"1229662835","full_name":"kitze/space-cadet-pinball-native-web","owner":"kitze","description":"No-WASM native web prototype of Space Cadet Pinball with TypeScript, Canvas, and generated assets","archived":false,"fork":false,"pushed_at":"2026-05-05T09:51:26.000Z","size":29960,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-05T11:31:07.328Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kitze.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE.md","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-05T09:10:20.000Z","updated_at":"2026-05-05T09:51:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kitze/space-cadet-pinball-native-web","commit_stats":null,"previous_names":["kitze/space-cadet-pinball-native-web"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/kitze/space-cadet-pinball-native-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitze%2Fspace-cadet-pinball-native-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitze%2Fspace-cadet-pinball-native-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitze%2Fspace-cadet-pinball-native-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitze%2Fspace-cadet-pinball-native-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kitze","download_url":"https://codeload.github.com/kitze/space-cadet-pinball-native-web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitze%2Fspace-cadet-pinball-native-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33972414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-06T07:03:59.638Z","updated_at":"2026-06-06T07:03:59.740Z","avatar_url":"https://github.com/kitze.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Space Cadet Pinball Native Web\n\nNative browser port seed for `k4zmu2a/SpaceCadetPinball`.\n\nNo WebAssembly, no Emscripten, no native bridge. The web target is plain HTML, CSS, Canvas, TypeScript modules, and generated bitmap assets:\n\n- `src/dat.ts` ports the `PARTOUT(4.0)RESOURCE` loader so `PINBALL.DAT`, `CADET.DAT`, or `DEMO.DAT` can be decoded in the browser.\n- `src/tableModel.ts` ports the table/object manifest lookup enough to extract the original background, table bitmap, collision walls, bumpers, flippers, ball radius, plunger point, and projection matrix.\n- `src/physics.ts` is a native TypeScript pinball simulation layer.\n- `src/collisionMask.ts` uses the generated collision-guide bitmap as a pixel collision mask for the imagegen fallback table.\n- `src/renderer.ts` renders the table on Canvas and keeps the HUD in DOM.\n- `assets/generated/playfield.png` is the complete generated playfield currently used by the fallback table.\n- `assets/generated/playfield-underlay.png` and `assets/generated/playfield-occluders-alpha.png` are experimental below/above ball layers.\n- `assets/generated/collision-guide-v1.png` is the imagegen-assisted collision tracing guide.\n- `assets/sprites/` contains separate moving/interactive transparent PNG sprites.\n- `asset-prompts.md` documents the imagegen prompts used for the project assets.\n\nRun it:\n\n```sh\nnpm install\nnpm run dev\n```\n\nThen open `http://127.0.0.1:5177`.\n\nBuild it:\n\n```sh\nnpm run build\n```\n\nThe repository does not include the original Microsoft resource files, so the app boots into an asset-clean fallback table. Load a local `PINBALL.DAT` or `CADET.DAT` with the `DAT` control to render the original assets locally in your browser.\n\nStatus: prototype. The imagegen fallback is intentionally experimental and not yet a faithful 1:1 physics port.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitze%2Fspace-cadet-pinball-native-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitze%2Fspace-cadet-pinball-native-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitze%2Fspace-cadet-pinball-native-web/lists"}