full with rand function for the ping pong