Added a ball game and actions functionality