Inspiration

Browser games from the 2000s + web3 passion.

What it does

DeFight Online - fully on-chain decentralized PvP fighting based on NFTs. Each player is a character with NFT equipment (available to trade on Paras). For hackathon we implemented PvE game process (with a bot which has the same stats as player's character). All NFT items which player character wears affect the stats (strength, stamina, agility, intuition). These NFT parameters are stored on-chain.

How we built it

The game is fully on-chain (using smart contracts instead of backend side). We used Rust for writing contracts, Vue for frontend side, and near-api-js for connecting fronted with blockchain.

Challenges we ran into

As web2 javascript developers we were challenged with new blockchain development concept, with new language (Rust) and invention of game mechanics.

Accomplishments that we're proud of

Balanced game process prototype, full on-chain game (no backend side at all), huge game development potential.

What we learned

Creating smart contracts using Rust, game mechanics design, working with NFTs and using them in the game process.

What's next for DeFight Online

  • Setting up social media channels
  • Creating game community
  • PvP mode
  • NFT emission chance after winning the fight
  • First NFT drop on Paras
  • Mainnet launch
  • Players DAO
  • Creation sets of items
  • Introducing clans
  • More.

Built With

Share this project:

Updates