Fifteen, then a pair
The eight lands the count on 15 for 2. Pairing it right back scores 2 more, and the last card adds 1. Rank matters here, suit does not.
Pegging is the part of cribbage where you and your rival take turns laying one card at a time onto a shared count. The count can never pass 31. Land it on 15 or 31, pair the last card, or finish a run, and you score on the spot.
The play comes right after the cut. Both players hold four cards. The non-dealer lays the first card, and from here on every point is scored the moment it happens.
The non-dealer lays a card face up and says its value. The dealer lays one on top and says the new total. Back and forth it goes, and the total may never pass 31. Face cards all count 10 here, so the count climbs fast.
You never bust. If every card left in your hand would push the count past 31, you say Go. Your rival plays anything they still legally can, then pegs one point, and the count starts over at zero. That single point is the whole penalty.
Three worked plays below show each of those in turn. Scroll, and the cards go down one at a time while the meter keeps the count.
The eight lands the count on 15 for 2. Pairing it right back scores 2 more, and the last card adds 1. Rank matters here, suit does not.
Count 7
Count 15 fifteen 2
Count 23 pair 2 + last card 1
The five completes 4-6-5 as a run of three, worth 3, and lands the count on 15 for 2 more. One card, 5 points, plus 1 for last card.
Count 4
Count 10
Count 15 fifteen 2 + run of 3 + last card 1
At 29 your rival has nothing that fits under 31 and says Go. You still do. The two lands exactly on 31 for 2, and a 31 closes the round on its own, so no go point is scored. The count resets to zero. The final card of the play pegs last card for 1.
Count 10
Count 19
Count 29
The rival says Go.
Count 29
Count 0 thirty-one 2
Count 7
Count 13 last card 1
Four cards each. You lead. Play any card that keeps the count at 31 or under. The rival plays a simple rule and the meter scores every card for both of you.