not approved
Scradabble.xyz - the ADA word puzzle game
Current Project Status
Unfunded
Amount
Received
₳0
Amount
Requested
₳74,999
Percentage
Received
0.00%
Solution

Various quality of life improvements are required to make the game customer ready. This proposal is to provide the development resources to complete the game.

Problem

Scradabble.xyz is a word game built on Cardano. It is a collectible NFT letter tile that can be used to create NFT words and combos. This proposal brings the game from its PoC stage to public release.

Impact / Alignment
Feasibility
Value for money

Team

2 members

Scradabble.xyz - the ADA word puzzle game

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.

What is your capability to deliver your project with high levels of trust and accountability?

The main and more complex part of the project is already available and usable by users at <https://scradabble.xyz>, demonstrating the capability of the team to deliver a full working product.

The current product, whose development was fully financed by the team, involves a large set of specific skills.

The current current architecture includes:

  • Vue.js frontend. The interface that is used by the users and allows them to actively play the game, by placing tiles, words and combos in the main board.
  • Scradabble utils library. A javascript library that manages all the validation and the operations of the board game (validity of moves, extraction of words from a combo, etc.).
  • Cardano dApp connector: by using the cardano serialization lib, the frontend creates and prepares all the txs that are necessary to play the game, based on the actions performed by the user on the game board.
  • Scradabble engine / backend. It’s a node.js server that scans and analyzes all the transactions received and prepares the txs for minting and distribution of assets to final users. It is also responsible for the interaction with the database and for the communication with the Blockfrost API.

The funds requested will be completely allocated for development and project management.

What are the main goals for the project and how will you validate if your approach is feasible?

The main goals for the project are to lift the quality of the code base to be user ready and to reduce the cost to players which will enable greater playability and engagement.

Validation will be through the bug free operation of <https://scradabble.xyz>.

Details about the TX builder:

At the moment the usual user interaction involves two different steps:

  • The user, by playing on the frontend, prepare his moves and action
  • The frontend assembles a tx that contains metadata specific to the Scradabble Protocol and the assets necessary to complete the action. This tx is sent to the Scradabble wallet.
  • The backend analyzes the txs received by the Scradabble wallet, verifies the correctness and builds and sends a tx that includes new minted assets or tokens back to the user.

The whole process involves 2 txs and user has to pay (directly and indirectly transaction fees twice).

With the new approach:

  • user sends a request to the server with the action he wants to perform.
  • Server makes checks, and prepares a half backed tx. The tx can:
  • include minting of assets
  • include transfers from player wallets (ada or assets)
  • include transfers from faucet (Scradabble tokens as points)
  • everything is condensed in one TX and signed on backend by policies and faucet
  • Signed body is sent to client that signs it and submit it
  • Minting happens directly in client side, as well as the other operations (no need for back tx)

Please provide a detailed breakdown of your project’s milestones and each of the main tasks or activities to reach the milestone plus the expected timeline for the delivery.

Milestone 1 - Code refactoring

  • Identify performance issues in the current backend code execution
  • Plan and design improvements
  • Implementation

Milestone 2 - Tx builder release

  • Finalize the design of the new TX builder
  • Implement core logic of the TX builder
  • Introduce new backend endpoint to consume TX builder
  • Adapt frontend to utilize the new TX builder

Milestone 3 - Tests

  • Define test cases
  • Implement tests

Please describe the deliverables, outputs and intended outcomes of each milestone.

Milestone 1 - Code refactoring.

The implementation will happen on private repositories and the activity of those repos will be published. The code refactoring that will involve the frontend will produce new releases that will be published on the main website.

Milestone 2 - Tx Builder

The implementation will happen on private repositories. Once the backend logic and endpoints will be fully implemented and also the frontend will be adapted, a new release will be published on <https://scradabble.xyz> and users will be able to interact with the new mechanism that will allow them to perform an action in one transaction without the need to wait for the engine to send the returning transaction.

Milestone 3 - Tests

The results of the test suites passing will be publicly released.

Please provide a detailed budget breakdown of the proposed work and resources.

Developers - 330 hours @ $52/hour = 65000 ada

Code refactoring - 60 hr @ $52/hour = ~9000 ada

Tx builder - 180 hr @ $52/hour = ~27000 ada

Tests - 90hr @ $52/hour = ~13500 ada

Project Administration - 10000 ada

Monthly/Milestone Reporting $2000

Funds management

Close out report and video - $750

Total Budget - 74999 ada ($20,000 @ 0.267) (We decided to keep this exchange rate, used at the first submission of proposal, to protect from market fluctuation)

Who is in the project team and what are their roles?

Phil Khoo - experience as an accountant, UI/UX frontend and graphic design and business advisor amongst numerous other pursuits. He currently has a lead position in the development and direction of Cardano AIM and is co-creator of the Community Tools. Was part of CGO F8 where he focused on oversight of Challenge Setting and Catalyst Parameters.

Lucio Baglione - is a developer with 9+ years of experience (mainly focused on web/mobile. Languages and frameworks: PHP, Javascript, Typescript, Python, Ruby - Laravel, Ruby on Rails, Wordpress, Angular.js, Vue.js, Node.js). CA and vCA, co-creator of the Community Tools (Proposer/CA/vCA/Voter Tools), involved in Catalyst since Fund 3.

Victor Corcino - is an active Catalyst Member, Community Advisor and Proposal Mentor, member of the 1st Catalyst Circle, leader of the Catalyst School, core member of the Catalyst Swarm, and has a strong professional and academic background in Engineering, Mathematics, Data Science and Machine Learning.

How does the cost of the project represent value for money for the Cardano ecosystem?

The money allocated for this project will enable the finalization of a dApp that will be available for the Cardano ecosystem, that will be finally ready for a big launch and the adoption of Cardano users.

Once ready and with a consistent user base, it will produce transactions and native assets on the Cardano network, triggering a virtuous mechanism which, by making the players pay the fees, will feed the network itself.

close

Playlist

  • EP2: epoch_length

    Authored by: Darlington Kofa

    3m 24s
    Darlington Kofa
  • EP1: 'd' parameter

    Authored by: Darlington Kofa

    4m 3s
    Darlington Kofa
  • EP3: key_deposit

    Authored by: Darlington Kofa

    3m 48s
    Darlington Kofa
  • EP4: epoch_no

    Authored by: Darlington Kofa

    2m 16s
    Darlington Kofa
  • EP5: max_block_size

    Authored by: Darlington Kofa

    3m 14s
    Darlington Kofa
  • EP6: pool_deposit

    Authored by: Darlington Kofa

    3m 19s
    Darlington Kofa
  • EP7: max_tx_size

    Authored by: Darlington Kofa

    4m 59s
    Darlington Kofa
0:00
/
~0:00