In the game of beer pong when you shoot and it seems like its going in but it bounces off the rim of the cup, making you miss. By not making it you are being blue balled
while simultaneously giving the cup a rim job
(not to be confused with butt hole licking).
Blue ball + Rim job = Blim Job