Pong clone in ruby