it consists of two teams of five players each running up and down a surface , throwing a ball back and forth to each other with the eventual goal of throwing it into a circle with a net hanging from it .