{"id":22022577,"url":"https://github.com/natemcintosh/digitparty","last_synced_at":"2025-03-23T10:26:35.841Z","repository":{"id":164922815,"uuid":"640341095","full_name":"natemcintosh/DigitParty","owner":"natemcintosh","description":"Engines that play [Digit Party](https://digit.party/)","archived":false,"fork":false,"pushed_at":"2023-05-18T23:33:39.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T16:49:34.480Z","etag":null,"topics":["julia","strategy"],"latest_commit_sha":null,"homepage":"","language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/natemcintosh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-05-13T19:03:11.000Z","updated_at":"2023-05-13T19:06:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"18a88b0f-eaeb-49fb-8905-176a7956cb9d","html_url":"https://github.com/natemcintosh/DigitParty","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/natemcintosh%2FDigitParty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natemcintosh%2FDigitParty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natemcintosh%2FDigitParty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natemcintosh%2FDigitParty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natemcintosh","download_url":"https://codeload.github.com/natemcintosh/DigitParty/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245087383,"owners_count":20558765,"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":["julia","strategy"],"created_at":"2024-11-30T06:21:48.647Z","updated_at":"2025-03-23T10:26:35.808Z","avatar_url":"https://github.com/natemcintosh.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DigitParty\n\nA copy of [Digit Party](https://digit.party/) that can be programatically played. It can also be manually played, but it's a lot easier to just play on the site. The intent here is to have fun making various engines that play the game, and compare the performance.\n\nIf you create an engine, create a new file in `src/` with the name of the engine. Then export\n- Your engine, e.g. `export MyEngine`. Make sure `MyEngine \u003c: AbstractEngine`.\n- The following method: `pick_next_spot(g::Game, e::MyEngine)::CartesianIndex{2}`\n\nTo run it:\n```julia\ng = Game()\nscore = play!(g, MyEngine())\npct_max = get_pct_of_max(g)\n```\nto run a single game with your engine; your score is returned. See [`examples/naive1.jl`](https://github.com/natemcintosh/DigitParty/blob/main/examples/naive1.jl) for a runnable example.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatemcintosh%2Fdigitparty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatemcintosh%2Fdigitparty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatemcintosh%2Fdigitparty/lists"}