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

Contract: Implement randomness to choose first player #6

Open
luloxi opened this issue Mar 8, 2024 · 0 comments
Open

Contract: Implement randomness to choose first player #6

luloxi opened this issue Mar 8, 2024 · 0 comments

Comments

@luloxi
Copy link
Owner

luloxi commented Mar 8, 2024

This will make it a fair game (first player has the highest winning probability).

Randomness should be achieved using Chainlink VRF, a request for a random number should be triggered after accepting a game, and then after a short delay, player X should be randomly chosen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant