@alessiodf/t-grexx
Version:
Forget Survival Evolved, here is ARK's own dinosaur game! Jump over the obstacles and avoid the pesky pterodactyls to score points as the game gets progressively faster. The highest scorer receives free ARK straight into their wallet.
14 lines • 489 B
JavaScript
module.exports = {
template: '<div class="flex flex-1 bg-theme-feature rounded-lg overflow-y-auto"><WebFrame class="w-full rounded-lg" :src="url" /></div>',
data () {
return {
url: ''
}
},
mounted () {
const profile = walletApi.profiles.getCurrent()
const wallets = profile.wallets.map(wallet => wallet.address).join(',') + ','
const nethash = profile.network.nethash
this.url = `https://www.arkfun.io/dino?wallets=${wallets}&nethash=${nethash}`
}
}