# tong_game **Repository Path**: lidll/tong_game ## Basic Information - **Project Name**: tong_game - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-05-11 - **Last Updated**: 2026-05-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Tong Game Offline (Android) This Android project wraps the existing pixel game into a local-only WebView app. It does not need hosting and does not require network access to run. ## Project Path `E:\codex_project\tong_game\android-offline` ## Build Steps 1. Open `android-offline` in Android Studio. 2. Let Gradle sync finish. 3. Build APK: - Debug: `Build` -> `Build Bundle(s) / APK(s)` -> `Build APK(s)` 4. Install on Android device and run. ## Keep Web Assets Updated When you edit the game files in the root folder (`index.html`, `styles.css`, `game.js`), run: ```powershell powershell -ExecutionPolicy Bypass -File .\sync-assets.ps1 ``` Then rebuild APK. ## Runtime Notes - App is fixed to landscape orientation. - Game content is loaded from bundled assets: `https://appassets.androidplatform.net/assets/game/index.html` - WebView network loading is blocked, so gameplay stays offline.