{"id":27159182,"url":"https://github.com/garyhilares/discard-duel","last_synced_at":"2025-04-08T22:50:01.545Z","repository":{"id":160724437,"uuid":"580998517","full_name":"GaryHilares/Discard-Duel","owner":"GaryHilares","description":"A game where you have to form a straight with 5 of your cards before your computer opponent does.","archived":false,"fork":false,"pushed_at":"2024-04-21T19:57:57.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-22T11:58:54.529Z","etag":null,"topics":["cards","cpp","game"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GaryHilares.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-12-22T02:06:18.000Z","updated_at":"2024-04-21T19:58:00.000Z","dependencies_parsed_at":"2024-04-21T11:32:24.717Z","dependency_job_id":"f7b1785e-514f-4b10-9064-59d4f5a84c74","html_url":"https://github.com/GaryHilares/Discard-Duel","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/GaryHilares%2FDiscard-Duel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaryHilares%2FDiscard-Duel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaryHilares%2FDiscard-Duel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaryHilares%2FDiscard-Duel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GaryHilares","download_url":"https://codeload.github.com/GaryHilares/Discard-Duel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247941700,"owners_count":21022037,"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":["cards","cpp","game"],"created_at":"2025-04-08T22:50:00.791Z","updated_at":"2025-04-08T22:50:01.497Z","avatar_url":"https://github.com/GaryHilares.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eDiscard Duel\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"badge-lastcommit\" src=\"https://img.shields.io/github/last-commit/GaryHilares/Discard-Duel?style=for-the-badge\"\u003e\n    \u003cimg alt=\"badge-openissues\" src=\"https://img.shields.io/github/issues-raw/GaryHilares/Discard-Duel?style=for-the-badge\"\u003e\n    \u003cimg alt=\"badge-license\" src=\"https://img.shields.io/github/license/GaryHilares/Discard-Duel?style=for-the-badge\"\u003e\n    \u003cimg alt=\"badge-contributors\" src=\"https://img.shields.io/github/contributors/GaryHilares/Discard-Duel?style=for-the-badge\"\u003e\n    \u003cimg alt=\"badge-codesize\" src=\"https://img.shields.io/github/languages/code-size/GaryHilares/Discard-Duel?style=for-the-badge\"\u003e\n\u003c/p\u003e\n\n## What is Discard Duel?\nDiscard Duel is a game where you have to form a straight with 5 of your cards before your AI opponent does.\n- At the start of each turn, you draw until you have 6 cards in your hand.\n- Every turn, each player shows 1 card to their opponent, discard it and draw a new one.\n- At the end of every third turn, each player declares a number, and their opponents must discard any card with that number on it.\n- The first to have cards with 5 consecutive numbers wins!\n\n### Platforms\n- Cross-platform\n\n### Dependencies\n#### Development\n- A C++ compiler\n\n## Installation and usage\nYou can build Discard Duel by following the next steps:\n1. Clone the repository:\n    1. Fork the repository in GitHub.\n    2. Go to  your fork and copy the link to clone your repository.\n    3. Go to Git in your local machine and use the command `git clone (your link)`.\n2. Compile the C++ code:\n    - In UNIX systems, run `./build.sh` to build the game. If your compiler is not g++ or g++ is not on your PATH, you may have to edit the file to match your compiler's path.\n    - In Windows, you can copy the first part of the command in `./build.sh` into your command prompt or build it manually in other way.\n3. Run the program:\n    - You can run the program either by double clicking on it (in Windows) or running it from the terminal.\n\n## Contributors\nThanks to these wonderful people for making Discard Duel possible!\n\u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/GaryHilares/Discard-Duel/graphs/contributors\"\u003e\u003cimg src=\"https://contrib.rocks/image?repo=GaryHilares/Discard-Duel\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n## License\nThis work is licensed under a [Creative Commons Attribution 4.0 International License](https://github.com/GaryHilares/Discard-Duel/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaryhilares%2Fdiscard-duel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgaryhilares%2Fdiscard-duel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaryhilares%2Fdiscard-duel/lists"}