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

Define how the scoring() method should work, based on what data #39

Open
nealmcb opened this issue Mar 31, 2019 · 0 comments
Open

Define how the scoring() method should work, based on what data #39

nealmcb opened this issue Mar 31, 2019 · 0 comments

Comments

@nealmcb
Copy link

nealmcb commented Mar 31, 2019

I don't see win() in the reference manual or elsewhere besides in the example game.
When is it called? What should it return? Based on what data?

E.g. I wouldn't think win() would be called before the end of the game, but it seems to be.

How can we e.g. just track a score for each player, and show a win (for the current player? defined by what?) if the current player has a higher score?

Update: Hmm - I see now that win() isn't required. So my questions really apply to scoring().

@nealmcb nealmcb changed the title Define what the win() method should do, based on what data Define how the scoring() method should work, based on what data Apr 1, 2019
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