Apples Welcome to the apple game. only pick apples, be very careful not to get hit by the bullet, you have…