{"id":19676530,"url":"https://github.com/cls1991/24-game","last_synced_at":"2025-04-29T02:30:59.150Z","repository":{"id":89365031,"uuid":"116215408","full_name":"cls1991/24-game","owner":"cls1991","description":"24 point game implemented in Python, just for fun!","archived":false,"fork":false,"pushed_at":"2018-01-08T08:29:32.000Z","size":17,"stargazers_count":16,"open_issues_count":0,"forks_count":11,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-05T12:42:09.588Z","etag":null,"topics":["24pointgame","twisted"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/cls1991.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":"2018-01-04T04:42:25.000Z","updated_at":"2020-10-07T10:16:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4a5685b-8b9f-4654-9b7a-73df489846a1","html_url":"https://github.com/cls1991/24-game","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/cls1991%2F24-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cls1991%2F24-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cls1991%2F24-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cls1991%2F24-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cls1991","download_url":"https://codeload.github.com/cls1991/24-game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251420903,"owners_count":21586697,"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":["24pointgame","twisted"],"created_at":"2024-11-11T17:29:09.946Z","updated_at":"2025-04-29T02:30:59.145Z","avatar_url":"https://github.com/cls1991.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 24-game\n24 point game implemented in Python, just for fun!\n\n[![asciicast](https://asciinema.org/a/i4aAC6Fp3cnRL1zMqLULz3ynV.png)](https://asciinema.org/a/i4aAC6Fp3cnRL1zMqLULz3ynV)\n\n## Quickstart\n\nconnect to game:\n\n\t$ nc 127.0.0.1 12345\n\t$ telnet 127.0.0.1 12345\n\nstart the game, give a random list consisted of four cards:\n\n\t$ start\n\t`13 1 7 3`\n\nguess whether these four cards can make up 24 points or not, and submit your guess:\n\n\t$ submit yes\n\t$ submit y\n\t`submit no\n\tYou're wrong, one of the solutions is `((13 + 1) + 7) + 3`.\n\t`\n\nquery your profile:\n\n\t$ info\n\t`\n\tYour connection is 127.0.0.1:59262, your score is 1.\n\t`\nshow the rank info:\n\n\t$ rank\n\t`\n\tScore ranks: 1 1 1.\n\t`\n\nquit the game:\n\n\t$ quit\n\t$ CTRL+C\n\n## Usage\n\n\tPlay 24 point game.\n  \n\tCommands:\n\t  start   Start the game.\n\t  submit  Commit your guess(yes/y for solutions, others for no solutions).\n\t  rank    Show the first three of score ranks.\n\t  info    Show player info.\n\t  quit    Quit the game.\n\t  help    Show this message.\n\n## Test\n\nI have deployed one instance to the public internet, you can visit at `106.75.56.232:12345`.\n\n## TODO\n\n- A more beautiful ui.\n- Add pk mode.\n- [x] Wrap rank refresh as a cron task.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcls1991%2F24-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcls1991%2F24-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcls1991%2F24-game/lists"}