5 minutes
Fire a poker.dealRequest now and the betting engine gets ready to play. It seats the stacks, pulls antes, and opens a round. Then it stops. It walks to each NPC seat, npc0..npc2, and asks what that player wants to do. Every seat answers with nothing. PokerBetting never loaded a strategy. It waits on callbacks that no one gave it. The seats just sit there with cards in front of them. This lesson gives them brains. It gives each seat a different one.

Add the three AI seats to the scene
Three seats, three personalities. Each one is tied to one NPC id:
(The components are already in src/components/. You downloaded them in Lesson 1 with bjs download.)
Continue reading
Unlock the Full Course
Every lesson, the runnable examples, and the finished build — yours to keep.