YARMOUTH — Kennebunk wanted to end the regular season on a high note to build momentum going into the Western Class A baseball tournament.

The Rams did just that Tuesday, collecting a season-high 17 hits in a 10-5 victory against Yarmouth in a Western Maine Conference game.

“This game was good for us,” Kennebunk Coach Brian Dill said. “We’ve been in a lot of one-run games this season and in high school baseball those games can go either way.

“It’s nice for us to get that five-run inning. We got to kind of open it up, give us a little breathing room.”

Kennebunk (10-6) broke open what had been a tight game by batting around and scoring five runs in the fifth.

“Everybody was focused,” said Nick Emmons, who hit a three-run homer to give the Rams a 5-1 lead in the fifth.

“We stayed focused as a team and we stayed together all the way.”

Every Kennebunk batter got at least one hit.

Nate Gilbert, who bats ninth, drove in four runs with a double, a single and a sacrifice fly. Kip Richard collected three singles and a double. And Emmons also contributed a run-producing double.

“We got a little lackadaisical defensively at the end,” Dill said, “but for us to hit the ball like that will give us good momentum going forward.”

The Rams are expected to be home for a preliminary-round game next Tuesday in the regional tournament.

Kennebunk turned some key defensive plays to keep the Clippers (8-8) from getting back into the game.

In the third inning, with runners on second and third, second baseman Ryan Coughlan dived to his left to knock down a bounding grounder, then threw to first base while on his knees to get Connor Lainey for the final out of the inning.

In the fifth, after Yarmouth scored two runs, Emmons, who plays shortstop, made a strong relay throw to the plate to get Lainey, who tagged up and tried to score from third after Jordan Brown flew to left for the second out of the inning.

“Our defense has been strong all year,” Emmons said.

“We struggled at times today but I thought we kept it together.”

Kennebunk took a 2-0 lead in the fourth. Richard and Emmons started the inning with doubles to produce the first run of the game. Gilbert drove in a run with his second hit of the game.

Luke Klenda led off the bottom of the fourth with his third home run of the season. He also drove in two runs with a fifth-inning single to make it 7-3.

Chris Cody and Caleb Pineo also had two hits each for the Clippers, who must await the outcome of Wednesday’s Winslow-Leavitt game to learn whether they can hold onto a spot in the Western Class B tournament.

“If Winslow wins, we’re in,” Yarmouth Coach Marc Halsted said.

“If Leavitt wins, we may miss getting in by less than one (tournament index) point.”