A discrete model of competition