mkwn.dev

BT-Menu.png


Battle Tanks




Battle Tanks 2 was a blockchain-integrated multiplayer game featuring a custom Unity menu system, tank customiser, and NFT-backed player assets.


  • Unity
  • Node js
  • MongoDB
  • C#
  • Typescript
  • Solidity


Challenge




The main challenge was creating a seamless connection between gameplay systems and blockchain technology while maintaining a smooth user experience. This included NFT minting, wallet integration, secure player account handling, and synchronising on-chain assets with in-game data.


Goal




Develop a polished and responsive in-game interface alongside a reliable back-end capable of handling player data, NFT ownership, and blockchain event tracking. The solution also needed smart contracts deployed and integrated with the game ecosystem.


vlcsnap-2023-09-01-23h06m47s142 1 (1) (1).png
vlcsnap-2024-05-08-11h59m48s910 1 (1) (1).png
Sequence 01.00_02_44_06 1 (1) (1).png
Sequence 01.00_03_00_16 1 (1) (1).png


Additional




Additional features included a fully interactive tank customiser, progression tracking, live inventory updates, NFT minting workflows, and smart contract event listeners that automatically mapped blockchain assets to player accounts.


Screenshot 2024-05-08 124328 1 (1) (1).png


Infustructure




The platform was deployed on DigitalOcean using droplets to host both the application and supporting services. Traffic is routed through a load balancer to distribute requests and improve reliability.

  • Unity Client
  • Cloudflare
  • Load Balancer
  • API Server (Node js)
  • Redis
  • Storage (s3 compatible blog storage)
  • MongoDB Database
  • Smart Contracts (Deployed on Avalanch mainnet)