Battle Tanks - Carbon Play
1 / 5
Multiplayer Gaming & Blockchain Integration
Connecting Unity gameplay systems, player accounts and blockchain assets within a single game experience.
Overview
Battle Tanks 2 was a blockchain-integrated multiplayer game featuring a custom Unity menu system, an interactive tank customiser and NFT-backed player assets.
The project combined player-facing game interfaces with backend services for account data, progression, inventory and NFT ownership. Solidity smart contracts deployed on Avalanche mainnet connected the blockchain assets to the wider game ecosystem.
The Challenge
The game needed to connect two different systems: the responsive interfaces players interact with in Unity, and the blockchain transactions and ownership records behind their assets.
That required wallet integration, NFT minting, secure player account handling and synchronisation between on-chain assets and in-game data. The challenge was bringing these capabilities together without making the player experience feel fragmented.
The Goal
Build a polished, responsive in-game interface supported by a reliable backend for player data, NFT ownership and blockchain event tracking.
The solution also needed deployed smart contracts and an integration layer that could map blockchain activity back to player accounts, keeping the game inventory connected to asset ownership.
What I Built
Unity Interface & Tank Customisation
- A custom in-game menu system built with Unity and C#
- A fully interactive tank customiser
- Player progression tracking
- Live inventory updates
The interface brought customisation, progression and inventory into the game client, giving players a way to interact with their tanks and assets within the game experience.
Player Accounts & Backend Services
- Backend functionality built with Node.js and TypeScript
- Player account and game data handling
- MongoDB integration for persistent application data
- Services connecting in-game inventory with NFT ownership
The backend linked the Unity client to the data and integrations required by the game, providing a common place to coordinate player information and asset records.
Wallet Integration & NFT Minting
- Wallet integration within the game ecosystem
- NFT minting workflows
- NFT-backed player assets
- Integration between asset ownership and in-game data
These workflows connected blockchain functionality to the player experience, allowing minted assets and ownership information to be represented within the game.
Smart Contracts & Event Tracking
Solidity smart contracts were deployed on Avalanche mainnet and integrated with the game ecosystem.
Smart contract event listeners tracked blockchain activity and automatically mapped assets to player accounts. This provided the connection between on-chain events and the inventory data presented to players in Unity.
System Integration
The Unity client, backend API and smart contracts each served a distinct purpose:
- Game client: Presented the menu system, tank customiser, progression and inventory.
- Backend services: Managed player data and connected game systems with blockchain integrations.
- Smart contracts: Supported the on-chain assets and minting workflows.
- Event listeners: Mapped blockchain asset activity back to player accounts and in-game records.
The integration work centred on keeping these systems connected so that the game's representation of player assets reflected their blockchain ownership.
Infrastructure
The platform was deployed on DigitalOcean droplets, with a load balancer distributing requests across the hosting environment to improve reliability.
The infrastructure included:
- Unity client: The player-facing game application
- Cloudflare: Part of the platform's traffic infrastructure
- Load balancer: Request distribution
- Node.js API server: Backend application services
- Redis: Supporting data infrastructure
- S3-compatible object storage: Blob and asset storage
- MongoDB: Persistent player and application data
- Avalanche mainnet: Deployed Solidity smart contracts
Outcome
Battle Tanks 2 brought a custom Unity interface and tank customisation experience together with player data services, NFT minting and blockchain asset tracking.
The project covered both the player-facing experience and the integration work behind it: connecting game interfaces, backend records and smart contract events so that blockchain assets could function within the game ecosystem.
Technology
- Game Client: Unity, C#
- Backend: Node.js, TypeScript
- Database & Supporting Services: MongoDB, Redis
- Blockchain: Solidity, Avalanche mainnet, wallet integration, NFT minting, smart contract event listeners
- Hosting: DigitalOcean droplets
- Traffic & Delivery: Cloudflare, load balancer
- Storage: S3-compatible object storage