{"id":13633448,"url":"https://github.com/vb64/bulls_cows","last_synced_at":"2025-03-29T05:16:34.063Z","repository":{"id":85006004,"uuid":"185220777","full_name":"vb64/bulls_cows","owner":"vb64","description":"Bulls\u0026Cows game","archived":false,"fork":false,"pushed_at":"2024-05-21T05:29:01.000Z","size":110,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-03T14:51:56.606Z","etag":null,"topics":["google-appengine","python","yandex-alice"],"latest_commit_sha":null,"homepage":"","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/vb64.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-05-06T15:12:06.000Z","updated_at":"2023-04-18T18:09:56.000Z","dependencies_parsed_at":"2025-02-03T14:51:07.159Z","dependency_job_id":"fbce0e2b-ee49-4d60-be92-d5032859c4a9","html_url":"https://github.com/vb64/bulls_cows","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/vb64%2Fbulls_cows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vb64%2Fbulls_cows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vb64%2Fbulls_cows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vb64%2Fbulls_cows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vb64","download_url":"https://codeload.github.com/vb64/bulls_cows/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246140591,"owners_count":20729802,"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":["google-appengine","python","yandex-alice"],"created_at":"2024-08-01T23:00:43.734Z","updated_at":"2025-03-29T05:16:34.030Z","avatar_url":"https://github.com/vb64.png","language":"Python","readme":"# Bulls\u0026amp;Cows game\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/vb64/bulls_cows/pep257.yml?label=Pep257\u0026style=plastic\u0026branch=master)](https://github.com/vb64/bulls_cows/actions?query=workflow%3Apep257)\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/vb64/bulls_cows/py3.yml?label=Python%203.7-3.10\u0026style=plastic\u0026branch=master)](https://github.com/vb64/bulls_cows/actions?query=workflow%3Apy3)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/c54f0192f4a444a4afbae2f5f1f7ab1e)](https://app.codacy.com/gh/vb64/bulls_cows/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade)\n[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/c54f0192f4a444a4afbae2f5f1f7ab1e)](https://app.codacy.com/gh/vb64/bulls_cows/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_coverage)\n\n[Game rules](https://en.wikipedia.org/wiki/Bulls_and_Cows)\n\n## Run game on localhost\n```bash\ngit clone git@github.com:vb64/bulls_cows.git\npython bulls_cows/source/default/bull_cows.py imcheater\nmy puzzle: 5091\nenter 4 digits: 0519\ncows: 4 bulls: 0\nenter 4 digits: 5091\ncows: 0 bulls: 4\nDone!\nQuest solved with 2 tries\n```\n\n## Yandex.Alice skill, that hosted at GoogleAppEngine Standard Environment\nYou need Google account and registration at [Google Cloud Platform](https://cloud.google.com/). Create [new python project](https://console.cloud.google.com/projectcreate) and save your new GAE project ID. [Download](https://cloud.google.com/sdk/) and install Cloud SDK, then:\n```bash\ngcloud init\ncd bulls_cows\nmake setup PYTHON_BIN=path/to/python3\nmake tests\nmake deploy\n```\nAfter successful deployment visit the URL https://Your-GAE-project-ID.appspot.com You should see something like this:\n```bash\nYandex Alice Bulls\u0026Cows game lives here\n```\nThen, you need Yandex account and registration at [Yandex.Dialogs](https://dialogs.yandex.ru). Create [new Alice skill](https://dialogs.yandex.ru/developer/) and set `Webhook URL` field to\n\n```bash\nhttps://Your-GAE-project-ID.appspot.com/alice\n```\nTest your Alice skill at the 'Testing' tab.\n\nFor security purpose, you can [uncomment next lines](https://github.com/vb64/bulls_cows/blob/bfcbfec8156e7e470062a94596a786ec89701cf1/source/views.py#L57) of code and set a correct ID for your Alice skill.\n\n## Live version\nThe live version of this code is available as [Yandex.Alice skill](https://alice.ya.ru/s/59166701-101b-44b3-b7e3-b7e078036890).\n","funding_links":[],"categories":["Примеры и навыки"],"sub_categories":["Open-source навыки"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvb64%2Fbulls_cows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvb64%2Fbulls_cows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvb64%2Fbulls_cows/lists"}