You'll want to make your engine so all the blobs will do their things at the same time inside a FOR loop. The food bits should be managed in another FOR loop where it detects whenever a user is on a food bit, if so it removes that food bit, add 1 to the user's mass and spawn another food bit somwhere else.