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

Score/Death Location Backend #2

Closed
adamwe1 opened this issue Apr 10, 2017 · 0 comments · Fixed by #38
Closed

Score/Death Location Backend #2

adamwe1 opened this issue Apr 10, 2017 · 0 comments · Fixed by #38
Assignees

Comments

@adamwe1
Copy link
Collaborator

adamwe1 commented Apr 10, 2017

4 Functions:

  • addDeath(name (str), miles(num), message (str), month(num), date(num))
  • addScore(name (str), score(num))
  • getDeath(milesLow(num), milesHigh(num))- returns an object { name: ..., message: ..., date: ... }
  • getHighScores() - returns an array of associative arrays [ {name: ..., score: ...}, {name: ..., score: ...} ... ]

We also need to make the associated DB tables.

@emanguy emanguy added the ready label Apr 24, 2017
This was referenced Apr 24, 2017
@ghost ghost assigned emanguy May 6, 2017
@ghost ghost added in progress and removed ready labels May 6, 2017
@emanguy emanguy mentioned this issue May 7, 2017
@ghost ghost added needs-review and removed in progress labels May 7, 2017
@ghost ghost removed the needs-review label May 10, 2017
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 a pull request may close this issue.

2 participants