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

Dictionary keys for MatchInput and AverageScores are not the same #41

Closed
RyGuy101 opened this issue May 12, 2017 · 0 comments
Closed

Dictionary keys for MatchInput and AverageScores are not the same #41

RyGuy101 opened this issue May 12, 2017 · 0 comments

Comments

@RyGuy101
Copy link
Member

I will make all dictionary keys for game objectives consistent by editing the San Diego Regional MongoDB collection and changing the code.

There is also an unnecessary translation between strings in input-data.php and input.php.
I will get rid of this and ADD a similar function to potato.php to translate from dictionary keys to display names. This makes more sense because all backend keys should be consistent, while we should not rely on these keys as display names themselves.

For example, we should always use "CapBallInCenter" in the backend, not switch between "In Center Vortex" and "CapBallInCenter." In addition, if "In Center Vortex" is what we want displayed on the website, we should choose that display name independent of the key used in the backend.

This will help in implementing modularity for the game objectives.

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