Game machine and data storage medium having game program stored therein
First Claim
1. A game machine for generating a game map which defines an area where an object can move in the course of a game, the game machine comprising:
- unit storage means having previously stored therein a first unit, which is a unit zone including at least one connecting portion and forming the game map, and a second unit, which is a unit zone including at least one connecting portion and is different in type from the first unit;
first disposing means which selects one unit from the first unit and the second unit that are stored in the unit storage means, and disposes the selected unit on the map area; and
second disposing means which repeats a process of selecting a unit which is connectable to an unconnected connecting portion included in a unit already disposed on the map area and a process of disposing the selected unit on the map area, wherein the second disposing means includes;
unconnected connecting portion extracting means which extracts the unconnected connecting portion from the connecting portions included in the unit already disposed on the map area;
random number generating means which generates a random number within a predetermined range;
selection coefficient setting means which sets a selection coefficient to the connecting portion extracted by the unconnected connecting portion extracting means;
unit selecting means which compares the random number generated by the random number generating means with the selection coefficient based on predetermined criteria, and selects either one unit from the first unit and the second unit; and
unit disposing means which extracts the one unit selected by the unit selecting means from the first unit and the second unit stored in the unit storage means, connects a connecting portion included in the one unit to the connecting portion extracted by the unconnected connecting portion extracting means, and disposes the one unit on the map area.
1 Assignment
0 Petitions
Accused Products
Abstract
If a random number is larger than a selection coefficient SF, a room unit RU is given a high priority for disposition in a map area. If the random number is not larger than the selection coefficient SF, no room unit RU is disposed on the map area. Also, if a selected open door is a door DR set in a room unit RU, the selection coefficient SF is multiplied by a multiplication factor M, and then the multiplication result and the random number are compared. As the multiplication factor M is larger, a passage unit PU is given a higher priority for disposition on the map area. By adjusting the selection coefficient SF and the multiplication factor M, it is possible to generate a map in consideration of a ratio of units of two types to be disposed on the map area and an affinity between these units for connection.
-
Citations
20 Claims
-
1. A game machine for generating a game map which defines an area where an object can move in the course of a game, the game machine comprising:
-
unit storage means having previously stored therein a first unit, which is a unit zone including at least one connecting portion and forming the game map, and a second unit, which is a unit zone including at least one connecting portion and is different in type from the first unit;
first disposing means which selects one unit from the first unit and the second unit that are stored in the unit storage means, and disposes the selected unit on the map area; and
second disposing means which repeats a process of selecting a unit which is connectable to an unconnected connecting portion included in a unit already disposed on the map area and a process of disposing the selected unit on the map area, wherein the second disposing means includes;
unconnected connecting portion extracting means which extracts the unconnected connecting portion from the connecting portions included in the unit already disposed on the map area;
random number generating means which generates a random number within a predetermined range;
selection coefficient setting means which sets a selection coefficient to the connecting portion extracted by the unconnected connecting portion extracting means;
unit selecting means which compares the random number generated by the random number generating means with the selection coefficient based on predetermined criteria, and selects either one unit from the first unit and the second unit; and
unit disposing means which extracts the one unit selected by the unit selecting means from the first unit and the second unit stored in the unit storage means, connects a connecting portion included in the one unit to the connecting portion extracted by the unconnected connecting portion extracting means, and disposes the one unit on the map area. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A storage medium having stored therein a game program causing a computer to perform a process of generating a game map which defines an area where an object can move in the course of a game,
the computer having previously stored therein a first unit, which is a unit zone including at least one connecting portion and forming the game map, and a second unit, which is a unit zone including at least one connecting portion and is different in type from the first unit, the game program causing the computer to perform the process comprising: -
a first disposing step of selecting one unit from the previously-stored first unit and the second unit, and disposing the selected unit on the map area; and
a second disposing step of repeating a process of selecting a unit which is connectable to an unconnected connecting portion included in a unit already disposed on the map area and a process of disposing the selected unit on the map area, wherein the second disposing step includes;
an unconnected connecting portion extracting step of extracting the unconnected connecting portion from the connecting portions included in the unit already disposed on the map area;
a random number generating step of generating a random number within a predetermined range;
a selection coefficient setting step of setting a selection coefficient to the connecting portion extracted in the unconnected connecting portion extracting step;
a unit selecting step of comparing the random number generated in the random number generating step with the selection coefficient based on predetermined criteria, and selecting either one unit from the first unit and the second unit; and
a unit disposing step of extracting the one unit selected in the unit selecting step from the first unit and the second unit previously stored, connecting a connecting portion included in the one unit to the connecting portion extracted in the unconnected connecting portion extracting step, and disposing the one unit on the map area. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification