https://github.com/ThierryM1212/blobs-topia
Blob fighter game on ergo blockchain
https://github.com/ThierryM1212/blobs-topia
Last synced: 5 days ago
JSON representation
Blob fighter game on ergo blockchain
- Host: GitHub
- URL: https://github.com/ThierryM1212/blobs-topia
- Owner: ThierryM1212
- License: gpl-3.0
- Created: 2022-08-18T10:09:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-17T08:42:06.000Z (over 2 years ago)
- Last Synced: 2023-03-05T13:23:47.097Z (about 2 years ago)
- Language: JavaScript
- Size: 70.8 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ergo - Blobstopia - topia/releases/tag/v1.1.0) *(Done)* (🖼️ NFT Ecosystem <a id="nft-ecosystem"></a> / 🗿 NFT Projects <a id="nft-projects"></a>)
README
# blobs-topia
Blob fighter game on ergo blockchain
https://www.blobs-topia.fun/# What is Blob's Topia ?
Blob's Topia is a game on Ergo blockchain in which you can own blob fighters smart contracts.
Those blob fighters are owning an amount of ERG and can bet an amount for a fight.
Once two blobs wait for the same bet, they can engage a fight.
The winner get all the bets, minus the miner fees and the Blobinator fee.
Both winner and loser get some Oatmeal tokens to be able to feed their blob and Spicy Oatmeal tokens to fight the Blobinator.
By feeding a blob you can increase their Attack or Defense level to make them stronger and increase your winning ratio.
The blobs have also an upgradeable armor and you can choose and upgrade their weapons to make them stronger
The blobinator fee is collected during the fights, 3% of the fight amount.
Once the total blobinator reach 1 ERG, a Blobinator is invocated and the blob can try to bait him with Spicy Oatmeal tokens.
The Blobs have a fixed winning ratio of 1/30 against the Blobinator, the fight cost 2 transaction fees (0.0022 ERG).# Do I really own my blob ?
Yes, most of the actions for a blob are only doable by the address set in that blob.# What can I do with my blob ?
What can I do with my blob ?
- ready to fight (and cancel)
Set the Blob ready to fight for an amount of ERG (min 0.1).
- fight another blob
Engage the fight with a Blob waiting for the same amount.
- bait the Blobinator (and cancel)
Wait for a Blobinator and try to fight it.
- fight a Blobinator (if invoked)
Fight the Blobinator.
- engage sale (and cancel)
Set the Blob on sale for an amount of ERG (min 0.1).
- sell (change owner)
Sell the Blob to another player (address).
- deposit/widthdraw ergs
Add or remove ERGs from the Blob, minimum 0.1 ERG.
- feed the blob
Increase the attack and defense level of the Blob by feeding him with Oatmeal tokens earned as fight reward.
- choose a weapon
Choose a type of weapon for a Blob (Sword, Axe or Mace).
- upgrade the weapon
Upgrade the weapon of the Blob to the next level.
- change weapon
Change the kind of weapon for the Blob (restart at level 0).
- upgrade the armor
Upgrade the armor of the Blob to the next level.
- kill the blob
Destroy the Blob and returns the ERG content to the owner.# Project structure
## front-end
React static js application## contracts
Ergo contracts used by the game to be compiled off line and integrated in the script_constant.js files## blobs-bot
Off-chain bot that can process the dApp requests, not mandatory as the buttons exists in the front end
Fight bot allowing to automatically re-engage the fight for a configured amount