class_docstr: <a id="History"></a>
  
  ## History
  
  History $h \in H$ is a sequence of actions including chance events,
   and $H$ is the set of all histories.
  
  This class should be extended with game specific logic.
class_docstr_tok: ["<","a","id=","''","History","''",">","<","\/a",">","#","#","History","History","$","h","\\in","H","$","is","a","sequence","of","actions","including","chance","events",",","and","$","H","$","is","the","set","of","all","histories",".","This","class","should","be","extended","with","game","specific","logic","."]
docstr: Get current player, denoted by $P(h)$, where $P$ is known as **Player function**.
  
  If $P(h) = c$ it means that current event is a chance $c$ event.
  Something like dealing cards, or opening common cards in poker.
docstr_tok: ["Get","current","player",",","denoted","by","$","P","(","h",")","$",",","where","$","P","$","is","known","as","*","*","Player","function","*","*",".","If","$","P","(","h",")","=","c","$","it","means","that","current","event","is","a","chance","$","c","$","event",".","Something","like","dealing","cards",",","or","opening","common","cards","in","poker","."]
code: def player(self) -> Player:
      """
      Get current player, denoted by $P(h)$, where $P$ is known as **Player function**.
  
      If $P(h) = c$ it means that current event is a chance $c$ event.
      Something like dealing cards, or opening common cards in poker.
      """
      raise NotImplementedError()
  
imports: from typing import NewType, Dict, List, Callable, cast
  from labml import monit, tracker, logger, experiment
  from labml.configs import BaseConfigs, option
label_desc: Use image node_id 3 for calling the History obj's underlying member method code with example usage: obj.player() without return types