How grassblock2763/cuttherope-dx-web works
Purpose and Delivery Model
This is a published browser build of a Cut the Rope-style game, not source code. The playable application runs locally in the browser as .NET WebAssembly, with a Core game assembly and SkiaSharp rendering dependency. Key artifacts: wwwroot/index.html, wwwroot/_framework/CutTheRopeDX.Browser.mkuixgbals.wasm, wwwroot/_framework/CutTheRopeDX.Core.03r3wm98bj.wasm.
Startup and Runtime Bootstrap
wwwroot/index.html is the browser entry point. It loads JavaScript bootstrap/application glue, then the .NET runtime from wwwroot/_framework/dotnet.js; the runtime loads native/runtime support and managed assemblies. CutTheRopeDX.Browser.runtimeconfig.json defines runtime settings, while wwwroot/_framework/dotnet.native.tvczd2v3t5.wasm supports execution in WebAssembly.
Game Application Boundary
The compiled Browser assembly is the platform host; the compiled Core assembly contains the reusable game domain/runtime. Because only binary output is present, internal scene, physics, level, and state APIs cannot be recovered from this tree. The principal managed boundary is wwwroot/_framework/CutTheRopeDX.Browser.mkuixgbals.wasm → wwwroot/_framework/CutTheRopeDX.Core.03r3wm98bj.wasm.
Rendering and Browser Interop
SkiaSharp is bundled as a managed WebAssembly dependency, indicating canvas/graphics rendering is driven by the .NET game runtime rather than conventional DOM UI. JavaScript adapters likely provide browser-specific capabilities: WebGL context setup in wwwroot/glcontext.js, cursor/input behavior in wwwroot/cursor.js, and loading feedback in wwwroot/loading-progress.js.
Content and Asset Loading
Game content is statically hosted under wwwroot/content. Asset metadata and initial packaging are represented by wwwroot/content/assets.json, wwwroot/content/.build-manifest.json, and wwwroot/content/tier0.json. The game runtime consumes themed images, fonts, music, and effect assets from this boundary; no remote content API is evident.
Audio, Media, and Client Persistence
Browser JavaScript bridges isolate non-rendering platform integrations from managed gameplay: wwwroot/audio.js for music/SFX playback, wwwroot/video.js for video, wwwroot/storage.js for client-side persistence, and wwwroot/fetch.js for browser fetch access. Audio content includes level/theme music and gameplay effects beneath wwwroot/content/sounds.
Offline Hosting and Infrastructure
This is a static/PWA deployment. wwwroot/service-worker.js, wwwroot/service-worker-assets.js, and wwwroot/manifest.webmanifest support installability and offline asset caching. web.config suggests IIS-compatible hosting, while precompressed .br and .gz variants enable server/CDN content negotiation. No backend service, database, authentication provider, or external API is visible.
Main entry points: CutTheRopeDX.Core.03r3wm98bj.wasm Core game runtime · index.html HTML entry point · dotnet.js .NET bootstrap · service-worker.js Service worker
Components 17
Browser bootstrap
- Browser · Runs the static WebAssembly game locally.
- HTML entry point
wwwroot/index.html - .NET bootstrap
wwwroot/_framework/dotnet.js
.NET game runtime
- Runtime configuration
CutTheRopeDX.Browser.runtimeconfig.json - Native WASM runtime
wwwroot/_framework/dotnet.native.tvczd2v3t5.wasm - Browser host · Platform host for the game application.
wwwroot/_framework/CutTheRopeDX.Browser.mkuixgbals.wasm - Core game runtime · Reusable compiled game domain and runtime.
wwwroot/_framework/CutTheRopeDX.Core.03r3wm98bj.wasm - SkiaSharp · Provides graphics rendering for the managed game.
Browser integrations
- WebGL context adapter
wwwroot/glcontext.js - Cursor/input adapter
wwwroot/cursor.js - Media and platform bridges · Audio, video, storage, and fetch browser capabilities.
wwwroot/audio.js
Static content
- Asset metadata · Initial asset packaging and tier metadata.
wwwroot/content/assets.json - Game assets · Themed images, fonts, music, and effects.
wwwroot/content
Offline delivery
- Service worker
wwwroot/service-worker.js - Offline asset list
wwwroot/service-worker-assets.js - PWA manifest
wwwroot/manifest.webmanifest - IIS hosting config · Supports IIS-compatible deployment.
web.config
Connections 19
- Browser → HTML entry point: loads
- HTML entry point → .NET bootstrap: starts
- .NET bootstrap → Runtime configuration: reads
- .NET bootstrap → Native WASM runtime: loads
- .NET bootstrap → Browser host: loads
- Browser host → Core game runtime: uses
- Core game runtime → SkiaSharp: renders through
- Core game runtime → WebGL context adapter: uses
- Core game runtime → Cursor/input adapter: uses
- Core game runtime → Media and platform bridges: uses
- Core game runtime → Asset metadata: reads asset metadata
- Asset metadata → Game assets: indexes
- Media and platform bridges → Game assets: plays media
- Browser → Service worker: registers
- Service worker → Offline asset list: uses
- Service worker → HTML entry point: caches
- Service worker → Game assets: caches
- PWA manifest → HTML entry point: describes installable app
- IIS hosting config → HTML entry point: serves