Skip to content
Created a framework for simulating various algorithms for the game Hanabi. All you need to do is extend the Player class with your own implementation to see what is the expected outcome of the game with your strategy.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
Makefile
README.md
hanabi.cpp
hanabi.hpp
player.hpp
player_interactive.cpp
player_random.cpp

README.md

hanabi simulator

Created a framework in C++ for simulating various algorithms for the game Hanabi. All you need to do is implement the Player class with your own implementation to see what is the expected outcome of the game with your strategy.

This implementation is loosely based on https://gist.github.com/victorliu/8265574. I did not like the single file approach, nor the amount of data being copied. Player implementations should clearly be object oriented, hence choosing C++.

Custom implementations

To make your own Player class, make a copy of player_random.cpp and name it something like player_myalg.cpp. Then add it to the Makefile as a separate build target. Then you will get a bin/hanabi_myalg executable.

You can’t perform that action at this time.