{"id":15775507,"url":"https://github.com/styd/chadet","last_synced_at":"2026-05-10T03:39:45.990Z","repository":{"id":35890689,"uuid":"40176877","full_name":"styd/chadet","owner":"styd","description":"Characters Detective: A command line game of guessing random characters intelligently.","archived":false,"fork":false,"pushed_at":"2017-02-15T15:05:14.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-25T14:41:58.158Z","etag":null,"topics":["game","ruby","ruby-gem","terminal"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/styd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-04T09:55:43.000Z","updated_at":"2017-02-15T11:06:58.000Z","dependencies_parsed_at":"2022-08-30T16:00:32.413Z","dependency_job_id":null,"html_url":"https://github.com/styd/chadet","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styd%2Fchadet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styd%2Fchadet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styd%2Fchadet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styd%2Fchadet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/styd","download_url":"https://codeload.github.com/styd/chadet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246484285,"owners_count":20785049,"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":["game","ruby","ruby-gem","terminal"],"created_at":"2024-10-04T17:01:14.589Z","updated_at":"2026-05-10T03:39:45.896Z","avatar_url":"https://github.com/styd.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chadet [![Build Status](https://travis-ci.org/styd/chadet.svg?branch=master)](https://travis-ci.org/styd/chadet) [![Gem Version](https://badge.fury.io/rb/chadet.svg)](https://badge.fury.io/rb/chadet)\n\n## Background\n\nThis game is taken from the game that was played on paper by me and my friends\nback in high school (although back then we only played it with 4 numbers, 1, 2,\n3, and 4). We were even doing some small competitions among us for\nthis game and it was fun. But, sadly, nobody is playing this now, so I kinda\nmiss it.\n\nI search through for the game on the internet and I found\n[something similar](https://en.wikipedia.org/wiki/Bulls_and_Cows)\nbut not quite. So, I thought, hey, I can make this. And this is it.\n\nIt's still a simple terminal game. No fancy playing against computer yet.\nInstead you just guess random characters generated by the computer and the\ncomputer will give you the number of correct characters and correct positions.\n\n## Preview\n\n    $ chadet\n\n\u003ca href=\"https://asciinema.org/a/51a6mqyp4fwwc1838nilhrqzp\" target=\"_blank\"\u003e\u003cimg src=\"https://asciinema.org/a/51a6mqyp4fwwc1838nilhrqzp.png\" width=\"480\"/\u003e\u003c/a\u003e\n\n\n    $ chadet --chars=abc\n\n\u003ca href=\"https://asciinema.org/a/ae15mib039s4b403kxjbaf9rd\" target=\"_blank\"\u003e\u003cimg src=\"https://asciinema.org/a/ae15mib039s4b403kxjbaf9rd.png\" width=\"480\"/\u003e\u003c/a\u003e\n\n\n    $ chadet --number=2 --chars=123\n\n\u003ca href=\"https://asciinema.org/a/bukjpuusxdamxpsl7jwjc90x7\" target=\"_blank\"\u003e\u003cimg src=\"https://asciinema.org/a/bukjpuusxdamxpsl7jwjc90x7.png\" width=\"480\"/\u003e\u003c/a\u003e\n\n## Requirements\n\nThis game needs `bash` and `xterm` to run properly.\n\n## Installation\n\n    $ gem install chadet\n\n## Usage\n\nRead the rules of the game by typing `chadet --rules` or simply `chadet -r`. You will find out how to play the game.\n\n\u003ca href=\"https://asciinema.org/a/3o3v62f4faft0gnuqq1j9urhb\" target=\"_blank\"\u003e\u003cimg src=\"https://asciinema.org/a/3o3v62f4faft0gnuqq1j9urhb.png\" width=\"480\"/\u003e\u003c/a\u003e\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/styd/chadet. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## TODO\n\n* Write actual test.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstyd%2Fchadet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstyd%2Fchadet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstyd%2Fchadet/lists"}