Repository navigation
Add the time in tenths and a list of best times - #23
Merged
Merged
Conversation
The bar shows the time of a level in tenths and its best time. Best times on the title lists each lit level and street with its time and stars, and the sum of the hand levels when each one is lit. Escape goes back from the list and from the picker.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #7. Based on #22.
M:SS.T, andbest M:SS.Twhen the level has a best time. The tenths are cut, not rounded, so the time on the screen never runs ahead of the end card.best) and of each street (sbest) were in the save already, and a test checks that they go through a save.The rule of a best time stays: a hand level keeps the lowest time; a street keeps the most stars, then the lowest time.
What ran here:
ztcl test(117 tests pass, 5 new: the time text, the rule of a best time with a replay of a route, the rows of the list, the sum, and the save),tests/tk/smoke.tcl(new checks: the list opens from the title, has its rows, and Escape goes back) andtests/tk/save.tclwith ztk 1.0.0-beta.8 headless, captures of the list, the title, and the bar, and the web build in headless Chromium. What did not run: a person with a keyboard, a gamepad, or a phone.