Write game results into db in competition mode.