{"id":22111479,"url":"https://github.com/delight-hk3/pickupgame","last_synced_at":"2026-05-02T15:35:16.678Z","repository":{"id":43196005,"uuid":"442044363","full_name":"delight-HK3/pickupgame","owner":"delight-HK3","description":"I tried to implement as much as possible the gacha that can be found in mobile games.","archived":false,"fork":false,"pushed_at":"2022-06-23T04:43:31.000Z","size":18,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T10:30:54.245Z","etag":null,"topics":["c-plus-plus","visual-studio"],"latest_commit_sha":null,"homepage":"","language":"C","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/delight-HK3.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}},"created_at":"2021-12-27T03:57:29.000Z","updated_at":"2022-04-12T02:16:20.000Z","dependencies_parsed_at":"2022-09-10T13:40:22.547Z","dependency_job_id":null,"html_url":"https://github.com/delight-HK3/pickupgame","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/delight-HK3%2Fpickupgame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delight-HK3%2Fpickupgame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delight-HK3%2Fpickupgame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delight-HK3%2Fpickupgame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delight-HK3","download_url":"https://codeload.github.com/delight-HK3/pickupgame/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245210115,"owners_count":20578165,"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":["c-plus-plus","visual-studio"],"created_at":"2024-12-01T10:42:10.102Z","updated_at":"2026-05-02T15:35:11.630Z","avatar_url":"https://github.com/delight-HK3.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pickupgame\n\n\u003e사용한 프레임워크 : 없음\u003cbr\u003e\n\u003e사용한 언어 : C \u003cbr\u003e\n\u003e사용한 DB : 없음 \u003cbr\u003e\n\u003e개발 Tool : Visual Studio 2017\u003cbr\u003e\n\u003e테스트한 OS : Window 10\u003cbr\u003e\n\u003cbr\u003e\n\n* 기능\n  * 1회 뽑기 , 연속 뽑기 \n  * 필요없는 아이템을 원하는 수량만큼 정리\n  * 지금까지 얻은 아이템 확인\n\u003cbr\u003e\n\n\u003cb\u003e제작한 목적\u003c/b\u003e : 모바일 게임 등에서 볼 수 있는 뽑기를 최대한 구현해 보았습니다.\n\n### 아이템 품급 확률 지정 코드 \n```c\nint pickup(int su1);\nint pickup(int su1) {\n\tint su2;\n\tif (su1 \u003c= 49 \u0026\u0026 su1 \u003e= 1) {\n\t\tsu2 = 1;\n\t}\n\telse if (su1 \u003e= 50 \u0026\u0026 su1 \u003c= 69) {\n\t\tsu2 = 2;\n\t}\n\telse if (su1 \u003e= 70 \u0026\u0026 su1 \u003c= 84) {\n\t\tsu2 = 3;\n\t}\n\telse if (su1 \u003e= 85 \u0026\u0026 su1 \u003c= 94) {\n\t\tsu2 = 4;\n\t}\n\telse {\n\t\tsu2 = 5;\n\t}\n\treturn su2;\n}\n```\n\n### 아이템 삭제 코드 \n```c\nint elimination(int array[],int gogosu1,int savesu2) {\n\tif (array[savesu2 - 1] \u003c gogosu1) {\n\t\treturn 0;\n\t}\n\tarray[savesu2 - 1] = array[savesu2 - 1] - gogosu1;\n\treturn array, gogosu1, savesu2;\n}\n```\n### 게임 화면 \n![가챠게임 캡처](https://user-images.githubusercontent.com/74585673/147436938-99509afb-66af-4f82-87ae-60bb10ebe5fe.PNG)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelight-hk3%2Fpickupgame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelight-hk3%2Fpickupgame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelight-hk3%2Fpickupgame/lists"}