paint-brush
OPCraft is the Best On-Chain Gaming Experiment To Dateby@bankless
890 reads
890 reads

OPCraft is the Best On-Chain Gaming Experiment To Date

by Bankless - MetaversalNovember 23rd, 2022
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

OPCraft is an onchain 3D voxel game built on the modular “build your own blockchain” system that the creators of the Optimism L2 system first introduced in October 2022. The game is built on an op-chain, meaning the blockchain is mainly being used towards updating the World as players modify it. Because the World lives entirely on the blockchain, anyone can go build a custom client that can interact with it without needing to conform to the protocol, as long as the inputs and outputs conform to a protocol that can be accessed through DeFi.
featured image - OPCraft is the Best On-Chain Gaming Experiment To Date
Bankless - Metaversal HackerNoon profile picture

Dear Bankless Nation,

Earlier this week I wrote on how NFT game design is hard.

Yet not every game should be perfectly polished or even follow conventional gaming wisdoms. 

That’s because some games are most useful as experiments for charting out new possibilities.

One such NFT project that’s a compelling unconventional experiment is OPCraft

OPCraft is interesting because it lies at the crossroads of on-chain game engines and layer-two (L2) scaling solutions in a way we haven’t seen before. 

Let’s explore the basics of this innovative project for today’s post!

-WMP

📌 A beginner’s guide to OPCraft

🔴 The OP Stack background

To understand OPCraft you first have to grasp its foundation. 

Notably, the game is built on OP Stack, which is the modular “build your own blockchain” system that the creators of the Optimism L2 first introduced in October 2022. 

As the team explained in their announcement post

The OP Stack is the code powering Optimism’s next-gen architecture. It’s a series of modules that work together to form coherent, reliable blockchains. Each of these components implements a specific layer of the stack.”

Optimism’s developers began formalizing this rollup system after noticing their codebase was being forked for all sorts of unique experiments, and one of these early projects was OPCraft, which customized its chain to improve upon Optimism’s already considerable transaction throughput advantages. 

🧱 OPCraft 101


Created by the Lattice team, OPCraft is an onchain 3D voxel game. 

Voxel refers to the virtual blocks that are used to build structures in-game. 

Onchain refers to the fact that the project uses a decentralized blockchain — Optimism’s modular L2 tech — to host Lattice’s MUD game engine rather than centralized servers. 

In a certain sense, you could consider OPCraft very onchain since all its activities and items are ultimately tracked via Ethereum transactions, as the builders have previously noted

OPCraft is an Autonomous World—a fully on-chain virtual space where every single aspect of the World—every river, blade of grass, and patch of snow sitting atop the mountain ranges—exists on-chain, and every single action in the World happens as an Ethereum transaction.

Just like other crafting-based voxel Worlds, you can explore procedurally generated landscapes, mine ores, place materials, and craft new items. Players can create majestic architectures, erect monuments, and terraform the land, either alone or collaboratively.

OPCraft runs on an op-chain, meaning the blockchain is mainly being used towards updating the World as players modify it. Just like a normal rollup, developers can deploy smart contracts on this chain and anyone can run a node in order to access it.

🖇️ Why it matters

Two of the most compelling things about making onchain games like OPCraft are the extreme customizability and extreme interoperability possibilities they open up.

Regarding customization, onchain game engines are a modding community’s dream — and modder’s dreams can lead to players’ paradises. In being so open and persistently available, these sorts of engines allow anyone to build over the base game however they want. On this point, Lattice has said:

Picture the OPCraft World in incredible 4K definition, beautifully ray traced and rendered by Unreal Engine 5. Or picture an enterprise-grade project management UI for managing and automating mining operations in OPCraft. Because the World lives entirely on-chain, anyone can go build a custom client that interacts with it without needing special permissions, as long as the inputs and outputs conform to the protocol. Just like a DeFi protocol that can be accessed through many different portals, OPCraft doesn’t have a canonical representation. We can’t wait for someone to build a client replacing all characters with anime characters, or a complete rewrite with beautiful shaders.

Secondly, since everything in a game like OPCraft is tracked onchain via smart contracts, all these activities and digital things are immediately interoperable with other smart contracts. This allows people to build their own onchain extensions around games, making the game building a community-centric and open-ended process. The possibilities here are endless. 

“Imagine a smart contract that pays you 1 ETH for every diamond block that you mine for it, or a smart contract that etches your name into its stone monument in the World for a price,” Lattice has said. 

As another example, in the not so distant future you can imagine your web3 identity and reputation solution of choice fielding your onchain gaming achievements as NFT badges alongside your other personal web3 accolades because the smart contracts in question can directly connect to each other. 

🔍 How to explore

If you want to take a look around OPCraft, you can currently head to opcraft.mud.dev

Take note, though, that OPCraft is just a proof-of-concept on a bespoke Optimism testnet right now. The experiment is running for two weeks, and that two week period ends on Halloween, i.e. October 31st, 2022, at 23:59 UTC.

⚠️ Note: “The World and the chain will be frozen in time, immortalizing any structures, art, and monuments you’ve created.” ⚠️

That said, at the time of this post’s writing you still have a handful of days to get some building and exploring in before the testnet closes, but just remember that any initial creations will soon be digital relics. 

As for what comes next, Lattice hasn’t said much at this point, though they have noted that OPCraft “just like current rollups … has a credible path towards autonomy and permissionless.” This suggests OPCraft will eventually evolve to mainnet, so the experiment is seemingly just beginning. Could an onchain gaming renaissance be too?

Only time will tell, but I like the chances. For now if you want to learn more and dig deeper into OPCraft, follow Lattice’s work (DiscordTwitter) or explore and build on OPCraft’s codebase yourself:

Action steps

First Published At: https://metaversal.banklesshq.com/p/optimistic-on-opcraft