The ball bounces off walls and detects scoring