跳到正文
𝔔𝔲𝔞𝔟· 来源· @Quabnation · X·· 2 小时前精选AI 评分68
推荐理由

通过智能体NPC与链上经济规则结合,展示了去中心化游戏内闭环经济的构建方式。

正文 · 原文

🏘️ Meet Millbrook: a 3D town where your workers are your only customers.

Built for the #NEARHackathon, Games With Real Economies track.

The idea is simple. 30 residents live in your town. They work in the shops, earn wages, and spend those wages back at the same shops you and your rivals run. Pay them well and they can afford your bread. Cut their wages and your own market shrinks. There is nowhere else for the money to go.
So when every owner races to pay the least, the whole town slides into a recession. Nobody scriptedit. It just happens, the way real economies do.

Here is the part that makes it real. The town holds exactly 10,000 coins, forever. A NEAR contract enforces it, and the contract has no admin key. No mint, no burn, no owner, no upgrade. Not even wecan print a single coin. Every coin you earn came from someone else in town, and anyone can audit the whole supply on chain.
What we built in two weeks: 🪙 A closed economy that actually holds. The 10,000 coin total stays balanced after every step, tested across 100 random seeds. Wage wars cause real recessions. A safety net pulls a crashed town back to work.

🎮 A living 3D town. Dusk to night lighting, residents who walk to work and show their real reasons in speech bubbles, gold coins flowing on every sale. Pick your town size (4 to 8 shops with real supply chains) and your goal (20 cards). The town ages, holds elections, forms unions, catches fire, and runs bankruptcy auctions you can bid on. Every event only moves coins inside town, so the total never breaks.

🤖 An AI Game Master that cannot cheat. Each in game week it reads real world weather plus the town's numbers, picks one event, and explains itself in plain words. The limits on what it can do are enforced by the contract, so even the AI cannot create coins or break the rules. It saves a signed, receipt of every decision on NEAR.

🎟️ Real NEP-245 items. Bread, cloth, tools and more are multi tokens held in one contract, with the full standard and mint, burn, and transfer events.

🔎 Follow a coin. Trace a single coin hand to hand across the town, wage to bread to wheat to wage, read straight from the ledger.

👥 Multiplayer rooms. Host a room, friends join with a code and each run a shop. Live chat, trade offers, and a league mode that runs on a schedule.

📧 No wallet. No seed phrase. No gas. You sign in with an email link. Players never have to notice the chain.

Agent NPCs, social login, and NEP-245, all in one game where the economy is the whole point.

▶️ Play it now: https://millbrook.185-7-81-139.sslip.io

💻 Code: https://github.com/Investorquab/Millbrook

🔗 Contract on NEAR testnet: https://testnet.nearblocks.io/address/game.millbrook.testnet

Thanks to @NEARProtocol and @near_ai for the tools, and @NearBuilders for the community. #NEARHackathon

来源:𝔔𝔲𝔞𝔟 · x.com