Squash is a sport in which two players hit a ball with a racket ( or Racquet ) . The aim of the game is to beat the other player by hitting the front wall and making the ball bounce twice on the floor before they can hit their turn , or for them to hit the ball out of play .
However , it is a stroke to the player who hit the ball if the ball was traveling straight to the front wall when the ball hit the opponent , without having first hit the side wall .