Skip to content
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

Provide a working Hydra Chess game on mainnet with simple GUI #1238

Open
6 tasks
abailly-iohk opened this issue Jan 8, 2024 · 0 comments
Open
6 tasks

Provide a working Hydra Chess game on mainnet with simple GUI #1238

abailly-iohk opened this issue Jan 8, 2024 · 0 comments
Labels
app An application or tool built on top of Hydra Head 💭 idea An idea or feature request

Comments

@abailly-iohk
Copy link
Contributor

abailly-iohk commented Jan 8, 2024

What

  • Users can play Hydra Chess on mainnet through a simple GUI, using a laptop, and have their games' results tracked
  • This is the Cobbled road version of Hydra Chess game

How

  • Complete on-chain scrips handling players' results and status
    • Those scripts are currently mostly empty shells that should be completed to ensure some safety to end users
    • In particular, a user should never have their funds locked inside a head or if a head is closed
  • Provide an "easy" way to define which peer a user connects to to play a game
  • Complete Chess Game contract logic
    • Castling, pawn's en passant capture, and draws are not covered
  • Provide a GUI using some local HTTP server + web page
    • @rezabaram Started work in this direction and it should be reasonably straightforward to do as we already have some experience communicating with a Hydra head from a browser thanks to Hydra Poll dApp #1110 and Hydraw
  • Publish current ratings somewhere by following the chain
    • This would be useful to communicate about the game with the community
  • Use Mithril to bootstrap node
    • This is not currently done as the shipped cardano-node is 8.7.1-pre which is not the one used to build mithril snapshots which implies users still pay the replay cost which limits the usefulness of Mithril
@ch1bo ch1bo added 💭 idea An idea or feature request app An application or tool built on top of Hydra Head labels Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app An application or tool built on top of Hydra Head 💭 idea An idea or feature request
Projects
None yet
Development

No branches or pull requests

2 participants