Please describe your proposed solution.
In order to complete the game to a customer ready standard the following required additions include:
Tx builder:
this will dramatically reduce the cost of playing the game. The current gameplay mechanism involves transactions that are sent by the users to the Scradabble engine, which then computes them and produces an additional transaction to send back to the users the resulting product.
For example a user sends a selection of NFT letters and gets back an NFT word.
With the new tx builder that we are proposing we’ll be able to create one transaction on the backend side that will be executed directly from the user, removing the need of two transactions.
In this way the cost to play (in transaction fees) for users is halved.
Code refactoring:
this will improve the performance of execution and will make the game capable of handling more users in parallel.
Improve testing:
this will simplify the development of the features in the future without introducing bugs and breaking changes.
At the moment the utility library that is used from frontend and backend contains tests for ~50% of the code and backend contains tests only for 10%. The goal is to reach 80-90% of tested code in the utility library and 50% for the backend code. We are not aiming to have full test coverage in order to reduce the budget request and have more chances of getting funded.
How does your proposed solution address the challenge and what benefits will this bring to the Cardano ecosystem?
Scradabble is a word puzzle and collectible game.
Using the Cardano network players can collect and trade letter tiles that can be used to make words and combos of words. By connecting a wallet and purchasing letter bags players can then use purchased letters to mint words made up of those letters. Players earn Scradabble unity tokens that can then be used for a variety of purposes. Additionally the words players own can be traded on asset exchange marketplaces, sold or traded directly with other players and can be used to create a larger asset type of Combos of words.
Scradabble can be used as a teaching aim to show the real utility of Cardano NFTs. It’s a straightforward showcase of wallet integration, asset purchase, asset ‘melding’ through burning, and asset transfer between wallets. We feel that nothing like this exists in the Cardano ecosystem and offers a fun and simple way to teach and learn the basics of digital native assets.
How do you intend to measure the success of your project?
The success of the project can be measured by:
- the number of transactions generated by the users
- the number of wallets owning Scradabble assets
- the activity on marketplaces involving Scradabble assets
- Number of NFT words minted by players
- Number of NFT combos minted by players
- ADA fees saved by users due to code update
Please describe your plans to share the outputs and results of your project?
The project is already in production at <https://scradabble.xyz>
The implementation of the “TX Builder” will be visible when released by any player, as they will be able to perform actions on the game in one transaction without waiting for a return tx from Scradabble engine.
The code refactoring will be demonstrated by showing the activity on the private GitHub repos.
The results of the additional test suites passing will be publicly released.