\input{code-page}
\documentclass[border=0.5cm, varwidth=8cm]{standalone}
\usepackage{../../latex/pgf-go}


\pgfgoset{profile = pgfgo, goban = {label = {at = {south, west}}}}


\begin{document}
	% A ladder (shicho): the white chain is a connected staircase
	% 	(-|-, then -- for its last stone) and the black stones
	% 	that chase it are two diagonals (--). 
	% Each line is written with its ends only.
	
	\begin{goban}
		\stones[w]{D4 -|- F6 -- G6}
		\stones[b]{C4, D3, D5 -- F7, E3 -- G5}
		\arrow{G6}{I8}
	\end{goban}

	\smallskip
	Black plays at G7 and White is in atari again: the chain keeps running towards the corner,
	where it is captured.
\end{document}
