{"id":18595443,"url":"https://github.com/ericjang/hanabi.jl","last_synced_at":"2026-01-30T00:47:41.805Z","repository":{"id":145006856,"uuid":"41612002","full_name":"ericjang/Hanabi.jl","owner":"ericjang","description":"customizable game engine for Hanabi, written in Julia","archived":false,"fork":false,"pushed_at":"2015-08-30T00:52:08.000Z","size":112,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-26T20:42:54.361Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ericjang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-30T00:50:40.000Z","updated_at":"2020-08-31T10:16:19.000Z","dependencies_parsed_at":"2023-04-06T11:51:58.695Z","dependency_job_id":null,"html_url":"https://github.com/ericjang/Hanabi.jl","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/ericjang%2FHanabi.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericjang%2FHanabi.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericjang%2FHanabi.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericjang%2FHanabi.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericjang","download_url":"https://codeload.github.com/ericjang/Hanabi.jl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239379322,"owners_count":19628684,"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":[],"created_at":"2024-11-07T01:19:46.494Z","updated_at":"2025-11-02T05:30:31.265Z","avatar_url":"https://github.com/ericjang.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hanabi\n\n[![Build Status](https://travis-ci.org/ericjang/Hanabi.jl.svg?branch=master)](https://travis-ci.org/ericjang/Hanabi.jl)\n\nA simple game engine for [Hanabi](https://en.wikipedia.org/wiki/Hanabi_%28card_game%29) written in Julia.\n\nThis module is designed to be simple enough for beginners to understand, while conforming to style guide and best practices common in larger Julia projects (i.e multiple dispatch, module organization, test coverage).\n\n## Rules\n\nThe game engine conforms to the rules in the [Wikipedia article](https://en.wikipedia.org/wiki/Hanabi_%28card_game%29).\n\n## Installation\n\nLaunch a julia REPL and run the following command:\n\n```julia\njulia\u003e Pkg.add(\"Hanabi.jl\")\n```\n## Simple Example\n\nHere is an out-of-the-box example of simulating a game of Hanabi:\n```julia\nusing Hanabi\n\ng = Game([SimplePlayer() for i=1:4]) # create a new game with 4 players\ng = run!(g) # simulate the game\nprint(getScore(g))\n```\n\n## Custom Strategies\n\nYou can implement per-player custom strategies. See the ```SimplePlayer``` composite type for an example.\n\n```\n\n```\n\n\n\nTODO - implement https://en.wikipedia.org/wiki/AIXI\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericjang%2Fhanabi.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericjang%2Fhanabi.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericjang%2Fhanabi.jl/lists"}