1. An apparatus for training at least one trainee engaged in the performance of a task to encourage self-regulation of a physiological state consistent with the optimal performance of said task, comprising: a task environment within which said task is being performed, said environment having a surface with a variable gradient and a variable stability; a movable barrier of variable area moving at a variable speed; a target having a variable area, said target being positioned within said environment at a variable distance from said at least one trainee; a projectile; a task device operated by said trainee to attempt to hit said target with said projectile, said task device having a variable accuracy to hit said target with said projectile; a biofeedback device operatively connected to said at least one trainee, said biofeedback device adapted to transmit at least one measured physiological signal value of said at least one trainee engaged in the performance of said task, said at least one measured physiological signal value measuring said trainee's current physiological state; a computing device configured for computing a physiological difference value for said task, said physiological difference value being computed as the absolute value of the difference between at least one preselected physiological target value and the said at least one corresponding measured physiological signal value of said at least one trainee engaged in the performance of said task; and at least one computer-controlled mechanical system configured for altering a capture probability for completing said task by altering at least one of said task environment, said task device, said biofeedback device, said projectile, said target, said barrier, and any combinations thereof, and wherein said capture probability being modified to be inversely proportional to said physiological difference value.