Poker and Dijkstra