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

Change winner determination logic #47

Open
jimmychu0807 opened this issue Sep 22, 2024 · 0 comments
Open

Change winner determination logic #47

jimmychu0807 opened this issue Sep 22, 2024 · 0 comments

Comments

@jimmychu0807
Copy link
Owner

jimmychu0807 commented Sep 22, 2024

Currently the winner is determined as the one with guess closest to the mean.

The updated logic will be the one with guess closest to: floor((mean * 2) % 100).

Secondary objective

  • Apply Upgradable pattern to the game contract, and the computation logic of the winner, that is, another contract on computation.
  • Change from yarn to pnpm as package manager.
  • Publish the three packages to NPM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant