{"id":22774875,"url":"https://github.com/will-wow/chopsticks","last_synced_at":"2025-08-21T07:45:52.343Z","repository":{"id":73561081,"uuid":"68251351","full_name":"will-wow/chopsticks","owner":"will-wow","description":"Plays the chopsticks hand game","archived":false,"fork":false,"pushed_at":"2017-02-23T01:06:11.000Z","size":1259,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T14:46:12.569Z","etag":null,"topics":["elixir","game"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/will-wow.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":"2016-09-14T23:25:09.000Z","updated_at":"2020-01-20T16:48:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed84134e-57da-46e2-ad55-9c3e4c7732d1","html_url":"https://github.com/will-wow/chopsticks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will-wow%2Fchopsticks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will-wow%2Fchopsticks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will-wow%2Fchopsticks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will-wow%2Fchopsticks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/will-wow","download_url":"https://codeload.github.com/will-wow/chopsticks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246320201,"owners_count":20758410,"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":["elixir","game"],"created_at":"2024-12-11T18:17:56.762Z","updated_at":"2025-03-30T13:12:41.032Z","avatar_url":"https://github.com/will-wow.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Plays the Chopsticks hand game\n\nTo play against another human:\n`mix run -e Chopsticks.Play.play`\n\nTo play against the computer:\n`mix run -e Chopsticks.AiPlay.play`\n\nRules:\n- Each player starts with 1 of 5 possible fingers up on each hand.\n- On each turn, one player gives the number of up fingers on one hand to one of the other player's hands.\n- If a hand has exactly 5 fingers up, all are knocked down.\n- If a hand plus the given fingers is more than 5, the new number is old + added mod 5\n- If a player has an even number of fingers on one hand, and no fingers on the other hand,\nthey may use their turn to split their fingers evenly.\n- The goal is to knock both the other player's hands to 0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwill-wow%2Fchopsticks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwill-wow%2Fchopsticks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwill-wow%2Fchopsticks/lists"}