Vara-Man
This is an example of the famous classic game, implemented on the blockchain with Signless and Gasless options.
Description
In a world where digital coins await around every corner, a courageous Vara-Man embarks on an epic adventure through treacherous mazes. His mission? Collect as many shiny coins as possible while outmaneuvering the bandits lurking in the shadows.
Navigate through intricate labyrinths, each level more challenging than the last, as you race against the clock to amass a glittering fortune.
How to Play
Singleplayer
Select the difficulty level that best suits your skills to begin your coin-collecting crusade. There are 3 modes: Easy, Medium and Hard. Depending on the selected level and outcome, you will receive different rewards.
Multiplayer
Create your own game tournament, invite your friends, and compete for the ultimate reward. As a creator, you set a bid, which each player has to pay, too! One winner takes the entire prize pool!
You can put 0 VARA for entering the gameplay with no prize, just to have fun!
Technical Aspect
At the heart of the game lies a meticulously crafted smart contract responsible for managing player registrations, game instances, and reward distribution.
The production version of the game serves solely for demonstration purposes. It requires a VARA balance to pay for gas and does not award rewards in VARA tokens (the game result is simply displayed on the screen without a transaction to transfer funds).
It is possible to connect a fungible token contract, in whose tokens the reward will be distributed, and specify an account with a balance from which to transfer the reward. You can download the source code and run the game locally with your own parameters here: https://github.com/gear-foundation/dapps/tree/master/contracts/vara-man.
For in-depth details, refer to this resource: https://wiki.gear-tech.io/docs/examples/Gaming/varaman/.
Gear Foundation
- Game