A modified version of the task originally created by Kip Williams, the Cyberball task is meant to induce feelings of ostracism in the participant. This task has users selecting from a list of pre-loaded, computer-generated confederates and will load them into the task. Then, the participant inputs his or her name and begins the task. It starts with 5 "inclusion" trials where the participant receives the ball and is able to throw it equally with the rest of the group. It then moves on to the "exclusion" task for 100 trials where participants receive the ball in 1 : 30 ratio.
To see how the task was made, follow along with the video below: