A rules engine for a board game called Go