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

Update Whitmore Score link #165

Merged
merged 1 commit into from
Oct 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ class GamePlayStatsFragment : Fragment(R.layout.fragment_game_play_stats) {

fun calculateWhitmoreScore(): Int {
// A score that ranges from 0 for a completely neutral game (6.5) to 7 for a perfect 10.
// http://www.boardgamegeek.com/geeklist/37832/my-favorite-designers
// https://boardgamegeek.com/wiki/page/BGG_for_Android_Users_Manual#toc23
return (personalRating * 2 - 13).toInt().coerceAtLeast(0)
}

Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
<string name="empty_collection_filter_on_sync_partial">Collection sync for some of the filtered statuses is off. Try to enable it from Settings > Sync to display some games.</string>
<string name="empty_new_play_locations">No previous locations. Add a new one.</string>
<string name="empty_new_play_locations_filter">No locations matching the filter.</string>
<string name="empty_new_play_players">No previous players. Add a new one</string>
<string name="empty_new_play_players">No previous players. Add a new one.</string>
<string name="empty_new_play_players_filter">No players matching the filter.</string>
<string name="new_play_location_hint">Filter or add new</string>
<string name="sync">Sync</string>
Expand Down Expand Up @@ -717,7 +717,7 @@
<string name="person_stat_collection_status">These stats work much better if you sync your rated and played games.</string>
<string name="play_count">Play Count</string>
<string name="h_index">H-Index</string>
<string name="whitmore_score_info">A calculation designed to determine your favorite %s.\n\nhttps://boardgamegeek.com/thread/2420064/whats-whitmore-score</string>
<string name="whitmore_score_info">A calculation designed to determine your favorite %s.\n\nhttps://boardgamegeek.com/wiki/page/BGG_for_Android_Users_Manual#toc23</string>

<plurals name="msg_colors_selected">
<item quantity="one">%s color</item>
Expand Down