1. Home
  2. Insights
  3. Building a Web3 Game with Token Economy — Lessons from PACDO (Pac-Man Meets Bomberman)
Blockchain & Web3

Building a Web3 Game with Token Economy — Lessons from PACDO (Pac-Man Meets Bomberman)

Complete guide to Web3 game token economy development. Covers PACDO game design (Pac-Man meets Bomberman), utility and governance tokens, play-to-earn mechanics, NFT integration, smart contract architecture, anti-cheat systems, tokenomics, and community governance.

Building a Web3 Game with Token Economy — Lessons from PACDO

The first generation of Web3 games got the priorities backwards. They built token economies first and games second, creating elaborate financial instruments wrapped in shallow gameplay that attracted speculators rather than players. When the speculation ended, the players were nowhere to be found because there was never a game worth playing. Web3 game token economy development done right starts with a game people genuinely want to play and layers token mechanics that enhance rather than replace the core experience.

PACDO is our proof that this approach works. It takes the instantly recognizable maze navigation of Pac-Man and combines it with the strategic depth of Bomberman's combat mechanics, creating a multiplayer real-time experience where skill determines outcomes and token economics reward genuine engagement. Building PACDO taught us every lesson in this guide, from the tokenomics modeling that prevents inflationary death spirals to the anti-cheat architecture that keeps competitive integrity intact when real money is on the line.

At ESS ENN Associates, our game development and blockchain engineering teams collaborated on PACDO from concept through production. This guide shares the complete technical and economic architecture, the design decisions that shaped the token economy, and the hard-won lessons about building Web3 games that retain players because the gameplay is compelling, not because the token price is rising.

PACDO Game Concept: Where Pac-Man Meets Bomberman

PACDO's core gameplay combines two proven mechanics into something that feels familiar yet fresh. Players navigate procedurally generated maze environments, collecting resources and power-ups (the Pac-Man inspiration) while deploying tactical items, setting traps, and engaging in strategic combat with other players (the Bomberman influence). The result is a fast-paced multiplayer experience where spatial awareness, resource management, and tactical timing determine who wins.

Maze mechanics form the navigation layer. Each match generates a unique maze with corridors, dead ends, resource nodes, and strategic chokepoints. Players move through the maze collecting scattered resources that serve as both score points and in-match currency for purchasing tactical items. The maze layout creates natural tension between exploration (collecting resources from distant nodes) and safety (staying near familiar territory where escape routes are known). Resource nodes regenerate on timers, creating contested areas where player encounters are frequent and strategic positioning matters.

Combat mechanics add the competitive depth. Players can deploy area-of-effect traps that block corridors, launch projectiles that travel along maze paths, activate temporary shields, and use power-ups that modify movement speed, visibility range, or resource collection rates. Combat is not about reflexes alone. The maze structure means that every engagement involves spatial reasoning: which corridors are safe retreat paths, where can a trap create an inescapable corner, and how does deploying an item now affect positioning for the next resource spawn.

Multiplayer match formats include free-for-all (4-8 players, last player standing wins), team battles (2v2 or 3v3 with coordinated strategies), king-of-the-hill (control a central zone while collecting resources), and tournament brackets (single elimination with escalating stakes). Each format rewards different skills and creates varied competitive dynamics, keeping the gameplay fresh across hundreds of matches. The match format diversity also creates multiple engagement modes for different player preferences, from casual free-for-all sessions to high-stakes tournament play.

Token Economy Design: Dual-Token Model

PACDO uses a dual-token model that separates the utility function (in-game transactions) from the governance function (community decision-making). This separation prevents the economic paradox that plagues single-token games, where the token needs to appreciate (to reward holders and create investment narrative) while simultaneously being spent freely (to drive in-game economic activity). When spending and holding are at odds, the game economy stalls.

PACDO Token (utility, ERC-20) is the in-game currency used for tournament entry fees, marketplace transactions, crafting material purchases, and cosmetic upgrades. Players earn PACDO tokens through gameplay (match rewards, tournament prizes, daily challenges) and spend them on in-game activities. The PACDO token is designed to circulate actively, with a stable value that makes it useful as a medium of exchange rather than a speculative asset. Emission rates are carefully calibrated to match the token sinks that remove tokens from circulation, maintaining economic equilibrium.

Governance Token (ERC-20) grants voting rights on game direction, economic parameter adjustments, and treasury spending decisions. Governance tokens are earned through long-term engagement milestones (reaching specific levels, participating in a certain number of tournament seasons, contributing to community events) and cannot be purchased directly. This ensures that governance power is held by committed players rather than speculators who buy votes without playing the game. The governance token appreciates as the game grows because it represents ownership of a growing ecosystem, while the utility token maintains spending stability.

Play-to-earn reward mechanics distribute PACDO tokens based on match performance, skill rating, and engagement consistency. The reward formula weights match outcomes (winning earns more than losing, but even losing earns a base amount to prevent frustration), skill-relative performance (beating higher-rated opponents earns bonus rewards), and daily engagement (diminishing returns after a daily play threshold prevent grinding exploitation). Critically, rewards scale with player count and economic health. During early adoption phases, higher rewards accelerate growth. As the player base matures, rewards moderate to maintain sustainable economics.

NFT Integration: Character Skins, Power-Ups, and Arena Maps

NFTs in PACDO serve genuine gameplay and personalization functions rather than existing as speculative collectibles. Every NFT either changes how you look (cosmetic), how you play (functional), or where you play (environmental). This ensures that NFT value is tied to game utility rather than artificial scarcity alone.

Character skins (ERC-721) are purely cosmetic NFTs that change the visual appearance of a player's character. They do not affect gameplay stats, ensuring that competitive integrity is maintained regardless of a player's NFT collection. Skins are earned through gameplay achievements (completing challenge sets, reaching tournament milestones), limited-time events, and marketplace purchases. Rarity tiers (common, rare, epic, legendary) create collectible appeal, with legendary skins available only through exceptional achievements or special events.

Power-up NFTs (ERC-1155) represent special tactical items that can be equipped before a match. Unlike standard power-ups that are available to all players, NFT power-ups provide unique variants with modified behavior: a standard trap that blocks a corridor might have an NFT variant that also slows players passing through adjacent corridors, or a standard shield might have a variant that reflects projectiles back at attackers. These functional NFTs are balanced carefully to provide interesting strategic options without creating pay-to-win dynamics. Each NFT power-up has a counter-play, and the advantage they provide is situational rather than absolute. ERC-1155 is used because power-ups are semi-fungible, allowing multiple copies of the same type while maintaining individual token identity for trading.

Arena map NFTs (ERC-721) allow players to own unique maze layouts that can be selected for private matches and community tournaments. Map creators use an in-game editor to design custom mazes, mint them as NFTs, and earn a percentage of entry fees whenever their map is used in a paid tournament. This creates a creator economy within the game where talented map designers earn ongoing revenue from their creations. The map NFT includes the maze layout data stored on IPFS, ensuring that the game asset persists independently of any centralized server.

Smart Contract Architecture for Game Assets

The smart contract architecture must handle high-frequency game transactions efficiently while maintaining the security standards that real-value assets demand. PACDO's contracts are deployed on Polygon, chosen specifically for its low gas costs that make frequent small transactions (match rewards, marketplace trades, item purchases) economically viable. On Ethereum mainnet, gas costs for in-game transactions would exceed the transaction value, destroying the economy.

PACDO Token contract (ERC-20) implements the standard token interface with additional game-specific functions. A minter role controlled by the reward distribution contract allows new tokens to be minted as gameplay rewards. A burner function removes tokens from circulation when they are spent on permanent in-game consumables. Transfer hooks integrate with the anti-cheat system to flag suspicious transfer patterns (like a newly created wallet receiving large token amounts immediately after creation). The token contract is non-upgradeable by design, providing holders with immutability guarantees about the token's fundamental properties.

NFT contracts (ERC-721 and ERC-1155) manage the character skins, power-ups, and arena maps. Metadata is stored on IPFS with content hashes recorded on-chain, ensuring that the NFT's visual and functional data is permanently available regardless of any centralized server status. The ERC-1155 contract for power-ups includes a usage tracking mechanism that records how many times each power-up has been used, creating provenance data (a power-up that has been used in a championship-winning match has verifiable history that adds to its collectible value).

Reward distribution contract is the most complex component, handling the calculation and distribution of play-to-earn rewards. Match results are submitted by the game server as signed messages, verified by the contract, and used to calculate token rewards based on the configurable reward formula. The contract enforces daily emission caps, per-player reward limits, and season-based emission schedules. It is upgradeable through a UUPS proxy to allow reward parameters to be adjusted based on economic conditions, with upgrades controlled by the governance DAO.

Marketplace contract handles peer-to-peer trading of all game NFTs. Sellers list items with asking prices in PACDO tokens, buyers purchase directly, and the contract handles escrow, transfer, and fee collection. A configurable marketplace fee (initially 2.5%) is split between the protocol treasury (funding development and tournaments) and a burn address (creating deflationary pressure on the PACDO token supply). For arena map NFTs, the marketplace also handles royalty distribution to the original map creator on secondary sales.

The security of these contracts is critical given that they hold real player value. Our guide on Web3 smart contract audit and security covers the audit methodology and vulnerability patterns that apply to gaming smart contracts.

Anti-Cheat with On-Chain Verification

When gameplay rewards have real monetary value, cheating becomes an economic attack on the game. Every player who cheats to earn tokens they did not earn through genuine play is diluting the rewards of legitimate players. Anti-cheat in Web3 games is therefore not just a gameplay quality concern. It is an economic security requirement.

Server-authoritative gameplay is the foundation. The game server, not the client, is the authority on game state. Player inputs (movement commands, item usage, combat actions) are sent to the server, which validates that each action is possible within the game rules before executing it. The client displays the server's authoritative state with client-side prediction for responsive feel. This prevents the most common cheats: speed hacks (the server enforces movement speed), wall hacks (the server only sends information about what the player can legitimately see), and item duplication (the server tracks all item inventories authoritatively).

Match result verification bridges the server's authoritative game state with the blockchain's reward distribution. When a match ends, the server generates a result hash that includes the match ID, player rankings, performance metrics, and a signature from the server's authorized key. This signed result is submitted to the reward distribution contract, which verifies the server's signature before calculating and distributing rewards. Players cannot claim rewards for matches that the server did not validate, and they cannot modify match results because the server's signature would not match.

Statistical anomaly detection identifies sophisticated cheating that server-side validation alone might miss. An analysis system monitors player performance metrics over time, flagging accounts with statistically improbable win rates, reward accumulation rates, or play patterns. For example, an account that wins 95% of matches against varied opponents, or an account that plays exactly 8 hours per day with no variation for 30 consecutive days, triggers automated review. Flagged accounts are placed in a verification queue where additional monitoring is applied before rewards are released.

Sybil resistance prevents players from creating multiple accounts to farm rewards. Account creation requires a minimum stake of PACDO tokens (refundable upon account closure), a wallet age requirement (the wallet must have existed for a minimum period), and progressive reward unlocking (new accounts earn reduced rewards for an initial period). These measures make multi-accounting economically unattractive without creating excessive barriers for legitimate new players.

Tokenomics Design: Emission, Burns, and Liquidity

Tokenomics is where most Web3 games fail. They design emission schedules that are generous enough to attract early players but unsustainable beyond the first year. They create token sinks that are insufficient to offset emissions. They neglect liquidity management, leaving the token price vulnerable to sell pressure from players converting rewards to stablecoins. PACDO's tokenomics are designed to avoid these failure modes through sustainable emission, aggressive sinks, and managed liquidity.

Emission schedule follows a halving model where the maximum daily token emission decreases substantially every six months for the first three years, then stabilizes at a maintenance rate. Initial daily emission is set based on projected player count and target per-player daily earnings. As the player base grows, per-player emissions naturally decrease (the same daily pool is distributed among more players), creating organic deflationary pressure. Season-based emission adjustments allow the governance DAO to fine-tune rates based on actual economic conditions.

Token sinks are designed to match or exceed emissions at steady state. The primary sinks include marketplace transaction fees (2.5% of every trade, partially burned), tournament entry fees (a percentage of every tournament pot is burned), crafting costs (combining common items into rare items consumes tokens permanently), cosmetic upgrades (purchasing purely aesthetic enhancements), and premium arena access (entering community-created premium arenas costs tokens, with a portion burned). The diversity of sinks ensures that token removal is distributed across many small transactions rather than dependent on any single mechanism.

Burn mechanics permanently remove tokens from the total supply. A fixed percentage of marketplace fees, tournament fees, and crafting costs are sent to a burn address. The burn rate is a governance-adjustable parameter, allowing the community to increase burns during inflationary periods or decrease them during deflationary periods. Over the lifetime of the game, the cumulative burn is designed to offset total emissions, creating a net-zero or net-deflationary token supply at maturity.

Liquidity management ensures that players can convert PACDO tokens to stablecoins without catastrophic price impact. The protocol maintains liquidity pools on decentralized exchanges, funded by a portion of the initial token allocation and supplemented by ongoing protocol revenue. Concentrated liquidity positions provide efficient depth around the target price range. Protocol-owned liquidity (rather than incentivized liquidity mining) provides persistent depth that does not disappear when farming rewards end.

Matchmaking, Tournaments, and Community Governance

Matchmaking uses an Elo-based skill rating system adapted for the game's multiple match formats. Players are matched against opponents of similar skill level, ensuring competitive matches that are neither frustrating (against much better players) nor boring (against much weaker players). The matchmaking algorithm also considers latency, grouping geographically proximate players to ensure responsive real-time gameplay. For token-staked matches where players risk their own tokens for higher rewards, the matchmaking system is particularly strict about skill parity to prevent predatory matchups.

Tournament systems provide the highest-stakes competitive experience. Tournaments range from daily automated events (low entry fee, quick single-elimination brackets) to weekly community tournaments (moderate stakes, best-of-three format) to seasonal championship series (high entry fees, extended brackets with qualifier rounds). Tournament prize pools combine player entry fees with protocol-funded additions, creating prize pools that grow with participation. Smart contracts manage tournament registration, bracket generation, result recording, and prize distribution trustlessly, eliminating the disputes and delays common in centralized tournament platforms.

DAO governance gives the player community genuine control over the game's evolution. Governance token holders can propose and vote on game balance changes (adjusting power-up strengths, modifying map generation parameters), economic parameter updates (emission rates, burn percentages, marketplace fees), new content additions (approving community-created content for official inclusion), and treasury spending (funding esports events, marketing campaigns, development priorities). Proposals require a minimum token threshold to submit, followed by a discussion period and an on-chain voting window. A governance council elected by token holders handles time-sensitive operational decisions that cannot wait for full governance cycles.

Tech Stack and Monetization Without Pay-to-Win

The tech stack bridges traditional game development with blockchain infrastructure. Unity powers the game client, providing cross-platform support for browser (WebGL), mobile (iOS and Android), and desktop deployments. Unity's mature networking stack handles the real-time multiplayer requirements, while its asset pipeline supports the visual quality needed to compete with non-Web3 games. Node.js runs the authoritative game server, managing real-time game state, matchmaking queues, anti-cheat validation, and blockchain interaction orchestration. Polygon handles all on-chain transactions, with smart contracts written in Solidity implementing the ERC-20 token, ERC-721 and ERC-1155 NFTs, marketplace, reward distribution, and governance.

A React.js web application provides the marketplace, inventory management, governance dashboard, and player profile interfaces. This separates the blockchain-heavy features from the game client, allowing players to manage their assets and participate in governance without launching the game. The web application connects to the same Web3 infrastructure as the game client, providing a unified experience across platforms.

Monetization without pay-to-win is the non-negotiable design principle that makes PACDO viable as both a game and an economy. Revenue comes from cosmetic-only purchases (character skins that do not affect gameplay), marketplace transaction fees, tournament entry fee margins, and optional convenience features (queue priority, additional loadout slots). Functional NFT power-ups provide strategic variety but not statistical advantages, a power-up with a different effect is not a stronger effect. This principle is enforced through regular balance analysis and community governance review, ensuring that new content additions maintain competitive fairness.

"The biggest lesson from building PACDO is that the game has to stand on its own. If you removed every token and every NFT, the core gameplay loop must still be fun. The blockchain layer enhances the experience by adding true ownership, competitive stakes, and community governance, but it cannot substitute for a game that people actually want to play. Start with the game. Then add the economy."

— Karan Checker, Founder, ESS ENN Associates

Lessons Learned from Building PACDO

Building PACDO from concept through production taught us lessons that apply to any Web3 game development project. These are the insights that we wish we had on day one.

Game-first, tokens second. Every design meeting should start with the question: does this make the game more fun? Token mechanics that do not serve gameplay engagement will eventually be gamed, exploited, or ignored. The features that created the most sustainable engagement in PACDO were gameplay features with token rewards attached, not token features with gameplay attached.

Tokenomics modeling requires simulation, not just spreadsheets. We built an agent-based simulation of the PACDO economy with different player archetypes (casual, competitive, speculative, creator) and ran thousands of scenarios before finalizing the economic parameters. Static spreadsheet models cannot capture the dynamic interactions between player behaviors, token flows, and market conditions that determine whether an economy is sustainable or headed for collapse.

Gas costs drive blockchain choice. We initially prototyped on Ethereum testnet before realizing that mainnet gas costs would make in-game transactions economically impossible. Moving to Polygon reduced transaction costs by orders of magnitude, making frequent small transactions (match rewards, marketplace trades, item purchases) viable. For any game with frequent on-chain interactions, a low-cost chain or a layer-2 solution is not optional. It is a hard requirement.

Anti-cheat is an ongoing war, not a one-time implementation. Every anti-cheat measure we deployed was probed within days by players seeking economic exploits. The system requires continuous monitoring, rapid response to new exploit vectors, and regular updates to detection algorithms. Budget for ongoing anti-cheat engineering as a permanent operational cost, not a launch feature that can be maintained passively.

Community governance requires guardrails. Pure direct democracy for game decisions leads to populist choices that feel good short-term but harm the game long-term (like voting to increase token emissions). The governance council structure, where elected representatives handle day-to-day decisions within parameters set by full community votes, provides the balance between community ownership and competent decision-making that a live-service game requires.

Tags
Web3 GamingToken EconomyPlay-to-EarnNFT GamingPACDOBlockchain
FAQ

Frequently asked questions.

What is PACDO and how does its Web3 token economy work?
PACDO is a multiplayer Web3 game that combines Pac-Man-inspired maze navigation mechanics with Bomberman-style strategic combat. Players navigate procedurally generated mazes, collect resources, deploy tactical items, and compete in real-time multiplayer matches. The token economy uses a dual-token model: a utility token (PACDO) for in-game purchases, entry fees, and play-to-earn rewards, and a governance token for voting on game updates and economic parameters. NFTs represent unique character skins, power-ups, and arena maps that players can trade on the marketplace.
How do you design sustainable play-to-earn tokenomics?
Sustainable play-to-earn tokenomics requires balancing token emissions with token sinks to prevent inflationary death spirals. Key design principles include: emission schedules that decrease over time (halving models), multiple token sinks including marketplace fees, crafting costs, tournament entry fees, and cosmetic upgrades, a burn mechanism that permanently removes a percentage of transaction fees from circulation, and liquidity pool incentives that create sustainable price floors. The economy should generate value from genuine gameplay engagement rather than relying on continuous new player investment to fund existing player rewards.
How does anti-cheat work with on-chain verification in Web3 games?
Anti-cheat with on-chain verification uses a hybrid approach where the game server validates gameplay in real-time and submits cryptographic proofs of match results to smart contracts. The server tracks player actions, validates that movements and actions are physically possible within game rules, and generates a match result hash that both players sign. Only verified results trigger token rewards or NFT transfers. Statistical analysis detects anomalous win rates or reward patterns, and flagged accounts undergo additional verification before receiving payouts. This prevents common exploits like result spoofing and reward farming.
What tech stack is used for building Web3 games like PACDO?
The PACDO tech stack includes Unity for the game client (providing cross-platform support for browser, mobile, and desktop), Node.js for the authoritative game server handling real-time multiplayer logic and matchmaking, Polygon for blockchain transactions (chosen for low gas costs essential for frequent in-game transactions), Solidity smart contracts implementing ERC-20 for the game token and ERC-721/ERC-1155 for NFTs, and a React.js web application for the marketplace, inventory management, and governance dashboard. WebSocket connections handle real-time game communication while blockchain interactions are batched to minimize transaction costs.
How does DAO governance work for Web3 game updates?
DAO governance for Web3 games allows token holders to propose and vote on game changes including balance adjustments, new content additions, economic parameter updates, and treasury spending. Governance token holders submit proposals with a minimum token threshold, followed by a discussion period and on-chain voting. Proposals covering game balance and content require simple majority, while economic parameter changes and treasury spending require supermajority. A governance council elected by token holders handles time-sensitive decisions. This structure gives the community genuine ownership over the game's evolution while maintaining the development velocity needed for a competitive live-service game.
Hiring

Grow with a team that has shipped software since 2009.

View openings