{"id":16538080,"url":"https://github.com/multicatch/binarysearch","last_synced_at":"2026-05-10T01:07:35.091Z","repository":{"id":137900438,"uuid":"41811797","full_name":"multicatch/binarysearch","owner":"multicatch","description":"A little binary search project in a few languages for school","archived":false,"fork":false,"pushed_at":"2015-09-12T18:56:26.000Z","size":228,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T05:11:39.018Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/multicatch.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}},"created_at":"2015-09-02T16:11:07.000Z","updated_at":"2015-09-02T19:25:08.000Z","dependencies_parsed_at":"2023-04-01T15:51:26.129Z","dependency_job_id":null,"html_url":"https://github.com/multicatch/binarysearch","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/multicatch%2Fbinarysearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multicatch%2Fbinarysearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multicatch%2Fbinarysearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multicatch%2Fbinarysearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/multicatch","download_url":"https://codeload.github.com/multicatch/binarysearch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241739542,"owners_count":20012105,"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":[],"created_at":"2024-10-11T18:44:22.919Z","updated_at":"2026-05-10T01:07:35.044Z","avatar_url":"https://github.com/multicatch.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# binarysearch\n\nThis set of programs and scripts asks user some questions and guesses their number.\n\n### C\nTo run this C program, you need gcc and make. Only after compiling you can run \"binarysearch\" program. You can always compile it without make by using\n```sh\n$ gcc -o binarysearch code/make.c code/binsort.c\n```\nIt uses a defined struct as a class. Elements are defined in bs_local.h, but methods are in binsort.c. Works in console. Calls guess() for all questions and result.\n\n### Java\nI already compiled Java. To run the app, cd to build and use \n```sh\n$ java binarysearch.BinarySearch\n```\nAlso make sure you *have* Java installed.\nIt uses binarysearch.searcher.BinSearcher class (object actually) and prints getGuessedValue. The class itself asks user some questions in console.\n\n### JavaScript\nThere's a class that returns the result after a few confirmation dialogues. You just need to add script tag, create a new BinarySearch object and get guessed number using guess(). You can also use html file for demo.\n\n### Python\nYou need to run it with Python 3. Simply use:\n```sh\n$ python3 binarysearch.py\n```\nIt creates an object from BinarySearch class and prints getGuessed() result. Also asks a couple of questions in console.\n\n\nLicense\n----\n\nGNU General Public License v2.0. See [LICENSE](https://github.com/SudoWaster/binarysearch/blob/master/LICENSE) file.\n\nFeel free to distibute, change this source code or even learn from it!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmulticatch%2Fbinarysearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmulticatch%2Fbinarysearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmulticatch%2Fbinarysearch/lists"}