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

Track moves in the database, valid and invalid #88

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

James-Quigley
Copy link
Collaborator

  • Adds a "Move" schema to mongo
  • Adds a saveMove function to the datalayer
  • Updates places where moves are made to call the new datalayer function

@chuckdries
Copy link
Collaborator

@James-Quigley looks like we're tracking bot moves. I think if we're going to do that we should at least flag them as such so we can tell them from human moves

@chuckdries chuckdries changed the base branch from main to dev August 6, 2022 22:40
@James-Quigley
Copy link
Collaborator Author

@chuckdries this just counts the total number of times a word has been played. In theory this is actually duplicate data since that would be present in each Game object.

But I could separate it out and have a human play count and a bot play count.

Really this is just for analytics

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

Successfully merging this pull request may close these issues.

2 participants