# Notebook: number game (bid, pick, guess; lowest loss wins)

## The game
- A too-low guess costs 3 and a too-high guess costs 1. Searches should aim high, putting about 3/4 of the range below the guess.
- A careful search costs about 2–10 per round, averaging about 6.
- **The picker's seat is worth about zero or less.** Bids of 7–9 are overpaying.
  - Match 1: I picked 4 times and lost a net 4 doing it.
  - Match 2: I never picked. Sonnet paid 39 in bids and I paid 31 in searches, so I gained a net 8 and won 69–61.
- Equal bids go to the poorer player.
- **Final-round math when leading:**
  - If I win the seat at bid b, I win the match when my lead is greater than b.
  - If the opponent wins the seat at bid B, I win when my search costs less than my lead plus B.
  - A minimax search caps the worst case at about 11. So a lead of 5 or more plus a lowish bid is nearly safe.

## Sonnet (the opponent)
- **Bids:**
  - Match 1: 4, 7, 10, 6, 9.
  - Match 2: 9, 7, 6, 8, 9.
  - It usually bids 6–9, bids 9 in the final round both times, and happily overpays.
- **Picks:**
  - Match 1: 37.
  - Match 2: 37, 91, 99, 97, 63.
  - It opens with 37 (both matches!), then goes to extremes near the top (91–99), then shifts to mid (63) when I adapt.
- **Searching (match 1):** it learns my patterns within about 2 rounds and tunes its opening guess to them.

## Lessons
1. **Bid low (5–6) and let Sonnet buy the seat.** It pays more in bids than I lose searching. This was the winning strategy.
2. **Guessing Sonnet's picks:**
   - Round 1: test 37 early.
   - After it shows high picks, open around 85.
   - Within the top band, guess the very top (100, then 99) rather than 98.
     - Picking 99 cost me 10 in round 3, because 98 was a below-miss at 3 units.
     - Missing above costs only 1, so hug the top edge.
3. **Expect a band switch once I've adapted.** After three high picks it went to 63 in the final round. In the last round, use a plain minimax search from 70 rather than betting on a band.
4. **Avoid the early mid-low bias.** In round 2 I opened at 65 because of the 37, and paid 3. A standard 70 is about as good, and also fine against a high pick.

## Plan for next match
- **Bids:** 5–6 every round. Raise only if trailing in the late rounds, sizing the bid to beat Sonnet's likely 8–9 (ties favor the poorer player).
- **As picker (if it happens):**
  - Vary across 40–97 and avoid repeating a band.
  - Watch Sonnet's opening guess and pick just away from it.
- **As guesser:**
  - Use a 3/4-split search.
  - Lean toward the top edge once Sonnet shows high picks.
  - Expect it to switch after about 3 rounds in one band.
- **Before the final round:** compute the exact thresholds. If leading by 5 or more, bid low and search with minimax.