Closed bernhardsen closed 4 years ago
Thanks for the feed back. I did the following:
Looks much better now!
T20
and D4
etc. instead of just the colors it will be perfectRegarding the suggestions, my main issue is that lets say you have 170
left. It suggests hitting T20 T20 D25
. If I throw and hit T20
I will have 110
left. Now the suggestion will change to T20 18 D16
, but I only have two darts. If I then throw another T20
I'm left with 50
, and it will suggest 18 D25
as my checkout.
This could be very confusing in some areas, so I really think we need to support number of darts. A very easy fix would be to only show it "before" the first dart is thrown, or while you have 3 darts. Then it could be extended in the future to take into account possibilities with 1 or 2 darts etc.
I made the changes you suggested.
Great suggestion! Will be a nice addition to the app!
Some minor suggetsions:
value
andmodifier
directly. This would simplify the code, and remove all the string manipulation. It would be similar to how it's done in the kcapp-bot to determine checkouts190
and hit a20
, it gives me suggestion forT20 T20 D25
, but I only have two darts, so can't complete this checkout.