1. A non-transitory computer-readable recording medium having recorded thereon a program that causes a computer, which is a terminal device connected to a game providing apparatus to be capable of having communication with the game providing apparatus to perform a game in which a player selects a plurality of characters to participate in the game, to execute functions comprising: a screen display function that displays a plurality of character positioning areas at which a plurality of characters are to be positioned, respectively, and a plurality of characters positioned at the plurality of character positioning areas, respectively; and a character selection function that selects, when one of the characters is designated and a direction from the designated character having the designated character as a base point is designated, the designated character and the character positioned at the character positioning area that are in the designated direction, as a combination of characters to actually participate in the battle, wherein the character positioning areas are a matrix including a predetermined number of boxes in a column direction and a predetermined number of boxes in a row direction, and wherein the character selection function selects, when a character positioned at one of the boxes is designated and the column direction, the row direction, or an oblique direction from the designated character having the designated character as the base point is designated, the designated character and the character positioned at the box in the designated direction, as the combination of characters to actually participate in the battle.