To let the ball-players be 'eliminated' in any order by the gamer you could set up a simple "state machine" with a series of if ... else if ... statements.
For example with only three players there is a finite number of states, either
all three or one of the pairs AB, AC, BC.
Define each of these animations, then use some simple scripting logic to figure out who is "in the game" during repeatedly_execute().
For example with only three players there is a finite number of states, either
all three or one of the pairs AB, AC, BC.
Define each of these animations, then use some simple scripting logic to figure out who is "in the game" during repeatedly_execute().