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

Teams can change colors through a game #185

Open
5 tasks
kevinreedy opened this issue Mar 28, 2020 · 1 comment
Open
5 tasks

Teams can change colors through a game #185

kevinreedy opened this issue Mar 28, 2020 · 1 comment
Labels
bug Something isn't working game model revamp

Comments

@kevinreedy
Copy link
Member

Some shuffleboard games have the player change color after a certain number of frames, typically half. The Game model currently doesn't support this.

Tasks:

  • Discuss plan on this issue to determine best way to represent data (current model has "yellow_team" and "black_team", how should the frames field work, etc)
  • Add field to database to track when a color change happens
  • Update tests to check that this is handled correctly
  • Update Model to account for the change
  • Ensure all game overlay views work with new functionality
@kevinreedy kevinreedy added the bug Something isn't working label Jan 2, 2021
@kevinreedy
Copy link
Member Author

They can also switch multiple times, which is currently causing Game.winner to be incorrect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working game model revamp
Projects
None yet
Development

No branches or pull requests

1 participant