A stochastic strategy for the minority game