Skip to content
Musker

Musker

play with heart

Created on 8th August 2026

•

Musker

Musker

play with heart

The problem Musker solves

Traditional Web3 games often suffer from two major pain points: clunky, high-friction user experiences with constant wallet popups during gameplay, and untrustworthy or central-server-reliant prize distribution that leads to high latency and unfair payouts.

MUCKERS solves this by delivering a high-speed, arcade-action 3D Maritime Demolition Derby coupled with a trustless, automated Smart Contract Escrow System on Ethereum (Sepolia):

  • Trustless Fair-Play Payouts: Players stake a fixed 0.001 ETH entry fee directly into the SmashArena escrow smart contract. The contract deterministically holds funds and guarantees an immediate 95% payout directly to the winner's wallet without centralized admin intervention.
  • Zero-Lag 60 FPS Browser Gameplay: Powered by Three.js and a custom reference-based physics engine, the 3D boat battle runs smoothly in the browser at 60 FPS without main-thread UI bottlenecks or input lag.
  • Seamless Real-Time Peer Synchronization: Implements real-time room code matching, allowing players to host or join matches instantly with live positional updates.
  • Arcade Action & Combat Weapons: Features dynamic ocean arenas, mystery weapon crates (TNT Rockets, Plasma Shockwaves, Mega Cannons, Scorching Fireballs), bow water splashes, and reactive particle FX.

Challenges we ran into

  1. Eliminating Main-Thread UI Lag in 3D Real-Time Physics:

    • Challenge: Updating state at 60 Hz caused heavy React re-renders, resulting in boat stutter and frame drops.
    • Solution: Decoupled the physics loop from React state by storing real-time vehicle vectors in mutable ref containers (worldStateRef) and using frame-delta linear interpolation (lerp) inside Three.js @react-three/fiber render loops for buttery-smooth 60 FPS movement.
  2. Preventing MetaMask Transaction Failures & Gas Estimation Rejections:

    • Challenge: Strict contract checks were triggering MetaMask's eth_estimateGas pre-simulation to flag valid winner claims with "Transaction likely to fail".
    • Solution: Optimized the Solidity smart contract (SmashArena.sol) to validate state Keccak hashes while guaranteeing fallback call execution (winner.call{value: payout}), alongside explicit gas limit overrides to ensure 100% clean, one-click execution.
  3. Safe Web3 Address & Hex Sanitization:

    • Challenge: Standard hex converters threw padding exceptions (Hex size exceeds padding size) when processing match identifiers and AI bot addresses.
    • Solution: Created a native hexadecimal sanitizer (toValidAddress) that normalizes match IDs and wallet addresses into valid, checksummed 20-byte/32-byte strings before passing them to viem and wagmi.

Technologies used

Discussion

Builders also viewed

See more projects on Devfolio