{"id":16018600,"url":"https://github.com/nanmu42/guess-number","last_synced_at":"2025-04-05T03:24:02.887Z","repository":{"id":70181186,"uuid":"223609077","full_name":"nanmu42/guess-number","owner":"nanmu42","description":"使用Rust实现的一个按大小反馈猜数字的游戏","archived":false,"fork":false,"pushed_at":"2019-11-23T15:21:13.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T11:34:45.453Z","etag":null,"topics":["rust","rust-lang","tutorial"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/nanmu42.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":"2019-11-23T15:18:59.000Z","updated_at":"2020-06-28T09:29:24.000Z","dependencies_parsed_at":"2023-02-21T11:46:13.908Z","dependency_job_id":null,"html_url":"https://github.com/nanmu42/guess-number","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/nanmu42%2Fguess-number","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanmu42%2Fguess-number/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanmu42%2Fguess-number/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanmu42%2Fguess-number/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nanmu42","download_url":"https://codeload.github.com/nanmu42/guess-number/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247282250,"owners_count":20913327,"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":["rust","rust-lang","tutorial"],"created_at":"2024-10-08T17:00:28.381Z","updated_at":"2025-04-05T03:24:02.872Z","avatar_url":"https://github.com/nanmu42.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Guess Number\n\n使用Rust实现的一个按大小反馈猜数字的游戏。\n\n# 例子\n\n```\n我会在1到100想一个数，看你几轮可以猜中它！ :)\n这是你的第1次尝试。\n请输入你的猜测：\n50\n你猜的数字是50\n太小了！ :P\n这是你的第2次尝试。\n请输入你的猜测：\n70\n你猜的数字是70\n太小了！ :P\n这是你的第3次尝试。\n请输入你的猜测：\n90\n你猜的数字是90\n太大了！ :P\n这是你的第4次尝试。\n请输入你的猜测：\n80\n你猜的数字是80\n太小了！ :P\n这是你的第5次尝试。\n请输入你的猜测：\n85\n你猜的数字是85\n太小了！ :P\n这是你的第6次尝试。\n请输入你的猜测：\n89\n你猜的数字是89\n太大了！ :P\n这是你的第7次尝试。\n请输入你的猜测：\n88\n你猜的数字是88\n恭喜你猜对了！\n```\n\n# 参考资料\n\n* [The Rust Programming Language](https://doc.rust-lang.org/book/ch02-00-guessing-game-tutorial.html)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanmu42%2Fguess-number","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnanmu42%2Fguess-number","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanmu42%2Fguess-number/lists"}