In a nutshell
Official games played before the shogun at Edo Castle in the Edo period.
In detail
In the Edo period, players from the iemoto houses were invited to Edo Castle to play before the shogun; these were the oshirogo, castle games.
Taking part was a great honor for a player, and these games were regarded as the highest level of Go at the time.