{"id":15930345,"url":"https://github.com/ianstenbit/cse5345-extra","last_synced_at":"2026-01-27T01:33:37.965Z","repository":{"id":150821795,"uuid":"71482494","full_name":"ianstenbit/CSE5345-Extra","owner":"ianstenbit","description":"CSE 5345 Extra Credit Assignment - Number Guessing Game. Forked from Gitlab repo","archived":false,"fork":false,"pushed_at":"2016-10-20T16:29:34.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"numberDev","last_synced_at":"2025-06-03T03:29:32.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/ianstenbit.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":"2016-10-20T16:28:52.000Z","updated_at":"2016-10-20T16:30:09.000Z","dependencies_parsed_at":"2023-04-10T11:14:30.542Z","dependency_job_id":null,"html_url":"https://github.com/ianstenbit/CSE5345-Extra","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ianstenbit/CSE5345-Extra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianstenbit%2FCSE5345-Extra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianstenbit%2FCSE5345-Extra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianstenbit%2FCSE5345-Extra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianstenbit%2FCSE5345-Extra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ianstenbit","download_url":"https://codeload.github.com/ianstenbit/CSE5345-Extra/tar.gz/refs/heads/numberDev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianstenbit%2FCSE5345-Extra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28795468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T01:07:07.743Z","status":"ssl_error","status_checked_at":"2026-01-27T01:07:06.974Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-07T00:41:11.302Z","updated_at":"2026-01-27T01:33:37.947Z","avatar_url":"https://github.com/ianstenbit.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Extra Credit Assignment\n\nThis assignment is optional.\n\nIf you attempt it, it will not negatively affect your grade.\n\nIt may, however, improve your overall grade by up to ten percentage points.\n\n### Grading works like this:\n\n**This assignment** will be graded out of 100:\n\n60 for a working program\n\n20 for elegant code\n\n10 for good-looking code\n\n10 for the rest :)\n\nCopying code from other students will be penalized.\n\nIf this grade is less than 61, I will ignore it.\n\nIf it is 61 or more, I will calculate an percentage adjustment to your\nfinal course grade using the formula\n\n    percent adjustment = ( grade on this assignment - 60 ) / 4.0\n\nFor example, if you score a 90 on this assignment, you'll receive a\n7.5% adjustment ([90-60]/4) to your final course grade.\n\nAt the end of the semester, this adjustment (which will be greater\nthan zero and less than or equal to 10) will be added to your course\npercentage grade (maxing out at 100%)\n\n# The Problem: \"I'm Thinking of a Number\"\n\n    14∙59∙57≻ mix run -e \"Extra.Guesser.play\"\n    I'm thinking of a number between 1 and 100\n        IS IT 50?\n    high\n        IS IT 25?\n    low\n        IS IT 37?\n    high\n        IS IT 31?\n    high\n        IS IT 28?\n    low\n        IS IT 29?\n    yes!\n        THE NUMBER IS 29\n\nThis is the output of running an Elixir application. It implements the\n\"thinking of a number\" game itself (the nonindented output) and a\nclient that tries to guess the number (the indented upper case\noutput).\n\nThe game server is implemented as a supervised OTP server. The low and\nhigh numbers are supplied to it as parameters by the `worker` call\nwhen the supervisor is defined.\n\nThe guesser is a separate module. When you invoke its `play` function,\nit starts a new game on the GameServer. The GameServer responds with\nthe low and high values. The guesser then uses these to produce a\nseries of guesses. Each time, it asks the GameServer if the guess is\ncorrect. The server responds with either `:low`, `:high`, or\n`:correct`.\n\n(There is an optimal guessing strategy which is _O(log n)_,\nwhere _n_ is _high - low_.)\n\nBoth the game server and the guesser use `IO.puts` to log what they are\ndoing, as shown above.\n\nThis repository provides the project skeleton, along with the\ntop-level supervisor (`lib/extra.ex`). The rest is up to you.\n\nTo give you an idea of the expected effort, my solution is just over\n50 total lines of code (excluding blank lines).\n\nYou might find `:rand.uniform/1` useful: http://erlang.org/doc/man/rand.html#uniform-1\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianstenbit%2Fcse5345-extra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fianstenbit%2Fcse5345-extra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianstenbit%2Fcse5345-extra/lists"}