Book a free call

How to Build an NFT Card Game Like Gods Unchained

Build an NFT card game like Gods Unchained with ownable cards, ranked play and a token economy. Here is the design, the build steps and what it costs.

Hertiv engineering teamReviewed by a senior engineer
8 min read
How to Build an NFT Card Game Like Gods Unchained
On this page

Short answer

An NFT card game like Gods Unchained is a free-to-play trading card game where each card is an NFT that a player truly owns, trades or sells outside the game. You build it from a game client, smart contracts for cards and packs, a marketplace, and a token economy that rewards play without letting new cards flood the market.

What is an NFT game like Gods Unchained?

An NFT game like Gods Unchained is a trading card game in which the cards players collect are NFTs stored on a blockchain, so players own them and can trade or sell them outside the game. Gods Unchained itself is a free-to-play, turn-based card game built by Immutable, where two players duel with 30-card decks built around one of six gods.

The key idea is that the cards are property, not rented game items. In a normal card game, the publisher owns every card and can change or remove it. In Gods Unchained, competitively usable cards are ERC-721 NFTs, first on Ethereum and later on Immutable X, the layer 2 network built for NFT trading with no gas fees on minting and trading.

Players earn plain core cards by playing ranked matches, then forge them into NFTs by combining cards with Flux and GODS, the game's ERC-20 token. That forging step matters: it keeps free-to-play onboarding gasless and makes on-chain status an upgrade players choose, rather than forcing every earned card onto the chain at once.

A clone does not need to copy the gods, the art or the exact rules. It needs the same structure: a skill-based card game, cards as ownable NFTs, a way to earn cards by playing, and a marketplace where players trade them. For a broader view of NFT games, see what NFT games are.

How does Gods Unchained actually work?

Gods Unchained works as a normal off-chain card game with the blockchain used as a property registry, not as the game engine. Matches run on game servers; the chain records who owns which card and moves cards between wallets when they are traded.

Each player picks one of six gods, each with its own domain such as War, Magic, Nature, Death, Light or Deception, and builds a 30-card deck. Players take turns playing creatures and spells, and the match ends when one god's health reaches zero. Ranked play pays out packs and GODS tokens, which feeds the economy with new cards and rewards.

The card economy has three parts. First, card packs are sold or earned, and opening a pack gives a random set of cards. Second, forging turns earned core cards into tradable NFTs by spending GODS and Flux. Third, the marketplace lets players buy and sell cards for GODS or other tokens, with the game taking a small fee on trades.

The GODS token has a fixed supply of 500 million and is used for forging, staking and governance votes. A fixed supply matters because it caps how much reward currency can ever exist, which is one of the few hard limits a game economy can set. For how other NFT games structure their economies, see how to create an NFT game like Zed Run.

What do you need to build a card game like it?

Building a card game like Gods Unchained needs five parts working together: the game itself, the card contracts, the marketplace, the economy and the player accounts. The table below shows each part and what it has to do.

Part What it does Typical choice
Game client Renders matches, decks and collection screens Unity or Unreal on desktop and mobile
Card contracts Mint cards as NFTs and record ownership ERC-721 on an L2 or a low-fee chain
Pack and forge logic Opens packs and turns earned cards into NFTs Smart contracts plus an off-chain randomiser
Marketplace Lists, buys and sells cards between players Built-in market or an existing NFT market
Token economy Rewards play and pays for forging and packs One capped ERC-20 token
Accounts and wallets Links a player profile to a wallet Email login with a custodial or linked wallet

The game client is the biggest piece of work. A trading card game needs a rules engine, matchmaking, ranked ladders, deck building and a collection screen, and none of that runs on a chain. Plan the client first and treat the blockchain as an ownership layer that plugs into it.

Choose the chain before you write the contracts. Minting thousands of cards on Ethereum mainnet is too costly for a free-to-play game, which is why Gods Unchained moved to Immutable X. A layer 2 or a low-fee chain keeps minting and trading cheap enough that players can trade small-value cards without the fee eating the trade.

How do you build it, step by step?

You build an NFT card game like Gods Unchained in six steps, starting with the game and the economy on paper before any contracts are written.

  1. Design the card game first. Fix the rules, the factions or gods, the deck size, the win condition and the card rarities. Playtest with paper cards or a simple prototype until matches feel fair and finish in a reasonable time.
  2. Model the economy on paper. Decide how many cards enter the game each week, how forging removes cards, what the token is spent on and what the marketplace fee is. If new cards enter faster than new players arrive, card prices fall.
  3. Build the game client and the rules engine. Implement matchmaking, ranked play, deck building and the collection screen. The rules engine should be testable without any blockchain attached.
  4. Write and audit the contracts. Card minting, pack opening, forging and the marketplace need contracts that are audited before launch, because a bug in a minting function can create unlimited cards.
  5. Add wallets and the marketplace. Let players connect a wallet, see their cards, list them for sale and buy from other players. Keep the flow simple enough that a new player can buy a first pack without reading a guide.
  6. Run a closed beta, then open ranked play. Invite a small group, watch the economy for a few weeks, fix balance and pricing problems, and only then open the marketplace to everyone.

Keep the chain out of the match itself. Matches need to resolve in seconds, and no chain is fast enough to run every turn on-chain. The contracts should only handle ownership, minting, forging and trading. For the platform version of this idea, see how to create an NFT gaming platform on Solana.

What does it cost to build?

The cost of building an NFT card game like Gods Unchained depends on the size of the card set, the platforms and how much of the marketplace you build yourself. The table below gives planning ranges for a small studio build.

Item Planning range Notes
Game design and balance $15,000 - $40,000 Rules, card set design and playtesting
Game client $60,000 - $150,000 Desktop first; mobile adds cost
Card art, 150 cards $20,000 - $60,000 Art cost scales with card count
Smart contracts $25,000 - $60,000 Minting, packs, forging, marketplace
Security audit $15,000 - $40,000 One audit round for the core contracts
Marketplace and wallets $20,000 - $50,000 Cheaper if you use an existing market

Art is the cost most teams under-budget. A trading card game lives or dies on its cards, and 150 cards at a modest rate is already a large art bill. Start with a small set of 100 to 150 cards and add expansions only after the first set plays well.

Running costs continue after launch: servers, matchmaking, support, new card sets and token rewards. Budget the first year of running, not just the build, and set one success number, such as weekly active players, with a date to judge it by.

Example (hypothetical): a small studio's first season

Example (hypothetical): a small studio launches a card game with 150 cards, a $15 starter pack and a 2.5% marketplace fee. In the first season, 10,000 players join and 3,000 of them buy a starter pack.

Pack sales bring in 3,000 x $15 = $45,000. Players then trade cards on the marketplace: 20,000 trades at an average of $8 each gives $160,000 of volume, and the 2.5% fee earns the studio $4,000. Total first-season revenue is $45,000 + $4,000 = $49,000.

Costs for the season are $30,000 of build work carried into launch and $8,000 for the contract audit, a total of $38,000. That leaves $49,000 - $38,000 = $11,000 before server, art and support costs, which is why the studio plans a second card set only after the first season covers its running costs.

The lesson is that pack sales, not marketplace fees, pay for the game early on. Fees only become meaningful once trading volume is large, so the studio focuses on getting more players buying packs rather than on squeezing more fee income from a small player base.

What are the common mistakes?

The most common mistakes when building an NFT card game are copying the economy without the game, minting too many cards, and skipping the audit.

  • Copying the token before the game. A GODS-style token does not make a bad card game fun. If matches are boring, players leave and the token follows.
  • Minting without a sink. If every ranked win creates new cards and nothing removes them, supply grows and card prices fall. Forging, crafting or burning must remove cards at a similar rate.
  • Skipping the contract audit. A bug in a pack or minting contract can create unlimited rare cards overnight. Audit the core contracts and test pack opening with the same randomness the live version will use.
  • Putting matches on-chain. Every turn as a transaction is slow and costly. Keep matches off-chain and use the chain only for ownership and trading.
  • Launching the marketplace on day one. An open market with few players means thin trading and wild prices. Open ranked play first, then the market once enough cards exist.

Key takeaways

  • A Gods Unchained-style game is a card game first: cards as NFTs, forging to mint, and a capped token
  • Matches run off-chain; the blockchain records ownership, minting, forging and trades
  • Forging is the sink that stops new cards from flooding the market
  • Pack sales pay for the game early; marketplace fees only matter at large volume
  • Audit the minting and pack contracts before launch, and open the market after ranked play

Frequently asked questions

What makes Gods Unchained different from other card games?

Gods Unchained is a free-to-play trading card game where competitively usable cards are NFTs that players own and can trade outside the game. It uses six gods, 30-card decks and ranked play that pays out packs and GODS tokens, with cards minted on Immutable X so trading has no gas fees.

Do I need to copy Gods Unchained's rules to build a similar game?

No. You need the same structure: a skill-based card game, cards as ownable NFTs, a way to earn cards by playing, and a marketplace. The rules, factions, art and card set should be your own, both for copyright reasons and because a copy rarely keeps players.

Which blockchain should an NFT card game use?

Use a layer 2 or a low-fee chain where minting and trading are cheap enough for small-value cards. Gods Unchained moved from Ethereum mainnet to Immutable X for this reason. The chain choice matters less than keeping matches off-chain and fees low.

How do players earn cards without paying?

Players earn plain core cards through ranked play, then forge them into tradable NFTs by combining cards with Flux and GODS tokens. This earn-then-mint model keeps onboarding free while making on-chain cards something players work toward.

What is the GODS token used for?

GODS is the game's ERC-20 token with a fixed supply of 500 million. Players spend it to forge cards into NFTs, stake it for rewards, and use it in governance votes on the game's ecosystem.

How much does it cost to build an NFT card game?

A small studio build usually falls between $150,000 and $350,000 for design, client, art, contracts, audit and marketplace, before running costs. Art and the game client are the largest items, and a second card set should wait until the first set proves players stay.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: blockchain systems in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Planning an NFT card game or a Web3 game economy? Talk to Hertiv.

A senior engineer replies within one business day. Or see our dApp Development service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call