-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement a chess game in Hydra head #1098
Comments
Suggestions:
|
I am a lame Chess player and unfamiliar with the existing online landscape, thanks a lot for the pointers! Fortunately, Hydra Heads now have a notion of time, albeit with a large granularity, so we could already provide this feature.
🤔 I would think a single Head would hold a single game to be simpler and more obvious but that seems perfectly possible. Perhaps in v2 :) |
On second thought, running several games in sequence seems pretty straightforward and should be part of v1. |
A few months ago, I have started working on a Black Jack game, which could easily be repurposed to support Chess: https://github.com/abailly/black-jack |
Links to some early Miro drawings: https://miro.com/app/board/uXjVMA_OXQ0=/?moveToWidget=3458764561779396079&cot=14 |
Pasting this here as it might not be accessible to everyone: |
Had a quick look around for some suitable UIs:
Maybe we want to do it in Elm?
|
Are you aware of https://github.com/mpizenberg/elm-cardano/ ? |
Why not use something like beacon tokens for peer discovery to identify players who want to play a match. Player dApp indexes on-chain requests to play (they specify what skill level match they want, game type [speed chess, regular match]). |
Indeed, the current idea is to have each player be represented on-chain through a dedicated token. My first idea was to hold the ELO score of the player but indeed we could add more metadata either encoded in the token name or the txs' metadata. |
NOTE: Re-iterated this into multiple increments, the first being:
Why
What
README.md
on a dedicated repository (e.g.hydra-chess
) could be a good goal post here.Close
the head to avoid losing a gameAcceptance criteria
Here is the basic scenario this feature should cover:
hydra-chess
on their machines or download pre-built binaries when/if availablehydra-chess
application locally selecting which public network to run on which provides some command-line interfaceRequirements:
The text was updated successfully, but these errors were encountered: