{"id":16629106,"url":"https://github.com/bradgarropy/snap-kitchen-competition","last_synced_at":"2026-04-09T22:51:58.651Z","repository":{"id":93266054,"uuid":"178221642","full_name":"bradgarropy/snap-kitchen-competition","owner":"bradgarropy","description":"🏋🏼 snap kitchen interview question - powerlifting competition","archived":false,"fork":false,"pushed_at":"2019-04-07T03:57:43.000Z","size":48,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T05:14:24.809Z","etag":null,"topics":["eslint","interview","javascript","node","prettier","snap-kitchen"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bradgarropy.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":"2019-03-28T14:35:01.000Z","updated_at":"2019-04-07T03:57:21.000Z","dependencies_parsed_at":"2023-08-25T07:50:19.026Z","dependency_job_id":null,"html_url":"https://github.com/bradgarropy/snap-kitchen-competition","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradgarropy%2Fsnap-kitchen-competition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradgarropy%2Fsnap-kitchen-competition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradgarropy%2Fsnap-kitchen-competition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradgarropy%2Fsnap-kitchen-competition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bradgarropy","download_url":"https://codeload.github.com/bradgarropy/snap-kitchen-competition/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243075843,"owners_count":20232428,"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","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":["eslint","interview","javascript","node","prettier","snap-kitchen"],"created_at":"2024-10-12T04:39:38.656Z","updated_at":"2026-04-09T22:51:53.617Z","avatar_url":"https://github.com/bradgarropy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🏋🏼 Snap Kitchen Powerlifting Competition\n\n_During an interview with [Snap Kitchen][1], I was asked to complete a coding question and actually run the solution using the editor of my choice. So I fired up [Visual Studio Code][2] and got to work. I really enjoyed this question because it revolved around my hobby of weightlifting._\n\n## ❓ Question\n\nWrite a program to simulate a powerlifting meet, where each lifter completes a squat, bench, and deadlift, and determine the winner(s).\n\nYour program should:\n\n-   Generate a list of lifters.\n-   Randomize results for each lifter.\n-   Determine winners for each lift.\n    -   Squat\n    -   Bench\n    -   Deadlift\n-   Determine winner for overall total.\n\nBonus points if your program can:\n\n-   Accept the number of lifters as a CLI argument.\n-   Generate a random profile for each lifter.\n    -   Name\n    -   Gender\n-   Select winners based on gender.\n\n## 💀 Execution\n\nIf you want to see my solution, clone the repository and execute it locally!\n\n```\ngit clone https://github.com/bradgarropy/snap-kitchen-competition.git\ncd snap-kitchen-competition\nnode index.js -n 10\n```\n\n[1]: https://www.snapkitchen.com\n[2]: https://code.visualstudio.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradgarropy%2Fsnap-kitchen-competition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbradgarropy%2Fsnap-kitchen-competition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradgarropy%2Fsnap-kitchen-competition/lists"}