A non-transitory computer-readable medium that stores a program that processes a game, wherein the program, when executed by circuitry, causes the circuitry to: control a first mounted display worn by a first player to display a virtual space in association with a first virtual position in the virtual space; control a second mounted display worn by a second player to display the virtual space in association with a second virtual position in the virtual space; determine a position of the first player in a real space based on an output of a first sensor; move the first virtual position in accordance with the position of the first player; determine a position of the second player in the real space based on an output of a second sensor; move the second virtual position in accordance with the position of the second player; and when a condition is satisfied, produce a special effect in the game, wherein the condition includes a condition in which a distance between the first virtual position and the second virtual position is within a predetermined range; and wherein the predetermined range is a range less than or equal to a first distance, a first movement permission region and a second movement permission region are spaced apart from each other and a distance between the first movement permission region and the second movement permission region is less than or equal to the first distance, the first virtual position is permitted to move in the first movement permission region as the first player moves, and an initial position of the first virtual position is located in the center of the first movement permission region, and the second virtual position is permitted to move in the second movement permission region as the second player moves, and an initial position of the second virtual position is located in the center of the second movement permission region, and the program, when executed by the circuitry, causes the circuitry to: control the first mounted display to display a first region indicator that indicates the first movement permission region; and control the second mounted display to display a second region indicator that indicates the second movement permission region. control a first mounted display worn by a first player to display a virtual space in association with a first virtual position in the virtual space; control a second mounted display worn by a second player to display the virtual space in association with a second virtual position in the virtual space; determine a position of the first player in a real space based on an output of a first sensor; move the first virtual position in accordance with the position of the first player; determine a position of the second player in the real space based on an output of a second sensor; move the second virtual position in accordance with the position of the second player; and when a condition is satisfied, produce a special effect in the game, wherein the condition includes a condition in which a distance between the first virtual position and the second virtual position is within a predetermined range; and wherein the predetermined range is a range less than or equal to a first distance, a first movement permission region and a second movement permission region are spaced apart from each other and a distance between the first movement permission region and the second movement permission region is less than or equal to the first distance, the first virtual position is permitted to move in the first movement permission region as the first player moves, and an initial position of the first virtual position is located in the center of the first movement permission region, and the second virtual position is permitted to move in the second movement permission region as the second player moves, and an initial position of the second virtual position is located in the center of the second movement permission region, and the program, when executed by the circuitry, causes the circuitry to: control the first mounted display to display a first region indicator that indicates the first movement permission region; and control the second mounted display to display a second region indicator that indicates the second movement permission region. control the first mounted display to display a first region indicator that indicates the first movement permission region; and control the second mounted display to display a second region indicator that indicates the second movement permission region.