Simple pong game. My first attempt to write something in scala