The most revolutionary crypto shooter-survival real-time NFT-based game on Binance Smart Chain.
The Crypto Purge is a crypto shooter-survival real-time NFT-based game inspired by The Purge (an American dystopian action horror film).
Players will have multiple modes to play the game,
multiplayer. Single mode includes killing zombies and social ranking with friends for earn prizes, the top scorers on the
leaderboard will split the prize pool grant. Multiplayer mode allows players to contribute a certain amount of tokens to the prize pool before each game and the prize pool is split by
Smart Contracts and a
Server Side authority between the winners of the game. The game allow users to mint custom skins with NFTs to be used in the game (Chainlink VRF and Oracles to assign provably rare traits). Player will differ in appearance and style, but they will have no effect on the game mode. All players will have an equal change of winning the game.
The Crypto Purge has a crypto integrated backend that runs on Binance Smart Chain. Smart contracts are responsible for prize pool redistribution and web3.js (Metamask, etc) takes care of the wallet connection. We built the app using ReactJS, Phaser Framework, Hardhat with Chainlink Oracles for smart contracts development and NodeJS with Express Framework using Socket.io for real-time connections.
Creating a decentralized real-time game that requires a back-end connection using
WebSockets is the most challenging part of the project, additionally because "don’t trust the player. Always assume the worst – that players will try to cheat", so it requires an
authority server to create a cheat-proof architecture as cheating players tends to drive the players away from the game, therefore the core problems are
human nature and
authoritative server architecture introduce a whole new class of challenges;
Lag Compensation dealing with networks and scaling the system itself.
We're proud to have created the real-time connection of the game, creating the smart contracts of the platform and the base architecture of the project; front-end, back-end and the smart contracts development using Hardhat with Chainlink Oracles.
We learned about
2D Games with
WebGL/Canvas using Frameworks like
Real-time connections with
Crypto wallets and much more!
Allow gamers to edit their profile.
Open Marketplace to buy and mint custom skins.
Allow gamers to mint weapons and other assets.
Allow gamers to have an inventory.
Add a better configuration for the monorepo and create a Docker image with the configuration to run the project anywhere.
Use Microservices strategy for complex calculations and horizontal scaling, To infinity and beyond!
Share the end results and inspire others with Open Source contributions.