Use Case Presentation
The Use Case scenario of the 2048 Competition DApp consists in playing a 2048 game and sending the score to a smart contract to decide who the winner is.
You need a user account to interact with the smart contract.
User Interface
Below is a screenshot of the user interface once the wallet's account connected:
① 2048 game area: use up/right/down/left keys to move squares to the desired direction and accumulate scores
② Account data:
- address
- session id
- session actions
③ Compute / Send button
- first recompute score from actions and get it signed from Orcale
- store it in smart contract
④ Leader Board
Create a user account
The process to create a new user account is two-steps:
- download a new faucet file from faucet site (instructions)
- import it in wallet (instructions)
It is suggested that you name the account "Completium Dapp user" for example.