Squash can be played by either two players (singles) or four players (doubles) on the court at once. However, only one player is allowed to hit the ball at a time, and the other players must wait until the ball is struck before they can play their shot.