Skip to content

Newest Card Agent

Lorenzo Mambretti edited this page Jul 29, 2019 · 4 revisions

The Newest Card Agent operates on the following simple heuristic:

  • If agent receives a new hint, plays the newest card affected by the most recent hint.
  • Otherwise, gives a hint about playable cards if the newest card affected is playable.
  • Otherwise, discards oldest card.

Source: https://github.com/chikinn/hanabi/blob/master/players/newest_card_player.py

Action Distribution