Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Jwen/scoreboard data #197

Merged
merged 8 commits into from
Apr 24, 2022
Merged

Jwen/scoreboard data #197

merged 8 commits into from
Apr 24, 2022

Conversation

jiabaow
Copy link
Collaborator

@jiabaow jiabaow commented Apr 23, 2022

replace hard-coded data in the scoreboard with our real database.

p.s, we still need to discuss how to calculate the ranking.

@jiabaow jiabaow self-assigned this Apr 23, 2022
showPlayersPosition(players)
}

override fun onCancelled(error: DatabaseError) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 3 locations. Consider refactoring.

@jiabaow jiabaow marked this pull request as ready for review April 23, 2022 13:49
Copy link
Collaborator

@Tsathogguaa Tsathogguaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Great job!

@codeclimate
Copy link

codeclimate bot commented Apr 23, 2022

Code Climate has analyzed commit a0eabe9 and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 1

The test coverage on the diff in this pull request is 94.2% (80% is the threshold).

This pull request will bring the total coverage in the repository to 87.5% (0.0% change).

View more on Code Climate.

Copy link
Collaborator

@laurislopata laurislopata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good job :)

@jiabaow jiabaow merged commit 4d848f0 into main Apr 24, 2022
@jiabaow jiabaow deleted the jwen/scoreboard-data branch April 24, 2022 12:22
@jiabaow jiabaow linked an issue Apr 25, 2022 that may be closed by this pull request
2 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

retrieve data from firebase for scoreboard (#166)
3 participants