This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Hanabi simulator | |
================ | |
To use, subclass struct hanabi_player like so: | |
struct custom_data{ | |
// whatever other state needed by the custom hanabi_player | |
}; | |
struct hanabi_player *player = (struct hanabi_player*)malloc(sizeof(struct hanabi_player) + sizeof(struct custom_data)); |