{"id":26428767,"url":"https://github.com/tknishh/arithmetic-mad","last_synced_at":"2025-10-10T02:12:32.948Z","repository":{"id":128962031,"uuid":"497570339","full_name":"tknishh/Arithmetic-MAD","owner":"tknishh","description":"Created a Arithmetic num game while using methods to track player performance.","archived":false,"fork":false,"pushed_at":"2022-05-29T11:38:04.000Z","size":101,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T10:08:08.783Z","etag":null,"topics":["college","mad","sem4"],"latest_commit_sha":null,"homepage":"","language":"Java","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/tknishh.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":"2022-05-29T11:26:45.000Z","updated_at":"2022-06-02T19:05:13.000Z","dependencies_parsed_at":"2023-03-30T10:35:57.914Z","dependency_job_id":null,"html_url":"https://github.com/tknishh/Arithmetic-MAD","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tknishh/Arithmetic-MAD","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknishh%2FArithmetic-MAD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknishh%2FArithmetic-MAD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknishh%2FArithmetic-MAD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknishh%2FArithmetic-MAD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tknishh","download_url":"https://codeload.github.com/tknishh/Arithmetic-MAD/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknishh%2FArithmetic-MAD/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002530,"owners_count":26083399,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["college","mad","sem4"],"created_at":"2025-03-18T04:41:16.618Z","updated_at":"2025-10-10T02:12:32.943Z","avatar_url":"https://github.com/tknishh.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=center\u003eTanish Khandelwal's Project \u003c/h1\u003e\n\u003cul\u003e\n\u003cli\u003eThis Project is a partially built project on Simple Arithmetic Game for \u003ci\u003esingle player\u003c/i\u003e.\u003c/li\u003e\n\n\u003cli\u003eMost of the coding part is already done, however, some clues are left in between (comments //) where students can write their codes.\u003c/li\u003e\n\n\u003cli\u003e\u003cb\u003ematchCounter\u003c/b\u003e will keep track of how many matches are played. A match is akin to answer one question.\u003c/li\u003e\n\n\u003cli\u003eIf a player correctly answers a match, a one is added in the score array; otherwise, a zero will be added.\u003c/li\u003e\n\n\u003cli\u003eWhen matchCounter reaches a value 3, the sum of last three matches will be added to the \u003cb\u003eperformance\u003c/b\u003e array, which is initially set with -1 at all places.\nFor example, the performance array at the start of your app will be like [-1, -1, -1, -1, -1, -1], but after the completion of three matches let the\nscore array be like [1, 0, 1] then the performance array would be like [-1, -1, -1, -1, -1, 2]. Each time the performance array will be updated, the new value will\nbe added at the last element of the array, and all previous values will be shifted one place left. The first value will be lost, as we have to analyze the performance\n  of the last six gammes only. \u003c/li\u003e\n  \n  \u003cli\u003eThe performance array will be stored in a SharedPreferences object. The SharedPreferences object is fetched at the start of the activity and an\n    alert dialog is presetned to the user suggesting on his or her performance based on the last six games. \u003c/li\u003e\n\n  \u003cli\u003e\u003cb\u003esumOfScore\u003c/b\u003e method should summing up the values of score array.\u003c/li\u003e\n\n\u003cli\u003eA class \u003cb\u003eLR\u003c/b\u003e is also provided with this project. The LR class has a getSlope method to provide the slope fromo the given data. The data must be input to the \n\u003cb\u003egetSlope\u003c/b\u003e method as a two-dimensional array (dataFrame). The first dimension will be the predictor values 1, 2, 3, 4, 5, 6 and the corresponding response values will\nbe performance values. The getSlope method is a static method, so you won't need to create objects of the LR class to obtain slope. Just use the name of the class LR.\n  For example: LR.getSlope(dataFrame) would return a slope as a double value.\u003c/li\u003e\n\n\u003cli\u003e\u003cb\u003edataPrep\u003c/b\u003e method generates a data-frame AKA two-dimensional array to be passed to the getSlope method.\u003c/li\u003e\n\n\u003cli\u003e\u003cb\u003egetInterpretation\u003c/b\u003e method returns a string based on the analysis of slope obtained from analysis of past six performances.\u003c/li\u003e\n\u003c/ul\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftknishh%2Farithmetic-mad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftknishh%2Farithmetic-mad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftknishh%2Farithmetic-mad/lists"}