Loops HouseDig Here

NEAR HACKATHON
Links
Team
1 member- AHOwner
Ahnaf
Overview
Dig Here is a multiplayer treasure-digging game on NEAR where nobody can know where the treasure is, not the host, not the players, not us, because it doesn't exist until the round ends.
Players join a room on a pixel-art island and get one dig each. Four clues arrive over the round. Each one narrows the possible spots and lowers the bonus (x2.5 for a blind dig, x1 after the last clue), so every player trades risk against reward. When the timer ends, the contract rolls the treasure and the best score takes the pot.
Fairness: every roll combines a NEAR block seed, locked in one block, with an oracle secret that was hash-committed before the room existed and is revealed in a later block. Neither a validator nor the oracle can steer a result alone. If the oracle withholds a reveal, anyone can trigger a full refund after 120s. "Verify this round" re-runs the whole round in the browser (hash chain, seeds, clues, treasure, scores, payout) and checks it against the on-chain transactions.
Economy: each pot splits between the host (0-20%), a jackpot (3%, won by digging the exact pixel), the NFT owner (2%), the season pool (1%) and the winner. 36 NEP-171 landmark NFTs each earn their owner 2% of every pot whose treasure lands by their kind of landmark, and trade on an ownerless market contract through NEP-178 approvals. Hosts lock a bond and have a public record.
NEAR features: function-call access keys for popup-free digs (the key can't withdraw or touch NFTs), block randomness, NEP-171/178, NEP-297 events, a named sub-account per role, and promise callbacks that restore balances on failed withdrawals.
Live on testnet at dighere.space (v1.dighere.testnet, market.dighere.testnet). No wallet needed to try it: VITE_BACKEND=dummy npm run dev runs the full game with bots. 514 frontend tests plus contract tests on a local NEAR sandbox. Testnet only and unaudited; known limits are in the README.