/seele-dice

SD Game

Primary LanguageJavaScriptMIT LicenseMIT

seele-dice

In root floder runs: browserify -r ./dice/dice.js:dice.js > ./game/js/dice.js

seele.js version

1.3.2

FilterBlockTx

When this call ends, the callback function is called and the data is "end".

dice.FilterBlockTx(6066, function(data){
    console.log("callback")
    console.log(data)

    if (data === "end"){
        console.log("fileter over")
    }

    if (data instanceof Error){
        console.log("callback Error")
        return
    }

    console.log("callback Success")
})

Deploy

The dice is connected to ${document.domain}+/seelens:8037. When the game goes online, someone needs to change the nginx configuration to connect to the seee master node.