Inspiration

Welcome to Secret DreamScape, a mysterious journey into the world between sleeping and waking.

Secret DreamScape is a multiplayer card game that will test your ability to out-wit and out-think your opponents with the victor taking unimaginable spoils.

What it does

Part betting strategy part word builder, this game allows players to play against up to 3 other opponents in a game to see who can outwit the other. Imagine playing a game with elements from both Poker and Scrabble, where you as the player come up with the best words with the available cards.

How we built it

The frontend is built using phaser, a powerful web engine that allows for the creation of both simple and complex games. For better UX we use a local wallet which gives the player the ability to play the game without interruption. On the contract side we authenticate each player with a secret and use the ChaChaRng algorithm to create a cryptographically secure and unique deck each time you play.

Challenges we ran into

For context this was our first blockchain project and our first time using rust. The following were the main challenges we ran into:

  • The documentation available for the secret network could be more comprehensive and sometimes contains contradictory and outdated information in the same place. For example:

    • one of the quick start guides referenced an old image that hasn't been updated in a while
    • integrating keplr with secret.js is not as obvious as it should be, and requires looking at some of the example projects to figure out how to handle correctly
    • the documentation for deploying to the testnet still references holodeck-2 (the old test net while the newest one is pulsar-1), it also references trust-node in secretcli which is not a valid option anymore.
    • in the documentation for storing a wasm binary it's mentioned that you need to use secretcli inside the docker container, but that got renamed to secretd
  • the secret testnet could use some work in getting things like stability sorted out, which we sorted out by deploying our own testnet

Accomplishments that we're proud of

Created a simple game with familiar elements that would excel on the blockchain.

What we learned

A lot about rust, cosmwasm and the secret network.

What's next for Secret Dreamscape

Eventually we would want to extend the product and turn it into a real game that people would want to play (on the mainnet). We want to fix bugs, iron out issues and make the user experience a lot better, stay tuned for updates ;) Furthermore our team intends to develop tools that will solve some of the issues mentioned above, as well as many others.

Built With

+ 11 more
Share this project:

Updates