Book a free call

How to Build a Blockchain Game Like Pixels

Pixels pairs a free browser farming game with land NFTs and a token economy. Here is how to plan the same shape of game, from chain choice to launch.

Hertiv engineering teamReviewed by a senior engineer
7 min read
How to Build a Blockchain Game Like Pixels
On this page

Short answer

To build a blockchain game like Pixels, start with a free browser farming game that anyone can play, add land NFTs that owners can rent out, and run a two-token economy where one token governs and a soft currency covers daily play. Pick a low-fee chain, design sinks before rewards, and test the economy with a small group before opening it up.

What is Pixels, and what would you copy?

Pixels is a free-to-play farming and social game that runs in a web browser, where players grow crops, raise skills, trade with each other and own land, and the land and tokens live on the Ronin blockchain. It launched on Polygon in 2021 and moved to Ronin, the gaming chain built by Sky Mavis, in September 2023.

What makes Pixels worth copying is not the farming. It is the shape: a casual game anyone can open in a browser, a free plot of land for every new player, and a layer of ownership on top for players who want more.

New players get a small free plot called a Speck, where they can plant, water and harvest at once, while land owners run larger farms and take a share of what visitors grow.

The game also shows how a token economy can sit beside a game without swallowing it. PIXEL is the governance and staking token, with a maximum supply of 5 billion, while softer in-game currencies cover everyday play. Players can sign up with just an email, so no wallet is needed to start.

Copy the shape, not the skin. Your game needs its own setting, its own loop and its own reason for players to return. A farming clone with different art will not hold anyone.

Which parts of a Pixels-like game live on chain?

Not everything in a Pixels-like game needs the chain. The art, the world map and the moment-to-moment play can run off chain, while ownership, trade and rewards live on chain where they matter.

Part of the gameOn chain or off chainWhy
Land plotsOn chain as NFTsOwnership, rent and resale need proof
Governance tokenOn chainStaking, voting and rewards need a real token
Soft currencyOff chainDaily spending is too frequent to pay gas on
Crops and skillsOff chain, with on-chain rewardsPlay stays fast and free; only value moves on chain
Marketplace tradesOn chainBuyers need to trust that the item is real

This split is the most important design choice you will make. Put too much on chain and every click costs gas and waits for a block. Put too little on chain and players own nothing, which removes the reason to use a blockchain at all.

Land deserves special care. In Pixels, Farm Land NFTs give owners exclusive industries, higher yields and the right to take a share of what visitors grow. Your land should offer something a free plot cannot, or nobody will pay for it.

How do you design an economy that lasts?

A game economy lasts when tokens leave the game almost as fast as they enter it. Pixels learned this the hard way: its own team has listed coin inflation, oversupply of resources and too few coin sinks as problems it is still fixing.

Start by listing every source and every sink before you write a line of economy code. Sources are the places tokens enter: quest rewards, harvests, staking payouts and land yields. Sinks are the places tokens leave: crafting fees, land upgrades, cosmetic purchases, entry fees for events and withdrawals.

FlowExamplesWhat to watch
SourcesHarvest rewards, quests, stakingToo generous and the token floods
SinksCrafting, upgrades, event entryToo weak and nothing leaves the game
TradesMarketplace fees, royaltiesFees should fund the sink side
WithdrawalsToken cash-outs, VIP gatingGate them, or the economy drains fast

Two tokens help. A hard token that governs and stakes, and a soft currency that covers daily play, lets you tune each side separately. When the soft currency inflates, you can add sinks without touching the token holders' asset.

Test the economy with numbers, not hope. Model a month of play for a thousand players, add up the sources and the sinks, and see whether the token supply grows or shrinks. If it grows every month, the economy will not last.

What are the steps to build it?

Build in this order, and keep each step small enough to test before moving on. A farming game is forgiving to build in slices, because each system can be played on its own.

  1. Pick the loop. Choose one action players repeat daily, such as planting and harvesting, and make it fun without any token attached.
  2. Choose the chain. Pick a low-fee chain your players can use, with a wallet flow they already know, and confirm gas costs for your busiest action.
  3. Design the land. Decide what land owners get that free players do not, and how rent and visitor shares work.
  4. Design the two tokens. Set the hard token's supply and uses, and the soft currency's sources and sinks, then model a month of play.
  5. Build the game first. Ship the browser game with accounts and play, and add the chain features behind a flag you can turn on.
  6. Add the contracts. Deploy land, token and marketplace contracts, audit them, and test every trade path on a test network.
  7. Launch small. Open to a few hundred players, watch the economy daily, and fix the sinks before you open the doors wider.

Do not launch the token on day one. A game that is fun without a token can add one later. A game that needs a token to be fun has no game underneath it.

What does it cost to build?

The cost of a Pixels-like game depends on how much you build yourself and how much you borrow from existing tools. The game itself is the largest cost, and the chain work is a smaller share than most teams expect.

PartPlanning rangeNotes
Browser game and art$60,000 to $150,000Small team, six months, simple pixel art
Smart contracts$20,000 to $50,000Land, token and marketplace contracts
Security audit$15,000 to $40,000One audit round for the contracts
Backend and accounts$15,000 to $30,000Login, saves, leaderboards, support tools
Launch and community$10,000 to $25,000Moderation, events, first season rewards

These are planning ranges, not quotes, and they assume a small team rather than a large studio. Art style drives the biggest swing: simple pixel art is cheap to produce and easy to extend, while detailed 3D art can double the game budget on its own.

Keep a reserve for the audit fixes. An audit that finds real issues will need a second round of work and a re-check, and that time should be in the plan before launch, not after it.

Example (hypothetical): how does a small land sale work out?

Example (hypothetical): a studio sells 500 land plots at $200 each in its first land sale. The same year, players resell land on the marketplace 2,000 times at an average price of $150, and the studio takes a 5 percent royalty on each resale.

The first sale brings in 500 times $200, which is $100,000. The resales total 2,000 times $150, which is $300,000, and 5 percent of that is $15,000 in royalties. Together, the land brings in $115,000 in its first year.

The studio spends 20 percent of that on platform fees, marketing and community rewards, which is $23,000. That leaves $92,000 net from land in the first year, before the cost of building the game itself.

The lesson is that the first sale is the easy money and the royalties are the slow money. A land economy that depends on the first sale alone runs dry after launch, while royalties only pay if players keep trading, which only happens if the game stays worth playing.

Common mistakes

The most common mistake is launching the token before the game is fun. Players who arrive for the token leave when the price moves, and a game with no players has no economy to fix. Make the loop fun with no token at all, then add the token.

The second mistake is designing sources and forgetting sinks. Every reward needs a matching way to spend, or the token supply grows every month until rewards are worth nothing. Model the flows before launch, and watch them weekly after it.

The third mistake is putting every action on chain. Farming, watering and chatting do not need transactions, and charging gas for them makes the game slow and costly. Keep the chain for ownership and trade, and keep play off chain.

The fourth mistake is copying Pixels too closely. Land, farming and a token are a shape, not a game. Your setting, your loop and your community are what players return for, and a clone with different art will not hold them.

Key takeaways

  • Copy the shape, not the skin
  • Keep play off chain and ownership on chain
  • Design sinks before you set rewards
  • Launch the token after the game is fun
  • Model a month of play before you launch

Frequently asked questions

What is Pixels?

Pixels is a free-to-play farming and social game that runs in a web browser. Players grow crops, raise skills, trade with each other and own land, with land and tokens on the Ronin blockchain. It launched on Polygon in 2021 and moved to Ronin in September 2023.

Do I need to build on Ronin to make a game like Pixels?

No. Ronin fits Pixels because it is built for games with low fees, but any low-fee chain with a wallet flow your players know can work. Pick the chain your players can use easily, not the one your model copied.

What is the difference between PIXEL and the soft currency?

PIXEL is the governance and staking token with a fixed maximum supply of 5 billion. The soft currency covers everyday play and can be earned and spent freely without touching the token supply.

How do land NFTs earn money for their owners?

Land owners can farm their own plots, let visitors farm for a share of the output, and sell or rent the land later. In Pixels, land also gives access to exclusive industries and higher yields than a free plot.

How much does it cost to build a game like Pixels?

A small team can build the game, contracts, audit and launch for roughly $120,000 to $295,000 in planning ranges. The game and art are the largest share, while the chain work is smaller than most teams expect.

Should I launch the token at the same time as the game?

No. Launch the game first and make the loop fun without a token. Add the token once players return daily, because a token cannot save a game that is not fun to play.

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 a farming game on chain?

A senior engineer replies within one business day. Or see our Blockchain 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