Skip to content

Conversation

@sdoddler
Copy link

Project Overview 📖

  • Project Name: Xah-Elementals
  • Folder Project Name Inside submissions Branch: sdoddler-Xah_Elementals
  • Project Description: a Simple URI token game - harnesses the power of the URI tokens and shows off their capabilities such as the offer on mint, burnable flag, and their no-duplicates enforcement.

Project Details 🛠

  • Included Project Files (code, documentation, etc.)
    • Xah-minter.js - backend script for automatically minting new Elementals when previous ones are bought.
    • Xah-battle.js - backend script that does the battle logic
    • xah-nukeownedURIs.js - utility script to burn all URI tokens owned by an account.
    • xah-airdropURITokens.js - utility script to airdrop URI tokens to a list of accounts.
    • forwarder.c - hook for forwarding 20% of Elemental costs to another account (rPNK ...)
  • Detailed README.md file containing:
    • Project Description
    • Instructions on How to Use the Project
    • Integration Details for Xahau Hooks - if used

How to Use the Project 🚀

Although the entire project will not be able to be replicated and run owing to various backend PHP & Database calls that are hidden. Anyone can participate:
Elementals can be purchased for 5 $XAH from:

With their type revealing shortly after via discord in the xah-elemental-reveal channel
Join TheShillverse Discord

Your elementals will automatically be set to "Fighting" status, and will participate in the next battle if there is 2 or more elementals at Level 1.

To Level up you need wins!

  • Level 2: 1 Win
  • Level 3: 3 Wins
  • Level 4: 6 Wins
  • Level 5: 10 Wins

Elementals also have damage Modifiers against each other as follows:

  • Fire consumes Air (1.5x) but struggles against Water (0.75x). 🌋💨
  • Water douses Fire (1.5x) but gets absorbed by Earth (0.75x). 🌊🌍
  • Earth crushes Water (1.5x) but crumbles under Air (0.75x). 🪨🌪️
  • Air erodes Earth (1.5x) but fuels Fire (0.75x). 🌪️🔥

if you wish to Rest your elemental you can do so via TheShillverse Website (Elementals) - logging in with Xaman.

This website also has a leaderboard for the top ranked by Level & Wins.

Integration with Xahau Hooks 🔗

Before I realised there was an example hook called "Carbon" I went about making my own percentage based forwarder hook, based on Ekisperre's forwarder.
This hook sends a set percentage of $XAH to a specified account, when drops are above a minimum. Repo here, but will upload to this folder as well
My plan with this forwarded $XAH was to then incorporate a player based raffle/lottery system where every Xah Elemental also triggered a possible win of the current jackpot. Unfortunately I ran out of time for the latter hook.

Mandatory Tweets 🐦

Submissions will be shared and amplified by the @XahauNetwork account, giving your work additional visibility within the community.

  • First Mandatory Tweet announcing your participation:

  • Second Mandatory Tweet upon submission for final review:

Additional Information 📄

I understand that it's hard to judge when I have to keep a certain level of backend hidden, but hopefully the Judges will enjoy this submission through playing, reviewing the discord & exploring the art of the Elementals.
I have also uploaded some utility scripts that I found handy that could be reused in future by others, or cleaned up to create proper community tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants