moved getTreasurePos into Board class