Skip to content

About

board game android game

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

51 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockbound App Icon

🎲 Blockbound: Dice Districts

Roll. Build. Raid. Rebuild.
An original, portrait-first voxel board-and-town progression game built with React 18, Three.js / React Three Fiber, and Zustand for the mobile web, PWA, and Android.

📚 Documentation Index · Architecture · Design Language · Tech Stack · Roadmap · Licensing Terms · Contributing · Third-Party Notices


📸 Gameplay Gallery

Sunny Suburb 3D Board Town Raid Encounter Modal Town Raid Direct Hit Payout

Landmark Tier 2 Upgrade Stake Multipliers and Responsive HUD

Live captures of Blockbound: Sunny Suburb 3D isometric board, standalone minigames (Town Raid), tier-by-tier voxel construction progression, and responsive mobile HUD.


🌟 The Pitch

Build a miniature voxel world while rolling dice around a vibrant 32-tile perimeter board. Collect coins, building blocks, energy, and shields, trigger tactical encounters, upgrade district landmarks, and unlock diverse theme worlds (Sunny Suburb, Candy Harbour, Neon Metropolis, Frostlight Fjord and Copper Canyon).

Core Pillars

  • Play First: Deterministic turn cycle: roll → physical tumble → tile-by-tile character hop → landing resolution → build → save.
  • Tactile Voxel Toy-Box: Chunky toy-scale 3D models, smooth camera damping, numbered 3D dice faces, and animated block assembly.
  • Responsive Mobile Ergonomics: Portrait-first framing, thumb-zone controls, safe-area padding (env(safe-area-inset-*)), and overflow-guarded compact number formatting (125K, 1.28M).
  • Rock-Solid Progression: Automated rule and state tests, versioned SaveV1 browser storage, monotonic offline energy catch-up, and idempotent reward payouts.
  • Ethical Engagement: Non-coercive daily login rewards, transparent milestone curves, zero predatory lockouts, and no paywalled progression.

📊 Implementation Matrix

System Implementation Status Verified Features
Game Core & Rules ✅ Complete & Verified 32 typed perimeter tiles, seeded dice RNG, deterministic roll lifecycles (rollRules.ts), rule and state regression tests.
3D Board & Scene ✅ Complete & Verified React Three Fiber/Three.js scene (VoxelScene.tsx), 5 district themes (Emerald, Candy Strawberry, Cyber Neon, Frostlight Ice, Copper Sandstone), custom lighting and fog.
Locomotion & Feel ✅ Complete & Verified Tile-by-tile character hop progression (characterHop.test.mjs), tumble-settled 3D dice, Web Audio sound effects with mute toggle.
District Progression ✅ Complete & Verified 5 landmark silhouettes per district (IslandView.tsx), Tier 0–4 voxel stages, NPC encounter damage and repair mechanics, warp transitions.
Minigames ✅ Complete & Verified Standalone Vault Heist (9 safes, 3 picks) and Town Raid (3 NPC targets, shield absorption) with pure TS contracts (contracts.ts).
Timed Rotations ✅ Complete & Verified Deterministic epoch rotation engine (4h flash, 24h daily, 7d weekly) with auto-turnover collection and 7-day streak rewards.
Responsive HUD ✅ Complete & Verified Compact coin/block abbreviation engine (ResourceAmount.tsx, K/M/B), flying reward bezier particles to HUD counters with bump pops.
Persistence & Save ✅ Complete & Verified Versioned SaveV1 schema, automatic recovery from corrupt data, monotonic clock-safe offline energy regeneration (45s per unit).
Mobile PWA ✅ Complete & Verified Web manifest (manifest.webmanifest), service worker shell caching (sw.js), desktop hotkeys (Space, Enter, R, M).
Android Sync ✅ Complete & Verified Single-command distribution pipeline (npm run sync:android) synchronizing production web bundles directly to Android assets.

🚀 Quickstart

Prerequisites

  • Node.js (v18+ recommended) & npm
  • Modern web browser with WebGL support

Running Locally

# Clone the repository
git clone https://github.com/sp80808/blockbound.git
cd blockbound/web

# Install dependencies
npm install

# Start development server
npm run dev

Open the printed address (default: http://localhost:3000).

Quality Gates & Verification

cd web

# Run the automated test suite (unit and integration tests)
npm test

# Run strict TypeScript type checking
npm run typecheck

# Build optimized production bundle
npm run build

# Synchronize production web bundle to Android assets
npm run sync:android

Social and purchase API

The new Cloudflare Worker/D1 backend provides expiring guest sessions, profiles, friend requests, and verified cosmetic entitlements. Run its SQLite-backed checks with cd backend && npm test (Node 22.5+). The web game remains offline; account/shop UI and production identity are not connected yet. Guest registration and purchases are disabled in the default configuration.

See the October 10 validation record for the island map, vault, HUD and backend checks and their limits.


🗂️ Project Directory Structure

blockbound/
├── README.md                      # Project overview and visual gallery
├── DESIGN.md                      # Voxel art contract & design system
├── TECHSTACK.md                   # Technology specifications & contracts
├── ROADMAP.md                     # Milestone tracking & feature backlog
├── CONTRIBUTING.md                # Development standards & guidelines
├── LICENSING.md                   # Proprietary terms of use & restrictions
├── THIRD_PARTY_NOTICES.md         # Open-source licenses for upstream libraries
│
├── docs/                          # Detailed engineering documentation
│   ├── INDEX.md                   # Comprehensive documentation index
│   ├── ARCHITECTURE.md            # System design & unified runtime architecture
│   ├── SAVE_RECOVERY.md           # SaveV1 schema & offline regeneration
│   ├── GAME_FEEL.md               # Tactile interaction & audio synthesis
│   ├── UI_UX_REVIEW.md            # Mobile portrait ergonomics & safe areas
│   └── assets/                    # Project logos, icons, and gameplay screenshots
│
├── web/                           # Canonical game source (React 18 + R3F + Zustand)
│   ├── src/                       # Components, game logic, minigames & state
│   ├── tests/                     # Automated rule and state tests running under Node.js
│   └── public/                    # PWA manifest, service worker & icons
│
└── app/                           # Android native wrapper & WebView shell
    └── src/main/assets/www/       # Synced web bundle loaded by MainActivity.kt

🤝 Contributing & License

Blockbound: Dice Districts is proprietary, source-available software (All Rights Reserved).

Important: You cannot rip off, clone, copy, redistribute, or monetize the game, nor repurpose the source code, game mechanics, shaders, 3D voxel models, card art, audio, or game design for external projects or competing products. See LICENSING.md for full terms of use and legal restrictions.

We welcome well-scoped pull requests, bug fixes, performance improvements, and documentation enhancements intended for the official repository. Please review CONTRIBUTING.md and docs/ARCHITECTURE.md before submitting changes.

Third-party dependencies and notices are tracked in THIRD_PARTY_NOTICES.md.

Two new island/card packs and their isolated Colab workflow are documented in Island Packs.

About

board game android game

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages