MEPLAT.

Figgie-style market making

Rules

The deck has 40 cards: one suit of 12, two of 10 and one of 8. Which is which is unknown; all 12 layouts start equally likely.

The goal suit is the other suit of the 12-card suit's colour (♠ with ♣, ♥ with ♦). Each goal card pays 10.

Fair value of a card = P(its suit is the goal) × 10. Buy when the offer is below fair, sell when the bid is above, otherwise pass.

Updating: weigh each possible suit size by its prior (8: 1/4, 10: 1/2, 12: 1/4) times the ways to draw the cards seen.

Difficulty moves from card values to quoting, trading against a market, then Bayes updates with and without a table.

Examples

1. P(♥ is the goal suit) = 40%. Fair value of one ♥?
4

2. Fair value 4.5. Market: 3 bid, 4 offered. Buy, sell or pass?
Buy: edge +0.5

3. You have seen one ♦. P(♦ has 12 cards), in percent?
30

Time (min/sec):