alan-turing-institute / reg-peg

REG Hack Week 2024 Cribbage Agent Project
MIT License
0 stars 0 forks source link

Pegging #3

Open edaub opened 5 months ago

edaub commented 5 months ago

Pegging decisions are made following discards and after the shared cut card is revealed. The player has their 4 cards to be played alternately, with the pone leading in the first instance.

The full game state is more complicated to capture when compared to discarding. Players will already know the value of their hands before pegging begins, and thus may adjust their strategy in response to this information even though the points are yet to be awarded (this can be very relevant at the end game if the score is close). Additionally, information about the opponent's hand is revealed as play proceeds and cards are revealed. The full set of information available when pegging is the following:

Players may try to hide information about their hand by leading an outlier card (i.e. if my hand is 2-6-6-9, lead the 2; if my hand is A-5-10-10 then lead the A).