(;AB[cp]AB[bp]AB[dp]AB[ep]AB[eq]AB[er]AB[es]AW[cq]AW[dq]AW[dr]AW[ds]AB[ar]AB[as]AB[cs]AB[bs]AB[br]AB[cr]AB[fr]AB[gs]AW[hs]AW[hr]AW[gr]AW[hq]AW[hp]AW[ho]AW[hn]AB[fn]AB[fo]AB[ap]MA[gs]AW[bq]TR[bq]C[White just played the triangled stone, threatening to capture 6 stones in the corner. Should you connect them or fill the ko?]AP[goproblems]
(;B[fs];W[aq]C[White takes the stones. Now what?]LB[bn:Tenuki]
(;B[br];W[bs]
(;B[ar]C[White remains dead. White capturing the Black stones just increased Black's territory by the same amount. You did wise to connect the ko.RIGHT])
(;B[cr];W[ar]))
(;B[bs];W[br]
(;B[ar];W[as]C[A much bigger ko for White.])
(;B[as];W[cs]C[The dead White group revives.])
(;B[cs];W[as]C[White happily fights a ko for these once dead stones.]))
(;B[bn];W[bs]C[White lives.]))
(;B[aq];W[fs]C[You played a move inside your own territory, capturing stones that were already dead. White happily takes the ko.]))