Learning in writing games