{"id":26222259,"url":"https://github.com/walles/barnklocka2","last_synced_at":"2025-08-30T16:04:08.754Z","repository":{"id":44395891,"uuid":"508759874","full_name":"walles/barnklocka2","owner":"walles","description":"Teaches kids to convert analog to digital time","archived":false,"fork":false,"pushed_at":"2023-02-19T19:13:23.000Z","size":5360,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T16:52:03.679Z","etag":null,"topics":["children","clock","learning"],"latest_commit_sha":null,"homepage":"https://walles.github.io/barnklocka2/","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/walles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-29T16:04:53.000Z","updated_at":"2023-12-05T07:54:20.000Z","dependencies_parsed_at":"2025-03-12T16:51:44.394Z","dependency_job_id":"84dc5241-8092-4043-9d5b-625cd188c835","html_url":"https://github.com/walles/barnklocka2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/walles/barnklocka2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walles%2Fbarnklocka2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walles%2Fbarnklocka2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walles%2Fbarnklocka2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walles%2Fbarnklocka2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/walles","download_url":"https://codeload.github.com/walles/barnklocka2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walles%2Fbarnklocka2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272871409,"owners_count":25007152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["children","clock","learning"],"created_at":"2025-03-12T16:51:40.403Z","updated_at":"2025-08-30T16:04:08.732Z","avatar_url":"https://github.com/walles.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![test-and-deploy](https://github.com/walles/barnklocka2/actions/workflows/test-and-deploy.yaml/badge.svg)](https://github.com/walles/barnklocka2/actions/workflows/test-and-deploy.yaml)\n\n# Johans Barnklocka II\n\nRun it here: \u003chttps://walles.github.io/barnklocka2\u003e\n\n## TODO\n\n- Show progress while playing, are we there yet?\n- Tune clock vs real-world clock image to make it readable and look nice\n- Consider reenabling `avoid_print` in `analysis_options.yaml`\n- Enable the Go! button and text field entry only when the text field contains a\n  valid (although not necessarily correct) time\n\n### DONE\n\n- Set a random time on startup\n- Add a text entry field for entering the digital time\n- Add a \"Go!\" button next to the text entry field\n- Add initial tests\n- Make the tests pass\n- Add CI running our tests\n- If the text entry field is correct when the Go button is pressed, randomize a\n  new time on the analog clock and clear the field\n- If the text entry field is wrong when the Go button is pressed, highlight that\n  somehow.\n- Handle \u003chttps://github.com/furkantektas/analog_clock/issues/16\u003e. Made my own\n  clock.\n- Show \"First half of the day\" / \"Second half of the day\" so that we don't have\n  to guess\n- Refocus text field after user presses Enter or clicks the Go! button\n- Set up CI for deploying to GitHub pages\n- Make it work at 262x352 window size. This emulates what I have on my phone\n  with the keyboard up.\n- At the same time\n  - OK: Make it work at 229x352 window size\n    - OK: Correct answer\n    - OK: Incorrect answer\n  - OK: Make it work in a larger window\n    - OK: Correct answer\n    - OK: Incorrect answer\n- Test it on somebody\n- Prevent the AM/PM text from wrapping on smaller displays, prefer shrinking the\n  font size: https://pub.dev/packages/auto_size_text\n- Choose among whole hours, half hours, quarters, five minute spans or one\n  minute spans. Pick easier flavors more often.\n- Start screen: Show stats for the most recent round. How many\n  correct-at-first-attempt answers and how long it took.\n- Start screen: Before the first round, when we don't have any existing stats,\n  center the start button vertically and make it fill all space horizontally.\n- Start screen: Show a top 5 list and the result of the most recent round.\n  Primary sort key is number of correct-on-first-attempt answers, secondary is\n  how long it took.\n- Make the game 10 rounds\n- For the 10 rounds:\n  - 1, 2 and 3: Whole hours\n  - 4, 5: Half hours\n  - 6, 7: Quarters\n  - 8, 9: Five minute intervals\n  - 10: One minute intervals\n- Persist top 5 list between page reloads / app restarts\n- Adapt clock and everything else to dark theme / light theme\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalles%2Fbarnklocka2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalles%2Fbarnklocka2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalles%2Fbarnklocka2/lists"}