Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Feature: change the hands of players #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Theomat
Copy link

@Theomat Theomat commented Dec 7, 2020

Hi !

I have implemented new features:

  • to return a card from a hand in a deck
  • to deal a specific card to a player
  • to change the hands of a player to a new hand

These two new moves are not present in the history, and the knowledge of the hand is unaltered.
This enables with a bit of manipulation to do something close to #30.
For example, one could add to each player the card they want to be played, discard, hinted, by changing their hands accordingly and then acting on these hands.

The return and deal specific moves were inspired from mcts-hanabi (under license Apache 2.0), their original implementation was kept for hanabi_hand and hanabi_move.

@google-cla
Copy link

google-cla bot commented Dec 7, 2020

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@Theomat
Copy link
Author

Theomat commented Dec 7, 2020

@googlebot I signed it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant