ChibiFighters and Skilled Developers

Words
450
Reading
2 min
Listen
Play
8y

ChibiFighters and Skilled Developers

Join our Discord : [https://discord.gg/kvhebsr
Join our Facebook : [https://www.facebook.com/ChibiFighters/]
Join our Twitter : [https://www.twitter.com/chibifighters]
Join our Reddit : [https://www.reddit.com/r/chibifighters/]
Join our Steemit : [https://www.steemit.com/@chibifighters]

api1.jpg

In the following passage I will submit/relay a exerpt from the ChibiFighters website : [https://www.ChibiFighters.io]
I want the tools they offer to be well known as well as the gaming experience.

Chibi Fighters

Chibi Fighters API calls

Image Calls

Local image path on our server

Call via ID, which is your unique Chibi token number.

https://chibigame.io/chibis.php?id=1

Returns: ./chibis/generated/0/0/356a192b7913b04c54574d18c28d46e6395428ab.png

Global image path on our server

Call via ID, which is your unique Chibi token number.

https://chibigame.io/chibis.php?g&id=1

Chibi with no weapon global path

Call via ID, which is your unique Chibi token number.

https://chibigame.io/chibis.php?g&weapon=0&id=200

Query a Chibis data

Call via ID, which is your unique Chibi token number.

Returns a JSON encoded string

https://chibigame.io/chibis.php?idj=1 would return

{ "imageUrl":"", "externalUrl":"https://chibigame.io/detail.php?id=3", "description":"I'll cut you: oh yeah!" - This is Blue's Battle Roar. Chibis fight for Ether and Glory. Are you a true Warrior? Check them out at https://chibifighters.io", "name":"Blue", "properties": { "isDead":"I am Dead", "trait1":"Fusion Addict", "trait2":"Lab Crazy", "trait3":"Forcefield", "gen":0, "fusionCounter":1, "winsRingOfDeath":0, "wins":1, "losses":2 } }

Contract Addresses

Chibi Contract: 0x71c118b00759b0851785642541ceb0f4ceea0bd5

Battle Contract: 0x9e0f1286f20a9200607eabfa4e765f034fab5a3a

Founders Contract: 0x85Dd50BB40b7770564d35D71B0C6EAf3ec1d9603

ABIs

Our ABIs can be found here:

https://chibigame.io/abi/chibiFightersABI.js

This is the main Chibi creation contract. It deals with buying Chibis, selling, fusion and converting FCFs to Chibis.

queryChibi(tokenId) - returns

string nameChibi, - name of the Chibi (protect yourself from injections!)
string infoUrl, - infoUrl of the Chibi, returns a json, but can be altered by user (protect yourself from injections!)
uint16[13] dna, - dna of the Chibi
uint256 father, - father token id of Chibi
uint256 mother, - mother token id of Chibi
uint gen, - generation of Chibi
uint adult - after which time (in seconds) it is considered adult

queryFusionData(tokenId) - returns

uint256[] fusions, - fusions (as tokenIds) that came out of that Chibi
bool forFusion, - available to fuse with
uint256 costFusion, - cost to fuse with in WEI
uint256 adult, - after which time (unix timestamp in seconds) it is considered adult
uint exhausted - exhausted from fusion until this time (unix timestamp in seconds)

uint256 - Amount of Chibis in existence

uint256 - Current price of a GEN0 Chibi in WEI

https://chibigame.io/chibiBattleABI.js

This is the battle contract that deals with everything war and warriors.

Looking at the DNA of a Chibi

The example on the left shows a Gen0 Chibi. Don't worry about details just know that the first 0 (16160) is the facetype used. In this case a grumpy looking face. And the 6 right before the | is the weapon slot. Basically the default weapon Chibis are born with. In this case a Founder weapon since its <10.

The part after the | is the interesting part. 0 is the Gen. In this case Gen0
The next number 3 is the rarity, in this case Legendary (see various)

What now follows are trait 1-3. Trait1: 1, Trait2: 4, Trait3: 2
If you scroll down you will see that stands for Lazy Bum, Lab Crazy and Lazy Peon.
When offering it for fusion, only Trait1 and Trait2 can be passed on. Trait3 is always random.

Chibi Fighters

Word from the Founder

If it wasn't for the fantastic people that keep pushing through when nights are short, days blend into each other and still have a smile for the latest Chibi at hand, this Game would have never seen the light of day.

Thank you all! You guys and gals rock. It's your passion that made and makes this a reality.

Garry Runke

Credits

Core Team

F.Rayyan - 2D Artist

kiwi - 2D Artist

G.Runke - Front/Back End Coder

R.Fehlner - Lore Writer

stinic - Chinese Translation

TheHermitMonk - Promotion/Support/Testing

ETHena - Promotion

O.Schmid - Promotion/Marketing

Technical Support

ccashwell

Discord Crew

doublejump

onswitch

irrationalfire

JBDoge

Sanko

A great community filled with Integrity and ambition. One of my favorite things to find in a group.

ChibiFighters and Skilled Developers | Ecency