{"id":25824490,"url":"https://github.com/theimpossibleastronaut/deckhandler","last_synced_at":"2025-02-28T12:52:10.019Z","repository":{"id":49123147,"uuid":"146008977","full_name":"theimpossibleastronaut/deckhandler","owner":"theimpossibleastronaut","description":"Library to handle a deck of cards","archived":false,"fork":false,"pushed_at":"2024-12-06T05:15:21.000Z","size":94,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-06T06:20:36.059Z","etag":null,"topics":["c","cards","library","random-generation","simulations","swig"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theimpossibleastronaut.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-24T15:30:46.000Z","updated_at":"2024-12-06T05:15:25.000Z","dependencies_parsed_at":"2024-03-06T06:31:32.368Z","dependency_job_id":null,"html_url":"https://github.com/theimpossibleastronaut/deckhandler","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theimpossibleastronaut%2Fdeckhandler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theimpossibleastronaut%2Fdeckhandler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theimpossibleastronaut%2Fdeckhandler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theimpossibleastronaut%2Fdeckhandler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theimpossibleastronaut","download_url":"https://codeload.github.com/theimpossibleastronaut/deckhandler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241153632,"owners_count":19918838,"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","cards","library","random-generation","simulations","swig"],"created_at":"2025-02-28T12:52:09.347Z","updated_at":"2025-02-28T12:52:10.010Z","avatar_url":"https://github.com/theimpossibleastronaut.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/theimpossibleastronaut/deckhandler.svg?branch=master)](https://travis-ci.com/theimpossibleastronaut/deckhandler)\n\n# deckhandler\nLibrary that will create a deck of cards and shuffle it.\n\nTwo functions are included:\n\n    deck_init_dh: initialize a deck\n    deck_shuffle_dh: shuffle the deck\n    get_card_face: get the \"face\" of a card\n    get_card_suit: get the suit of a card\n\nDetailed example usage can be seen in\n[example-01.c](https://github.com/theimpossibleastronaut/deckhandler/blob/master/test/test_01.c)\nand\n[aa-pokerhands](https://github.com/theimpossibleastronaut/aa-pokerhands)\n\n## Dependencies\n\n* [meson](http://mesonbuild.com/Quick-guide.html) (for the build system)\n\n## Building\n\n    meson setup builddir\n    cd builddir\n    ninja\n\nThat will build the library, create the `example-01` executable and\nthen link to the library.\n\n## Tests\n\n    ninja test\n    meson test --setup=valgrind\n\n## Installation\n\nTo specify the installation directory (defaults to /usr/local) and\ninstall the program:\n\n    From *builddir*: `meson configure --prefix=\n    ninja install\n\nTo uninstall:\n\n    ninja uninstall\n\n## Projects that use deckhandler\n\n* [aa-pokerhands](https://github.com/theimpossibleastronaut/aa-pokerhands)\n\n## Using the library with other languages\n\nSee [SWIG_INTERFACE.md](https://github.com/theimpossibleastronaut/deckhandler/blob/master/SWIG_INTERFACE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheimpossibleastronaut%2Fdeckhandler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheimpossibleastronaut%2Fdeckhandler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheimpossibleastronaut%2Fdeckhandler/lists"}