JP2011206445A - Program, information storage medium, route creating device, and arrangement board creating device - Google Patents
Program, information storage medium, route creating device, and arrangement board creating device Download PDFInfo
- Publication number
- JP2011206445A JP2011206445A JP2010079544A JP2010079544A JP2011206445A JP 2011206445 A JP2011206445 A JP 2011206445A JP 2010079544 A JP2010079544 A JP 2010079544A JP 2010079544 A JP2010079544 A JP 2010079544A JP 2011206445 A JP2011206445 A JP 2011206445A
- Authority
- JP
- Japan
- Prior art keywords
- route
- mass
- cell
- candidate
- array board
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、コンピュータに、縦横方向に連接配置されたマスの配列盤に対して正答順路となる文字等の割り当て順路を作成させるためのプログラム等に関する。 The present invention relates to a program or the like for causing a computer to create a route for assigning characters or the like as a correct answer route for a square array panel arranged in a vertical and horizontal direction.
文字を用いたパズルゲームの一種として、与えられた単語を定められた空白領域に埋めてゆくクロスワードパズルがよく知られている。また、意味のある単語ができるよう、定められた空白領域に1文字ずつ自由に文字を埋めてゆくゲームも知られている(例えば、特許文献1参照)。 As a kind of puzzle game using characters, a crossword puzzle in which a given word is filled in a predetermined blank area is well known. A game is also known in which characters are freely filled one by one in a predetermined blank area so that meaningful words can be formed (see, for example, Patent Document 1).
文字を用いたパズルゲームは、シューティングゲームや格闘アクションゲームのようには反射神経を必要としないため、老若男女を問わず、幅広い層が楽しめるゲームの1つである。しかしながら、ゲームに飽きが来ることが否めず、常に新しいゲームが要求される。本発明は、新たなアプローチで文字を用いたパズルゲームを実現することを目的としている。 A puzzle game using characters does not require reflexes like a shooting game or a fighting action game, and is one of the games that can be enjoyed by a wide range of people regardless of gender. However, it is undeniable that the game gets bored, and a new game is always required. An object of the present invention is to realize a puzzle game using characters by a new approach.
上記課題を解決するための第1の形態は、
文字、数字、記号又はこれらの組合せ(以下「文字等」という。)の意味のある並びとなるように、文字等が割り当てられて縦横方向に連接配置された文字等マス(以下「マス」という。)を1度だけ通過する順路をプレーヤに見出させるゲームに用いるために、前記文字等が割り当てられていないマスの配列盤(例えば、図5の文字盤30)に対して、正答順路となる前記文字等の割り当て順路を作成させるようコンピュータに演算処理させるためのプログラム(例えば、図20の順路生成プログラム312)であって、
前記配列盤のうち、前記順路の始点マスを選択し、確定マスとする始点マス選択手段(例えば、図20の順路生成部212;図24のステップC9,C13)、
最新の確定マスに隣接する未確定マスの中から候補マスを選択する候補マス選択手段(例えば、図20の順路生成部212;図24のステップC19)、
前記候補マスに仮順路を伸延した場合の順路完成の可否を判定する可否判定手段(例えば、図20の順路生成部212;図24のステップC21)、
前記可否判定手段により可と判定された場合に前記候補マスを最新の確定マスとして仮順路を1マス分延伸する延伸手段(例えば、図20の順路生成部212;図24のステップC25)、
として前記コンピュータを機能させるとともに、前記候補マス選択手段、前記可否判定手段、及び前記延伸手段を繰り返し機能させて前記配列盤の全てのマスが確定マスとなった場合の前記仮順路を前記正答順路とさせるためのプログラムである。
The first form for solving the above problem is
Characters such as letters, numbers, symbols, or combinations thereof (hereinafter referred to as “characters”) are assigned letters, etc., and are connected in the vertical and horizontal directions (hereinafter referred to as “mass”). .)) For a game in which the player finds a route that passes only once, the correct answer route is determined with respect to an array board (for example, the
From the array board, a start point cell selection means (for example, the
Candidate cell selection means for selecting candidate cells from the undefined cells adjacent to the latest confirmed cell (for example, the
Availability determination means for determining whether or not a route is completed when a temporary route is extended to the candidate cell (for example,
Extending means for extending the temporary route by one cell when the candidate cell is determined to be acceptable by the candidate cell as the latest determined cell (for example, the
And the function of the computer as well as the candidate mass selection means, the availability determination means, and the extension means are repeatedly functioned, and the temporary route in the case where all the squares of the array board become a definite mass, the correct answer route It is a program to make it.
また、他の形態として、
文字等の意味のある並びとなるように、文字等が割り当てられて縦横方向に連接配置されたマスを1度だけ通過する順路をプレーヤに見出させるゲームに用いるために、前記文字等が割り当てられていないマスの配列盤に対して、正答順路となる前記文字等の割り当て順路を作成する順路作成装置(例えば、図20の携帯型ゲーム装置1000)であって、
前記配列盤のうち、前記順路の始点マスを選択し、確定マスとする始点マス選択手段と、
最新の確定マスに隣接する未確定マスの中から候補マスを選択する候補マス選択手段と、
前記候補マスに仮順路を伸延した場合の順路完成の可否を判定する可否判定手段と、
前記可否判定手段により可と判定された場合に前記候補マスを最新の確定マスとして仮順路を1マス分延伸する延伸手段と、
を備え、前記候補マス選択手段、前記可否判定手段、及び前記延伸手段を繰り返し機能させて前記配列盤の全てのマスが確定マスとなった場合の前記仮順路を前記正答順路とする順路作成装置を構成することとしても良い。
As another form,
The character or the like is assigned for use in a game that allows the player to find a route that passes once through the squares that are assigned and connected in the vertical and horizontal directions so that a meaningful sequence of characters or the like is obtained. A route creation device (for example, the
From the array board, selecting a starting point mass of the route, a starting point mass selecting means as a fixed mass,
Candidate mass selection means for selecting candidate masses from uncertain masses adjacent to the latest confirmed mass;
Availability determination means for determining whether or not a route is completed when a temporary route is extended to the candidate mass;
An extension means for extending the temporary route by 1 square with the candidate mass as the latest confirmed mass when it is determined as acceptable by the availability determination means;
And a route creation device in which the candidate route selection unit, the availability determination unit, and the extension unit are repeatedly functioned so that the temporary route when the all squares of the array board are determined squares is the correct route. It is good also as comprising.
この第1の形態等によれば、文字等の意味のある並びとなるように縦横方向に連接配置されたマスを1度だけ通過する順序をプレーヤに見出させるゲームに用いるための、文字等が割り当てられていないマスの配列盤に対して正答順路となる文字等の割り当て順路を作成することができる。また、割り当て順路の生成は、始点マスを選択して確定マスとし、最新の確定マスに隣接する未確定マスの中から候補マスを選択し、この候補マスに仮順路を伸延した場合の順路完成の可否を判定し、順路完成が可と判定した場合に、候補マスを最新の確定マスとして仮順路を1マス分延伸するといった処理を繰り返し、配列盤の全てのマスが確定マスとなった場合に、仮順路を正答順路とすることで実現される。 According to the first embodiment, characters and the like for use in a game that allows the player to find the order of passing the cells arranged in the vertical and horizontal directions so as to form a meaningful arrangement of the characters only once. It is possible to create a route for assigning characters and the like that will be the correct route for a square array board to which no is assigned. In addition, the allocation route is generated by selecting the starting point cell as a confirmed cell, selecting a candidate cell from among the unestablished cells adjacent to the latest confirmed cell, and completing the route when the temporary route is extended to this candidate cell. If it is determined whether or not the route is complete and the completion of the route is determined to be possible, the process repeats the process of extending the temporary route by one cell with the candidate cell as the latest determined cell, and all cells on the array board become the fixed cell In addition, it is realized by setting the provisional route as the correct answer route.
第2の形態として、第1の形態のプログラムであって、
前記配列盤の各マスを配置位置に応じて市松模様状に互い違いにマスを選択することで2つのグループにグループ分けするグループ分け手段(例えば、図20の順路生成部212;図23のステップB9)として前記コンピュータを機能させ、
前記選択手段が、前記2つのグループそれぞれの所属マス数が異なる場合、多い方のグループに所属するマスの中から始点マスを選択する(例えば、図24のステップC13)ように前記コンピュータを機能させる、
ためのプログラムを構成することとしても良い。
As a second form, a program of the first form,
Grouping means for grouping each square of the array board into two groups by alternately selecting squares in a checkered pattern according to the arrangement position (for example, the
If the number of cells belonging to the two groups is different, the selection unit causes the computer to function so as to select a starting point cell from among cells belonging to the larger group (for example, step C13 in FIG. 24). ,
It is also possible to configure a program for this purpose.
この第2の形態によれば、配列盤の各マスを配置位置に応じて市松模様状に互い違いに選択することでグループ分けされた2つのグループそれぞれの所属マス数が異なる場合、多い方のグループに所属するマスの中から、始点マスが選択される。各マスを市松模様状に互い違いに選択することでグループ分けしていることから、正答順路は、2つのグループそれぞれの所属マスを交互に選択することになる。このため、正答順路の始点マス及び終点マスは、所属マス数が多い方のグループに所属するマスとなる。 According to this second mode, when the two groups divided by selecting each square of the array board in a checkered pattern according to the arrangement position are different from each other, the larger group The starting point cell is selected from the cells belonging to. Since the cells are grouped by alternately selecting the cells in a checkered pattern, the correct answer route is to select the cells belonging to each of the two groups alternately. For this reason, the start point cell and the end point cell of the correct answer route are cells belonging to the group having the larger number of cells.
第3の形態として、第1又は第2の形態のプログラムであって、
前記可否判定手段が、
前記候補マスに仮順路を伸延することで所定の袋小路条件を満たすこととなる未確定マスを検出する袋小路検出手段(例えば、図20の順路生成部212;図25のステップD15)と、
前記袋小路検出手段の検出結果を用いて前記順路完成の可否を判定する袋小路判定手段(例えば、図20の順路生成部212;図25のステップD17〜D25)と、
を有するように前記コンピュータを機能させるためのプログラムを構成することとしても良い。
As a third form, a program according to the first or second form,
The availability determination means is
A dead path detection means (for example, a forward
Using a detection result of the narrow path detecting means, a narrow path determining means (for example, the normal
It is good also as comprising the program for functioning the said computer so that it may have.
この第3の形態によれば、候補マスに仮順路を伸延することで所定の袋小路条件を満たすこととなる未確定マスを検出することで、順路完成の可否が判定される。 According to the third embodiment, whether or not a route is completed is determined by detecting an undefined cell that satisfies a predetermined bag path condition by extending a provisional route to a candidate cell.
具体的には、第4の形態のように、
前記袋小路判定手段が、前記袋小路検出手段の検出結果を含めて前記袋小路条件を満たす未確定マスが2以上存在することとなる場合に、前記順路完成を不可と判定する手段(例えば、図20の順路生成部212;図25のステップD19:YES〜D23)を有する、
ように前記コンピュータを機能させるためのプログラムを構成することとしても良い。
Specifically, as in the fourth form,
Means for determining that the forward path completion is not possible when there are two or more uncertain masses that satisfy the condition of the path including the detection result of the path narrowing detection means (for example, FIG. 20). The
Thus, a program for causing the computer to function may be configured.
この第4の形態によれば、袋小路条件を満たすとして検出された未確定マスを含めて、袋小路条件を満たす未確定マスが2以上存在することとなる場合に、順路完成が不可と判定される。これは、袋小路条件を満たす未確定マスは、終点マスにしかなり得ないためである。 According to the fourth embodiment, when there are two or more undetermined masses that satisfy the culled path condition including the undetermined masses that are detected as satisfying the culled path condition, it is determined that the forward path is not completed. . This is because an uncertain cell that satisfies the dead-line condition cannot be obtained as an end point cell.
第5の形態として、第3又は第4の形態のプログラムであって、
前記配列盤の各マスを配置位置に応じて市松模様状に互い違いにマスを選択することで2つのグループにグループ分けするグループ分け手段(例えば、図20の順路生成部212;図23のステップB9)として前記コンピュータを機能させ、
前記袋小路判定手段が、前記袋小路検出手段により検出された未確定マスが、前記始点マスと同じグループに属するか否かに応じて前記順路完成の可否を判定する手段(例えば、図20の順路生成部212;図25のステップD21)を有する、
ように前記コンピュータを機能させるためのプログラムを構成することとしても良い。
A fifth form is a program of the third or fourth form,
Grouping means for grouping each square of the array board into two groups by alternately selecting squares in a checkered pattern according to the arrangement position (for example, the
Means for determining whether or not the route is completed depending on whether or not the uncertain cell detected by the bag route detecting means belongs to the same group as the starting point cell (for example, the route generation in FIG. 20)
Thus, a program for causing the computer to function may be configured.
この第5の形態によれば、袋小路条件を満たすとして検出された未確定マスが始点マスと同じグループに属するか否かに応じて、順路完成の可否が判定される。各マスを市松模様状に互い違いに選択することでグループ分けしていることから、正答順路は、2つのグループそれぞれの所属マスを交互に選択することになる。つまり、2つの各グループの所属マス数が同じ場合には、始点マスと終点マスとは所属するグループが異なり、一方、2つの各グループの所属マス数が異なる場合には、マス数が多い方のグループに所属するマスが始点マス及び終点マスとなる。このように、始点マスが所属するグループによって終点マスが所属するグループが決まるため、袋小路条件を満たす未確定マスの所属するグループが、終点マスとして所属すべきグループか否かによって、順路完成の可能/不可能を判定することができる。 According to the fifth embodiment, whether or not the forward route is completed is determined according to whether or not the undefined cell detected as satisfying the dead-line condition belongs to the same group as the starting point cell. Since the cells are grouped by alternately selecting the cells in a checkered pattern, the correct answer route is to select the cells belonging to each of the two groups alternately. In other words, if two groups belong to the same number of cells, the start and end cells belong to different groups. On the other hand, if two groups belong to a different number, the larger number of cells. The cells belonging to this group become the start point cell and the end point cell. In this way, since the group to which the end point cell belongs is determined by the group to which the start point cell belongs, the route can be completed depending on whether or not the group to which the indeterminate cell condition that satisfies the dead-end condition belongs is the group that should belong to the end point cell. / Impossibility can be determined.
第6の形態として、第1〜第5の何れかの形態のプログラムであって、
前記可否判定手段が、前記候補マスに仮順路を伸延することで、未確定マス全てが所定の連接条件を満たさなくなる場合に、前記順路完成を不可と判定する連接性判定手段(例えば、図20の順路生成部212;図25のステップD5〜D11)を有する、
ように前記コンピュータを機能させるためのプログラムを構成することとしても良い。
As a sixth form, the program according to any one of the first to fifth forms,
The connectivity determination means (for example, FIG. 20) determines that the route completion is impossible when the undecided mass does not satisfy a predetermined connection condition by extending the provisional route to the candidate mass. A normal
Thus, a program for causing the computer to function may be configured.
この第6の形態によれば、候補マスに仮順路を伸延することで、未確定マス全てが所定の連接条件を満たさなくなる場合に、順路完成が不可と判定される。 According to the sixth aspect, when the tentative route is extended to the candidate mass, and all the unconfirmed masses do not satisfy the predetermined connection condition, it is determined that the route cannot be completed.
具体的には、第7の形態のように、
前記連接性判定手段が、
前記配列盤の周囲に仮想マス(例えば、図13の判定用マス50)を配置する仮想マス配置手段(例えば、図20の順路生成部212;図24のステップC1〜C3)と、
最新の確定マスが前記仮想マスの何れかと隣接した場合に全ての仮想マスを仮想確定マスとする仮想マス確定手段(例えば、図20の順路生成部212;図25のステップD1〜D3)と、
を有し、前記候補マスの周囲8マスに含まれる未確定マス及び仮想未確定マスが前記連接条件を満たさなくなる場合に前記順路完成を不可と判定する、
ように前記コンピュータを機能させるためのプログラムを構成することとしても良い。
Specifically, as in the seventh embodiment,
The connectivity determination means includes
Virtual mass placement means (for example,
Virtual mass confirmation means (for example, the
Determining that the route completion is impossible when the uncertain mass and the virtual uncertain mass included in the eight cells around the candidate mass do not satisfy the connection condition.
Thus, a program for causing the computer to function may be configured.
この第7の形態によれば、配列盤の周囲に仮想マスが配置され、最新の確定マスが仮想マスの何れかと隣接した場合に、全ての仮想マスが仮想確定マスとされる。そして、候補マスの周囲8マスに含まれる未確定マス及び仮想未確定マスが連接条件を満たさなくなる場合に、順路完成が不可と判定される。 According to the seventh embodiment, when a virtual cell is arranged around the array board and the latest determined cell is adjacent to any one of the virtual cells, all virtual cells are set as virtual determined cells. Then, when the unconfirmed cell and the virtual unconfirmed cell included in the eight cells around the candidate cell do not satisfy the connection condition, it is determined that the route is not completed.
第8の形態として、第1〜第7の何れかの形態のプログラムであって、
前記候補マス選択手段が、最新の確定マスに隣接する未確定マスのうち、最新の確定マスと、その1つ前に確定した確定マスとを結ぶ直線方向に無い未確定マスを優先的に候補マスとして選択するように前記コンピュータを機能させるためのプログラムを構成することとしても良い。
As an eighth form, the program according to any one of the first to seventh forms,
The candidate mass selection means preferentially selects an unconfirmed mass that is not in a straight line direction connecting the latest confirmed mass and the confirmed mass determined immediately before the unconfirmed mass adjacent to the latest confirmed mass. A program for causing the computer to function as a cell may be configured.
この第8の形態によれば、最新の確定マスに隣接する未確定マスのうち、最新の確定マスとその1つ前に確定した確定マスとを結ぶ直線方向にない未確定マスが、優先的に候補マスとして選択される。これにより、作成される順路の屈曲部が多くなって意味のある文字等の並びを見つけ出し難くなり、ゲームの難易度が高くなる。 According to the eighth embodiment, of the unconfirmed cells adjacent to the latest confirmed cell, the unconfirmed cell that is not in the straight line direction connecting the latest confirmed cell and the one confirmed immediately before it is preferential. Selected as a candidate cell. As a result, the number of bent portions in the route to be created increases, making it difficult to find meaningful characters and the like, increasing the difficulty of the game.
第9の形態として、第1〜第7の何れかの形態のプログラムであって、
前記候補マス選択手段が、最新の確定マスに隣接する未確定マスのうち、最新の確定マスと、その1つ前に確定した確定マスとを結ぶ直線方向に有る未確定マス、及び、直線方向に無い未確定マスの何れを優先的に候補マスとして選択するかを、所与の難易度に応じて可変する手段(例えば、図20の順路生成部212)を有するように前記コンピュータを機能させるためのプログラムを構成することとしても良い。
A ninth form is a program according to any one of the first to seventh forms,
The candidate mass selection means has an unconfirmed mass in a straight direction connecting the latest confirmed mass and the confirmed mass confirmed immediately before the unconfirmed mass adjacent to the latest confirmed mass, and the linear direction The computer is made to function so as to have means (for example, the
この第9の形態によれば、最新の確定マスに隣接する未確定マスのうち、最新の確定マスとその1つ前に確定した確定マスとを結ぶ直線方向に有る未確定マスを優先的に候補マスとして選択すると、作成される順路の屈曲部が少なくなって意味のある文字等の並びを見つけ出し易くなり、ゲームの難易度が低くなる。逆に、直線方向に無いマスを優先的に候補マスとして選択すると、作成される順路の屈曲部が多くなって意味のある文字等の並びを見つけ出し難くなり、ゲームの難易度が高くなる。このように、望まれる難易度に応じた順路を作成することが可能となる。 According to the ninth embodiment, among the unconfirmed cells adjacent to the latest confirmed cell, the unconfirmed cell in the straight line direction connecting the latest confirmed cell and the one confirmed immediately before it is given priority. If it is selected as a candidate cell, the number of bent portions in the route to be created is reduced, and it becomes easier to find a line of meaningful characters and the like, and the difficulty of the game is reduced. On the other hand, if a square that is not in the straight line direction is preferentially selected as a candidate square, it becomes difficult to find a line of meaningful characters and the like because the number of bent portions in the created route increases and the difficulty of the game increases. In this way, it is possible to create a route according to a desired difficulty level.
第10の形態として、第1〜第7の何れかの形態のプログラムであって、
前記候補マス選択手段が、最新の確定マスに隣接する未確定マスのうち、最新の確定マスの右又は下に位置する未確定マス、及び、左又は上に位置する未確定マスの何れを優先的に候補マスとして選択するかを、所与の難易度に応じて可変する手段を有するように前記コンピュータを機能させるためのプログラムを構成することとしても良い。
As a tenth form, the program according to any one of the first to seventh forms,
The candidate mass selection means gives priority to the unconfirmed mass located to the right or below the latest confirmed mass and the unconfirmed mass located to the left or above among the unconfirmed masses adjacent to the latest confirmed mass. It is also possible to configure a program for causing the computer to function so as to have means for changing whether to select a candidate cell according to a given difficulty level.
この第10の形態によれば、最新の確定マスに隣接する未確定マスのうち、最新の確定マスの右又は下に位置する未確定マスを優先的に候補マスとして選択すると、作成される順路が、大まかには右方向或いは下方向に進む順路となる。つまり、日本語の横書き或いは縦書きに準じた方向となって文字等の並びを見つけ出し易くなり、ゲームの難易度が低くなる。逆に、最新の確定マスの左又は上に位置する未確定マスを優先的に候補マスとして選択すると、作成される順路の大まかな方向が、日本語の横書き或いは縦書きとは逆の方向となって文字等の並びを見つけ出し難くなり、ゲームの難易度が高くなる。このように、望まれる難易度に応じた順路を作成することが可能となる。 According to the tenth embodiment, when an unconfirmed cell located to the right or below the latest confirmed cell is preferentially selected as a candidate cell among unconfirmed cells adjacent to the latest confirmed cell, the route created However, it is a normal route that goes to the right or down. In other words, it becomes easier to find a line of characters or the like in a direction according to Japanese horizontal writing or vertical writing, and the difficulty of the game is reduced. On the other hand, if the unconfirmed cell located on the left or top of the latest confirmed cell is selected as a candidate cell, the rough direction of the route to be created is the opposite of the horizontal or vertical writing in Japanese. It becomes difficult to find out the line of characters and the like, and the difficulty of the game becomes high. In this way, it is possible to create a route according to a desired difficulty level.
第11の形態として、
文字等の意味のある並びとなるように、文字等が割り当てられて縦横方向に連接配置されたマスを1度だけ通過する順路をプレーヤに見出させるゲームに用いるための前記マスの出題用の配列盤を作成させるようコンピュータに演算処理させるためのプログラムであって、
始点マス及び終点マスが周囲何れかのマスとされて割り当て順路が予め定められたN個(Nは2以上)の基礎配列盤を、i番目(i=1〜(N−1))の基礎配列盤の終点マスとi+1番目の基礎配列盤の始点マスとが隣接するように配置構成することで1番目の基礎配列盤の始点マスからN番目の基礎配列盤の終点マスまでを正答順とする前記出題用の配列盤を作成させる配置構成手段として前記コンピュータを機能させるためのプログラムを構成することとしても良い。
As an eleventh form,
For use in a game in which the player finds a route that passes through a cell that has been assigned a character or the like and is connected in the vertical and horizontal directions only once so as to form a meaningful sequence of characters. A program for causing a computer to perform calculation processing to create an array board,
N (N is 2 or more) basic array boards whose allocation route is determined in advance with the start point cell and the end point cell being one of the surrounding cells, the i-th (i = 1 to (N−1)) basis By arranging the end point cell of the array board and the start point cell of the (i + 1) th basic array board adjacent to each other, the order from the start point mass of the first basic array board to the end point mass of the Nth basic array board is in the correct answer order. A program for causing the computer to function as the arrangement configuration means for creating the layout board for the questions may be configured.
また、他の形態として、
文字等の意味のある並びとなるように、縦横方向に連接配置されたマスを1度だけ通過する順路をプレーヤに見出させるゲームに用いるための前記マスの出題用の配列盤を作成する配列盤作成装置であって、
始点マス及び終点マスが周囲何れかのマスとされて割り当て順路が予め定められたN個(Nは2以上)の基礎配列盤を、i番目(i=1〜(N−1))の基礎配列盤の終点マスとi+1番目の基礎配列盤の始点マスとが隣接するように配置構成することで1番目の基礎配列盤の始点マスからN番目の基礎配列盤の終点マスまでを正答順とする前記出題用の配列盤を作成する配列盤作成装置を構成することとしても良い。
As another form,
An array for creating an array board for questions of the squares to be used in a game that allows a player to find a route that passes through the squares connected in the vertical and horizontal directions only once so that a meaningful sequence of characters or the like is obtained. A board creation device,
N (N is 2 or more) basic array boards whose allocation route is determined in advance with the start point cell and the end point cell being one of the surrounding cells, the i-th (i = 1 to (N−1)) basis By arranging the end point cell of the array board and the start point cell of the (i + 1) th basic array board adjacent to each other, the order from the start point mass of the first basic array board to the end point mass of the Nth basic array board is in the correct answer order. It is also possible to constitute an array board creation device that creates the array board for the questions to be asked.
この第11の形態等によれば、文字等の意味のある並びとなるように縦横方向に連接配置されたマスを1度だけ通過する順序をプレーヤに見出させるゲームに用いるための、マスの出題用の配列盤を作成することができる。 According to the eleventh form, etc., the squares for use in a game that allows the player to find the order of passing the squares connected in the vertical and horizontal directions so as to form a meaningful sequence of characters etc. only once. You can create a layout board for questions.
第12の形態として、
文字等の意味のある並びとなるように、文字等が割り当てられて縦横方向に連接配置されたマスを1度だけ通過する順路をプレーヤに見出させるゲームに用いるために、前記マスの配置位置が決定され前記文字等が割り当てられていない前記マスの配列盤の作成及び当該配列盤に対する正答順路となる前記文字等の割り当て順路の作成をコンピュータに演算処理させるためのプログラムであって、
前記マスを配列することにより前記配列盤の候補となる配列盤候補を作成する配列盤候補作成手段、
前記配列盤候補の各マスを配置位置に応じて市松模様状に互い違いにマスを選択することで2つのグループにグループ分けした場合に、当該2つのグループそれぞれの所属マス数が2以上異なるか否かで前記配列盤候補の良否を判定する配列盤候補良否判定手段、
前記配列盤候補良否判定手段により良と判定されるまで前記配列盤候補作成手段に繰り返し再作成させる再作成制御手段、
として前記コンピュータを機能させるとともに、前記配列盤候補良否判定手段により良と判定された配列盤候補を配列盤として第1〜第10の何れかの形態のプログラムを実行させることで前記正答順路を作成させるように前記コンピュータを機能させるためのプログラムを構成することとしても良い。
As a twelfth form,
In order to use in a game that allows the player to find a route that passes only once through the squares that are allocated in the vertical and horizontal directions so as to form a meaningful sequence of letters, etc. Is a program for causing a computer to calculate the creation of an array board of the cells to which the character or the like is not assigned and the creation of the assignment route of the letters, etc., which is the correct answer route for the array board,
An array board candidate creating means for creating an array board candidate to be a candidate for the array board by arranging the cells;
Whether or not the number of assigned squares of each of the two groups differs by two or more when each square of the array board candidates is grouped into two groups by alternately selecting squares in a checkered pattern according to the arrangement position The sequence board candidate pass / fail judgment means for judging pass / fail of the sequence board candidate in
Re-creation control means for repeatedly re-creating the array board candidate creation means until it is determined to be good by the array board candidate quality determination means,
The correct answer route is created by causing the computer to function as and executing the program of any of the first to tenth forms using the array board candidate determined to be good by the array board candidate pass / fail determination means as the array board It is also possible to configure a program for causing the computer to function.
この第12の形態によれば、文字等の意味のある並びとなるように縦横方向に連接配置されたマスを1度だけ通過する順序をプレーヤに見出させるゲームに用いるための、マスの出題用の配列盤を作成することができるとともに、この配列盤に対して正答順路となる文字等の割り当て順路を作成することができる。 According to the twelfth aspect, the square questions for use in a game that allows the player to find out the order of passing the squares connected in the vertical and horizontal directions only once so as to form a meaningful arrangement of characters and the like. An array board for the user can be created, and an assignment path for characters or the like that will be the correct answer path can be created for the array board.
第13の形態として、第1〜第12の何れかの形態のプログラムを記憶したコンピュータ読み取り可能な情報記憶媒体(例えば、図20の記憶部300)を構成することとしても良い。
As a thirteenth mode, a computer-readable information storage medium (for example, the
ここでいう「情報記憶媒体」とは、例えば磁気ディスクや光学ディスク、ICメモリなどを含む。そして、この第13の形態によれば、情報記憶媒体に記憶されたプログラムをコンピュータに読み取らせて実行させることで、第1〜第12の何れかの発明と同様の作用効果を発揮させることができる。 The “information storage medium” here includes, for example, a magnetic disk, an optical disk, an IC memory, and the like. Then, according to the thirteenth aspect, by causing a computer to read a program stored in an information storage medium and executing the program, the same operational effects as any of the first to twelfth inventions can be exhibited. it can.
以下、図面を参照して、本発明の実施形態を説明する。なお、以下では、携帯型ゲーム装置において文字パズルゲームを実行する例を説明するが、本発明の適用可能な実施形態がこれに限定されるものではない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following, an example in which a character puzzle game is executed in a portable game device will be described, but embodiments to which the present invention can be applied are not limited thereto.
[ゲーム装置の外観]
図1は、本実施形態における携帯型ゲーム装置1000の外観図である。図1によれば、携帯型ゲーム装置1000は、プレーヤがゲーム操作を入力するための方向入力キー1002及びボタンスイッチ1004と、第1液晶ディスプレイ1006と、第2液晶ディスプレイ1008と、スピーカ1010と、イメージセンサモジュール1014と、制御ユニット1020とを、ヒンジで開閉自在な折り畳み型の装置本体に備えている。そして、第1液晶ディスプレイ1006及び第2液晶ディスプレイ1008の表示面上には、スタイラスペン1040などで触れることによって表示画面の任意位置を接触入力することのできるタッチパネル1012がそれぞれ装着されている。
[Appearance of game device]
FIG. 1 is an external view of a
また、装置本体には、コンピュータ読み出し可能な情報記憶媒体であるメモリカード1030にデータを読み書きできるメモリカード読取装置1016が備えられている。メモリカード1030には、携帯型ゲーム装置1000の制御ユニット1020がゲームプレイにかかる各種演算処理を実行するために必要なプログラムや各種設定データが記憶されている。またその他、装置本体には図示されていない内蔵バッテリーや電源ボタン、音量調節ボタン等が設けられている。
Further, the apparatus main body is provided with a
タッチパネル1012は、表示画面を遮蔽することなく第1液晶ディスプレイ1006及び第2液晶ディスプレイ1008それぞれの表示画面のほぼ全域を被い、プレーヤがスタイラスペン1040や指などで触れる接触操作を行うと、左上を原点とする直交Xw,Yw軸座標系における接触位置座標を制御ユニット1020へ出力する。
The
制御ユニット1020は、ゲーム装置の制御基板に相当し、CPU(Central Processing Unit)やGPU(Graphics Processing Unit)、DSP(Digital Signal Processor)などの各種マイクロプロセッサ、ASIC(Application Specific Integrated Circuit)、VRAMやRAM、ROM等の各種ICメモリを搭載する。また、制御ユニット1020は、無線通信モジュール1022や、3軸加速度センサ1024、第1液晶ディスプレイ1006及び第2液晶ディスプレイ1008のドライバ回路、タッチパネル1012のドライバ回路、方向入力キー1002及びボタンスイッチ1004からの信号を受信する回路、スピーカ1010へ音声信号を出力するためのアンプ回路、メモリカード読取装置1016への信号入出力回路といった所謂I/F回路(インターフェース回路)を搭載する。これら制御ユニット1020に搭載されている各要素は、それぞれバス回路を介して電気的に接続され、データの読み書きや信号の送受信が可能に接続されている。
The
3軸加速度センサ1024は、携帯型ゲーム装置1000の姿勢変化や位置変化を検出するために直交するX,Y軸,Z軸の3軸方向の加速度を検出し、検出信号を制御ユニット1020へ出力する。尚、加速度センサの代わり、又は更なる機能追加としてジャイロセンサを備える構成としても良い。或いは地磁気を基準として位置や姿勢変化を検出する磁気センサを更に機能追加してもよい。
The
制御ユニット1020は、メモリカード読取装置1016によってメモリカード1030に格納されているプログラムやデータを読み出して、搭載するICメモリにこれらを一時記憶する。そして、読み出したプログラムを実行して演算処理を実行し、方向入力キー1002やボタンスイッチ1004、タッチパネル1012からの操作入力に応じて携帯型ゲーム装置1000の各部を制御して所与のゲームを実行する。
The
なお、本実施形態では、携帯型ゲーム装置1000は必要なプログラムや各種設定データをメモリカード1030から読み出す構成としているが、無線通信モジュール1022を介して、インターネットやLAN(Local Area Network)、WAN(Wide Area Network)などの有線/無線の通信回線Nに接続して外部の装置からダウンロードする構成としても良い。
In the present embodiment, the
[ゲーム概要]
本実施形態では、携帯型ゲーム装置1000において「文字パズルゲーム」が実行される。この文字パズルゲームは、表示された文字を繋げて意味のある文字列(単語や文章など)として完成させるゲームである。
[Game Overview]
In the present embodiment, a “character puzzle game” is executed in the
図2は、ゲーム画面の一例である。図中上側は、第1液晶ディスプレイ1006の出題画面W1を示し、下側は、第2液晶ディスプレイ1008に表示される回答画面W2を示している。回答画面W2には、縦横方向に配列された複数の文字ブロック10が表示される。各文字ブロック10に表示されている文字は、意味のある文章や単語である所定の出題文字列を構成する各文字であり、1つの文字ブロック10に1文字が割り当てられている。なお、本実施形態では、出題文字列を構成する文字は「ひらがな」とするが、カタカナや漢字、数字、演算記号等を含めることにしても良い。図2では、出題文字列「みなみじゅうじせい」の各文字を割り当てた9つの文字ブロック10が、3×3の配列で表示されている。また、回答画面W2には、回答可能な残り時間21、回答の完了を指示する決定アイコン22、回答のやり直しを指示するやり直しアイコン23が表示されている。
FIG. 2 is an example of a game screen. In the drawing, the upper side shows the question screen W1 of the first
この回答画面W2において、プレーヤは、図3に示すように、スタイラスペン1040等を用いたタッチ操作によって回答を入力する。すなわち、文字の並びから出題文字列を推測し、表示画面上をタッチしたまま移動させるスライド操作によって、推測した出題文字列となるように各文字ブロック10を繋ぐ。このとき、縦横方向に隣接する文字ブロック10同士を繋ぐとともに、全ての文字ブロック10を1回のみ選択して、出題文字列の先頭の文字から最後の文字までを一回のスライド操作で繋ぐ、いわゆる一筆書きの要領で回答を入力する。
In the answer screen W2, as shown in FIG. 3, the player inputs an answer by a touch operation using the
すると、回答画面W2には、スライド操作に伴うタッチ位置の軌跡(入力軌跡)24が表示されるとともに、選択した文字ブロック10が、選択済みであることを表すよう反転表示される。プレーヤの回答は、やり直しアイコン23を選択するとキャンセルされ、文字ブロック10の反転表示が戻されるとともに軌跡24が消去される。
Then, on the answer screen W2, the locus (input locus) 24 of the touch position associated with the slide operation is displayed, and the selected
回答を終了してプレーヤが決定アイコン22を選択した、或いは、残り時間21がゼロになると、図4に示すように、プレーヤの回答に対する答え合わせ画面W3が表示される。
When the answer is finished and the player selects the
図4に示すように、答え合わせ画面W3では、回答画面W2に表示されていた各文字ブロック10が、プレーヤの回答順に並べて表示される。そして、このプレーヤの回答による文字列(文字の並び)が出題文字列に一致しているか否かによって「正解/不正解」が判定され、判定結果に応じた演出等がなされる。 As shown in FIG. 4, on the answer matching screen W3, the character blocks 10 displayed on the answer screen W2 are displayed side by side in the player's answer order. Then, “correct answer / incorrect answer” is determined depending on whether or not the character string (character sequence) according to the player's answer matches the question character string, and an effect or the like according to the determination result is made.
[原理]
続いて、本実施形態の特徴である、出題画面W1における出題文字列の各文字の配列順の決定を説明する。先ず、文字ブロック10を配置するための「文字盤」を設定する。図5は、文字盤30の一例を示す図である。図5に示すように、文字盤30には、文字ブロック10が配置される複数のマス40が形成されている。詳細には、出題文字列の文字数と等しい数のマス40が形成されており、1つのマス40に1つの文字ブロック10が配置される。また、略正方形状である文字ブロック10に合わせて正方形状のマス40となっており、これらのマス40は、互いに上下左右方向で隣接するように形成されている。図5では、正方形状の文字盤30が4×4の碁盤の目状に区切られており、16個のマス40が形成されている。
[principle]
Next, the determination of the arrangement order of the characters in the question character string on the question screen W1, which is a feature of the present embodiment, will be described. First, a “clock face” for arranging the character blocks 10 is set. FIG. 5 is a diagram illustrating an example of the
このように複数のマス40が形成された文字盤30において、出題文字列の各文字(文字ブロック10)の配置順として、全てのマス40を1回ずつ通りながら縦横方向に進む順路(マス40の繋がり)を決定する。
In the
図6は、文字盤30における「順路」の生成手順の概要を示す図である。順路の生成手順としては、先ず、図6(a)に示すように、出題文字列の最初の文字ブロック10が配置される「始点マス」を決定する。図6(a)では、マス40−fが始点マスである。
FIG. 6 is a diagram showing an outline of the procedure for generating the “forward route” on the
そして、この始点マスから、上下左右方向に1マスずつ順路を伸ばしてゆく。すなわち、図6(a)に示すように、現在の順路の先頭のマス40と上下左右方向に隣接する4つのマス40のうち、順路として未確定のマス40(未確定マス)のうちから、次の順路の候補となるマス40(候補マス)を選択する。
From this starting point cell, the route is extended by one cell in the vertical and horizontal directions. That is, as shown in FIG. 6A, from among the four
候補マスを選択する毎に、この候補マスに仮順路を伸延した場合に順路が完成し得るか否か(順路の完成可否)を判定する。完成不可能と判定したならば、他の候補マスを再選択する。完成可能と判定したならば、候補マスを順路として確定し、次の候補マスを選択する。このように、候補マスの選択、順路の完成可否、候補マスの順路としての確定を繰り返し、文字盤30の全てのマス40が確定マスとなると、順路の完成となる。
Each time a candidate cell is selected, it is determined whether or not the normal route can be completed when the temporary route is extended to this candidate cell (whether or not the normal route can be completed). If it is determined that it cannot be completed, another candidate cell is reselected. If it is determined that the completion is possible, the candidate cell is determined as a normal route, and the next candidate cell is selected. In this manner, selection of candidate squares, whether or not a route is completed, and confirmation of candidate squares as regular routes are repeated, and when all
図6(b)では、順路としてマス40−f,40−g,40−k,40−jを順に確定した状態であり、この場合、マス40−jに隣接する4つのマス40−f,40−i,40−k,40−nのうち、未選択マスであるマス40−i,40−nの何れかかが次の候補マスとなる。 FIG. 6B shows a state in which cells 40-f, 40-g, 40-k, and 40-j are sequentially determined as forward routes. In this case, four cells 40-f, Of 40-i, 40-k, and 40-n, one of the unselected cells 40-i and 40-n is the next candidate cell.
始点マスは、次のように決定する。先ず、図7に示すように、文字盤30の各マス40に、「1/0」の「パリティ」を設定する。パリティは、隣り合うマス40同士のパリティが異なるように設定される。図7では、4×4の合計16マスからなる文字盤30の例を示しており、パリティが「1」のマス40と「0」のマス40とが、市松模様状に互い違いに設定されている。このように、隣り合うマス40同士のパリティが異なるように設定されるため、順路は異なるパリティのマス40を交互に通ることになる。
The starting point cell is determined as follows. First, as shown in FIG. 7, “parity” of “1/0” is set in each square 40 of the
従って、図8(a)に示すように、文字盤30における各パリティのマス40の数が同じならば、文字盤30の全てのマス40のうちから、始点マスを選択する。そして、この場合、始点マスと終点マスとのパリティが異なることになる。例えば、パリティ「1」のマス40を始点マスとすると、必ず、パリティ「0」のマス40が終点マスとなる。但し、各パリティのマス40の数が同じであっても、何れのマス40を始点マスとして選択するかによって順路が生成不可能な場合もある。このような場合には、他のマス40を始点マスとして再選択する。
Therefore, as shown in FIG. 8A, if the number of the
また、図8(b)に示すように、文字盤30における各パリティのマス40の数の差が「1」ならば、マス数が多い方のパリティのマス40が、始点マス、及び、終点マスとなる。つまり、マス数が多い方のパリティのマス40のうちから、始点マスを選択する。図8(b)では、パリティ「1」のマス数が「8」、パリティ「0」のマス数が「7」であり、従って、パリティ「1」のマス40が、始点マス、及び、終点マスとなる。
Further, as shown in FIG. 8B, if the difference in the number of the
また、図8(c)に示すように、文字盤30における各パリティのマス40の数の差が「2」以上の場合、順路を生成できない。図8(c)では、パリティ「1」のマス数が「8」、パリティ「0」のマス数が「6」であり、従って、2つのパリティそれぞれのマス数の差が「2」であるため、順路の生成が不可能である。
Further, as shown in FIG. 8C, when the difference in the number of
順路の延伸途中における完成可否の判定要素として、(A)袋小路マス(行き止まり)、(B)未確定マスの非連結、がある。 There are (A) a dead end mass (dead end) and (B) a non-confirmed mass unconnected as determination factors for whether or not completion is possible in the middle of extending a normal route.
(A)袋小路マス
先ず、「袋小路マス」とは、袋小路条件を満たすマス40、すなわち、上下左右の4方向のうち、1方向にしか順路が延ばせないマス40である。
(A) Fukurokoji Mass First, the “bukurokoji mass” is a mass 40 that satisfies the sacrificial path condition, that is, a
図9は、袋小路マスの一例である。図9(a)では、3つのマス40−a,40−b,40−fが、順路として確定しているマス40(確定マス)であり、候補マスとしてマス40−gを選択した状態である。マス40−fからマス40−gへ仮順路を伸延した場合、マス40−eは、マス40−iからマス40−eへの順路のみしか存在しないため、マス40−eが袋小路マスとなる。 FIG. 9 is an example of a dead end mass. In FIG. 9A, three squares 40-a, 40-b, and 40-f are squares 40 (final squares) that have been confirmed as regular routes, and the square 40-g has been selected as a candidate square. is there. When the temporary route is extended from the cell 40-f to the cell 40-g, the cell 40-e has only a route from the cell 40-i to the cell 40-e, and therefore the cell 40-e becomes a dead-end cell. .
また、図9(b)では、4つのマス40−a,40−b,40−f,40−gが確定マスであり、候補マスとしてマス40−kを選択した状態である。マス40−gからマス40−kに仮順路を伸延した場合、マス40−c,40−eが袋小路マスとなる。袋小路マスは「終点マス」にしかなり得ない。つまり、図9(b)に示すように、2つ以上の袋小路マスが存在すると、順路の完成は不可能である。 In FIG. 9B, four cells 40-a, 40-b, 40-f, and 40-g are fixed cells, and the cell 40-k is selected as a candidate cell. When the temporary route is extended from the mass 40-g to the mass 40-k, the masses 40-c and 40-e become the dead-end mass. You can't get much of the Fukurokoji square as the "end square". That is, as shown in FIG. 9 (b), if there are two or more dead-end street masses, the normal route cannot be completed.
但し、袋小路マスが1つでも、順路の生成が不可能な場合がある。具体的には、袋小路マスと、終点マスとのパリティが一致しない場合である。これは、袋小路マスは、終点マスにしかなり得ないためである。なお、終点マスのパリティは、上述のように、始点マスのパリティと、各パリティのマス40の数(すなわち、文字盤30におけるマス40の総数の偶数/奇数)によって決まる。
However, there is a case where it is impossible to generate a normal route even if there is only one dead end mass. Specifically, this is a case where the parities between the dead-end square and the end-point square do not match. This is because the dead-end mass cannot be obtained as an end point mass. As described above, the parity of the end point cell is determined by the parity of the start point cell and the number of
図10は、袋小路マスが1つであるが順路の生成が不可能な場合の一例である。図10左側に示すように、文字盤30において、2つのマス40−f,40−bが確定マスであり、候補マスとしてマス40−cを選択し、マス40−bからマス40−cに仮順路を伸延した場合、マス40−aが袋小路マスとなる。また、図10右側は、文字盤30の各マス40のパリティの設定例を示す図である。始点マスであるマス40−fのパリティは「1」であり、従って、終点マスのパリティは「0」でなくてはならない。しかし、袋小路マスであるマス40−aのパリティは「1」であり、終点マスのパリティ「0」に一致しない。従って、図10においては、順路の完成は不可能である。
FIG. 10 is an example of a case where there is one dead-end street mass but a normal path cannot be generated. As shown on the left side of FIG. 10, in the
袋小路マスによる順路完成可否の判定方法として、単純な方法としては、候補マスを選択する毎に、この候補マスに仮順路を伸延した場合に、全ての未確定マスについて袋小路マスとなるかを判定する方法がある。 As a simple method of determining whether or not a normal route can be completed by a culvert cell, every time a candidate cell is selected, it is determined whether or not all unconfirmed cells become culvert cells when a temporary route is extended to this candidate cell. There is a way to do it.
本実施形態では、処理演算の高速化のため、次の方法を採用する。すなわち、候補マスに仮順路を伸延することで新たにできる袋小路マスは、候補マスの1つ前のマス40、すなわち確定した順路の先頭マスの上下左右の4つのマス40の何れかとなる。
In the present embodiment, the following method is adopted for speeding up the processing operation. In other words, a new short path mass that can be newly created by extending a provisional route to a candidate mass is one of the
例えば、図9(a)において、3つのマス40−a,40−b,40−fが確定マスの状態では、袋小路マスは存在していない。これは、この時点では、マス40−gとマス40−eとが、マス40−fの次の順路とされる可能性があるためである。そして、候補マスであるマス40−gに仮順路を伸延した時点で、マス40−eがマス40−fの次の順路として選択され得なくなったため、マス40−eが袋小路マスとなる。 For example, in FIG. 9A, when the three cells 40-a, 40-b, and 40-f are determined cells, there is no blocked path cell. This is because at this time, the cell 40-g and the cell 40-e may be the next route after the cell 40-f. When the temporary route is extended to the candidate cell 40-g, the cell 40-e can no longer be selected as the next route after the cell 40-f, and the cell 40-e becomes the dead-end cell.
続いて、図9(b)に示すように、マス40−kが候補マスの時点では、マス40−cは袋小路マスではない。そして、候補マスであるマス40−kに仮順路を伸延した時点で、マス40−cが袋小路マスとなる。このため、確定した順路の先頭マス(最新の確定マス)の上下左右の4つのマス40のみについて、袋小路マスとなるか否かを判定すれば良い。
Subsequently, as shown in FIG. 9B, when the cell 40-k is a candidate cell, the cell 40-c is not a dead-end cell. Then, when the temporary route is extended to the candidate cell 40-k, the cell 40-c becomes the dead-end cell. For this reason, it is only necessary to determine whether or not only the four
図11は、袋小路マスの判定の一例を示す図である。図11(a)では、3つのマス40−a,40−b,40−fが確定マスであり、マス40−gが候補マスの状態である。この場合、確定された順路の先頭マスであるマス40−fの上下左右の4マス40−b,40−e,40−g,40−jが、袋小路マスの判定対象となる。その結果、マス40−eが袋小路マスと判定される。この時点での袋小路マスの累計は「1」である。 FIG. 11 is a diagram illustrating an example of the determination of the block path mass. In FIG. 11A, three cells 40-a, 40-b, and 40-f are fixed cells, and a cell 40-g is a candidate cell. In this case, the four squares 40-b, 40-e, 40-g, and 40-j on the top, bottom, left, and right sides of the square 40-f that is the head square of the determined regular path are the target for determining the short path square. As a result, the mass 40-e is determined to be a dead-end street mass. At this time, the cumulative total of the alleys is “1”.
次いで、図11(b)に示すように、候補マスであるマス40−gを順路として確定し、マス40−kが次の候補マスとされたとする。この場合、順路の先頭マスであるマス40−gの上下左右の4つのマス40−c,40−f,40−h,40−kが、袋小路マスの判定対象となる。その結果、マス40−cが、新たに袋小路マスと判定される。つまり、既に袋小路マスと判定されているマス40−eと合わせて、合計「2」のマス40−c,40−eが袋小路マスとなる。この時点で、順路完成は不可能と判定される。 Next, as shown in FIG. 11B, it is assumed that the candidate cell 40-g is determined as a normal route, and the cell 40-k is set as the next candidate cell. In this case, the four squares 40-c, 40-f, 40-h, and 40-k on the top, bottom, left, and right of the square 40-g that is the leading square of the normal path are the target for determining the short path square. As a result, the mass 40-c is newly determined as a blocked path mass. In other words, a total of “2” squares 40-c and 40-e, together with the square 40-e that has already been determined as the dead-line square, become the dead-line square. At this point, it is determined that the route is not complete.
(B)未確定マスの非連結
「未確定マスが非連結」とは、連接条件を満たさないこと、すなわち、互いに隣接する未確定マスの集合を1つの「ブロック」としたとき、2つ以上のブロックが存在することである。
(B) Unconfirmed mass unconnected “Undetermined mass is not connected” means that the connection condition is not satisfied, that is, a set of uncertain cells adjacent to each other is defined as one “block”. That is, there is a block.
図12は、未確定マスが非連結である一例を示す図である。図12では、3つのマス40−e〜40−gが確定マスの状態である。ここで、マス40−hを候補マスとした場合、12個の未確定マス40−a〜40−d,40−i〜40−pが、4つのマス40−a〜40−dのブロックと、8つのマス40−i〜40−pのブロックとに分離されてしまい、未確定マスが「非連結」である。このように、未確定マスが非連結の場合、順路は完成不可能である。 FIG. 12 is a diagram illustrating an example in which an undetermined cell is not connected. In FIG. 12, the three cells 40-e to 40-g are in a definite cell state. Here, when the cell 40-h is a candidate cell, twelve uncertain cells 40-a to 40-d and 40-i to 40-p are divided into blocks of four cells 40-a to 40-d. , Eight blocks 40-i to 40-p are separated, and the undefined block is “unconnected”. In this way, when the undetermined mass is not connected, the route cannot be completed.
「未確定マスの連結/非連結」の判定方法として、単純な方法としては、先ず、任意の1つの未確定マスを選択し、これに隣接する他の未確定マスを選択する。このように、次々と隣接する未確定マスを選択してゆき、選択可能な未確定マスが無くなった時点で、選択していない未確定マスが無いならば「連結」と判定し、選択していない未確定マスが有るならば「非連結」と判定する方法がある。 As a simple method for determining whether “unconfirmed mass is connected / disconnected”, first, an arbitrary uncertain mass is selected, and another undefined mass adjacent thereto is selected. In this way, adjacent unconfirmed cells are selected one after another, and when there are no unconfirmed cells that can be selected, if there are no unconfirmed cells that have not been selected, it is determined as “connected” and selected. There is a method of determining “unconnected” if there is no uncertain cell.
本実施形態では、処理演算の高速化のため、次の方法を採用する。すなわち、図13に示すように、文字盤30の外周に、連結/非連結の「判定用の仮想マス(判定用マス)50」を追加設定する。そして、図13に示すように、始点マスが判定用マス50に隣接している場合、設定した判定用マス50は、順路として確定したマス(確定マス)として扱う。次いで、図14,図15に示すように、候補マスの周囲の8マスを抽出し、この8マスについて、未確定マスの連結/非連結を判定する。この判定結果が、全ての未確定マスの連結/非連結の判定結果となる。
In the present embodiment, the following method is adopted for speeding up the processing operation. That is, as shown in FIG. 13, a connected / unconnected “determination virtual cell (determination cell) 50” is additionally set on the outer periphery of the
図13では、文字盤30の周囲に、20個の判定用マス50−a〜50−tが設定されている。また、文字盤30のマス40−eが始点マスであり、このマス40−eは判定用マス50−iに隣接している。このため、判定用マス50−a〜50−tは、全てを確定マスとして扱う。
In FIG. 13, 20 determination cells 50-a to 50-t are set around the
そして、図14に示すように、2つのマス40−e,40−fを確定マスとし、マス40−gが候補マスである場合、候補マスであるマス40−gの周囲の8つのマス40−b〜40−d,40−f,40−h,40−j〜40−lが抽出される。これら8つのマス40のうち、7つの未確定マス40−b〜40−d,40−h,40−j〜40−lは「連結」している。従って、文字盤30において、全ての未確定マスは「連結」していると判定される。
Then, as shown in FIG. 14, when two cells 40-e and 40-f are determined cells and the cell 40-g is a candidate cell, eight
次いで、図15に示すように、3つのマス40−e,40−f,40−gを確定マスとし、マス40−hが候補マスである場合、候補マスであるマス40−hの周囲の8つのマス40−c,40−d,40−g,40−k,40−l、及び、判定用マス50−h,50−j,50−lが抽出される。これらの8つのマスのうち、4つの未確定マスであるマス40−c,40−d,40−k,40−lは「非連結」である。従って、文字盤30において、全ての未確定マスは「非連結」と判定される。
Next, as illustrated in FIG. 15, when the three cells 40-e, 40-f, and 40-g are determined cells and the cell 40-h is a candidate cell, the area around the cell 40-h that is a candidate cell is displayed. Eight cells 40-c, 40-d, 40-g, 40-k, 40-1 and determination cells 50-h, 50-j, 50-l are extracted. Of these eight squares, the four undetermined squares 40-c, 40-d, 40-k, and 40-1 are “unconnected”. Accordingly, in the
また、図16に示すように、始点マスが判定用マス50に隣接していない場合、判定用マス50は、順路として確定されていないマス(未確定マス)として扱う。そして、同様に、候補マスの周囲8マスを抽出し、この8マスについて未確定マスの連結/非連結を判定する。またこの場合、順路を確定してゆく途中で、判定用マス50と隣接しているマス40が順路として確定された時点で、全ての判定用マス50を未確定マスから確定マスに変更する。図16では、始点マスはマス40−fであり、このマス40−fは判定用マス50に隣接していない。従って、全ての判定用マス50−a〜50−tは未確定マスとして扱われる。
As shown in FIG. 16, when the starting point cell is not adjacent to the
そして、図17に示すように、マス40−f,40−gを順路として確定し、マス40−hを候補マスとした状態では、候補マスであるマス40−hの周囲の8つのマス40−c,40−d,40−g,40−k,40−l、及び、判定用マス50−h,50−j,50−lが抽出される。そして、これら8つのマスのうち、7つの未確定マスであるマス40−c,40−d,40−k,40−l、及び、判定用マス50−h,50−j,50−lについて連結/非連結が判定される。この場合、「連結」していると判定されるため、文字盤30における全ての未確定マスが「連結」していると判定される。
Then, as shown in FIG. 17, when the squares 40-f and 40-g are determined as normal routes and the square 40-h is a candidate square, eight
その後、図18に示すように、マス40−f,40−g,40−hを順路として確定し、候補マスをマス40−lとすると、マス40−hが判定用マス50−jに隣接しているため、全ての判定用マス50−a〜50−tが未確定マスから確定マスに変更される。そして、候補マスであるマス40−lの周囲の8つのマス40−g,40−h,40−k,40−o,40−p、及び、判定用マス50−j,50−l,50−nが抽出され、これらの8つのマスのうち、3つの未確定マスであるマス40−k,40−o,40−lについて連結/非連結が判定される。この場合、連結していると判定されるため、文字盤30において全ての未確定マスが連結していると判定される。
Then, as shown in FIG. 18, when the squares 40-f, 40-g, and 40-h are determined as normal routes and the candidate square is the square 40-1, the square 40-h is adjacent to the determination square 50-j. Therefore, all the determination cells 50-a to 50-t are changed from the unconfirmed cells to the confirmed cells. Then, eight cells 40-g, 40-h, 40-k, 40-o, 40-p around the cell 40-l that is a candidate cell, and determination cells 50-j, 50-l, 50 -N is extracted, and connection / disconnection is determined for cells 40-k, 40-o, and 40-1 that are three undefined cells among these eight cells. In this case, since it is determined that they are connected, it is determined that all unconfirmed cells on the
また、図19(a)に示すように、文字盤30にマス40が無い「穴」が形成されている場合には、この「穴」に判定用マス50が設定される。この判定用マス50は、未確定マスとして初期設定される。そして、図19(b)に示すように、「穴」に隣接しているマス40が確定マスとなった時点で、この「穴」に設定された判定用マス50が未確定マスから確定マスに変更される。
Further, as shown in FIG. 19A, when a “hole” having no square 40 is formed on the
図19(a)では、文字盤30において、マス40−kに該当する部分に「穴」が形成されており、この「穴」に判定用マス50−uが設定されている。そして、図19(b)では、マス40−f,40−gが確定マスとなった状態である。つまり、判定マス50−uに隣接するマス40−gが確定マスとなっており、この時点で、判定用マス50−uが確定マスとなる。
In FIG. 19A, a “hole” is formed in a portion corresponding to the cell 40-k in the
[機能構成]
図20は、携帯型ゲーム装置1000の機能構成を示すブロック図である。図20によれば、携帯型ゲーム装置1000は、機能的には、操作入力部110と、撮像部120と、処理部200と、画像表示部130と、音声出力部140と、通信部150と、記憶部300とを備えて構成される。
[Function configuration]
FIG. 20 is a block diagram illustrating a functional configuration of the
操作入力部110は、プレーヤによる操作入力を受け付け、操作に応じた操作信号を処理部200に出力する。この機能は、操作入力部110は、ボタンスイッチやジョイスティック、タッチパッド、トラックボール、加速度センサユニット、傾斜センサユニットなどによって実現される。図1では、方向入力キー1002やボタンスイッチ1004、タッチパネル1012がこれに該当する。
The
撮像部120は、撮影対象からの光を受光して電気信号に変換し、デジタル画像データを生成し、処理部200へ出力する。この機能は、レンズ、メカシャッター、シャッタードライバ、CCDイメージセンサモジュールやCMOSイメージセンサモジュールといった光電変換素子、光電変換素子から電荷量を読み出し画像データを生成するデジタルシグナルプロセッサ(DSP)、ICメモリなどで実現される。図1ではイメージセンサモジュール1014がこれに該当する
The
処理部200は、例えばCPUやGPU等のマイクロプロセッサや、ASIC(特定用途向け集積回路)、ICメモリなどの電子部品によって実現され、操作入力部110や記憶部300を含む携帯型ゲーム装置1000の各機能部との間でデータの入出力を行う。そして、所定のプログラムやデータ、操作入力部110からの操作入力信号に基づいて各種の演算処理を実行して、携帯型ゲーム装置1000の動作を制御する。図1では制御ユニット1020がこれに該当する。また、処理部200は、主にゲームの実行に係る演算処理を行うゲーム演算部210と、ゲーム演算部210の処理によって求められたデータに基づきゲーム画像を生成する画像生成部230と、効果音やBGM等のゲーム音を生成する音声生成部240とを含む。
The
ゲーム演算部210は、順路生成部212を含み、ゲームプログラム310に従ったゲーム処理を行う。具体的には、ゲーム演算部210は、ゲーム処理では、先ず、出題文字列を決定する。すなわち、出題文字列群データ320として記憶されている予め用意された出題文字列群のうちから、出題難易度等に応じて一の出題文字列を選択する。
The
次いで、文字盤生成処理を行って、決定した出題文字列の文字数に応じた文字盤30を設定する。すなわち、撮像部120による撮像画像に対する所定の輪郭抽出処理を行い、抽出した輪郭に基づく文字盤30の形状を決定する。そして、形状を決定した文字盤30に、少なくとも、出題文字列の文字数のマス40が配置されるように大きさを適当に決定したマス40を、縦横方向に連続するように配置する。
Next, dial generation processing is performed to set a
ここで、生成した文字盤30についてのデータは、生成文字盤データ340として記憶される。
Here, data about the generated
図21は、生成文字盤データ340のデータ構成の一例を示す図である。図21によれば、生成文字盤データ340は、文字盤30の形状を定義した文字盤形状データ341と、該文字盤30に設定されたマス40についての配置マスデータ350とを含んでいる。
FIG. 21 is a diagram showing an example of the data structure of the generated
配置マスデータ350は、該文字盤30に設定されたマスの数351と、始点マス352と、始点マスのパリティ353と、終点マス354と、終点マスのパリティ355とを格納している。また、マス40それぞれについて、マスID356aと、上下左右方向それぞれの隣接マス356bと、パリティ356cと、順路としての選択状態356dと、袋小路マスであるか否かを示す袋小路フラグ356eとを対応付けて格納しているとともに、判定用マス50それぞれについて、判定用マスID357aと、上下左右方向それぞれの隣接マス357bと、選択状態357cとを対応付けて格納している。
The
続いて、ゲーム演算部210は出題文字列の各文字を割り当てた文字ブロック10を、順路生成部212によって生成された順路に従って、生成した文字盤30に配置した回答画面W2を生成し、画像表示部130に表示させる。次いで、この回答画面W2においてプレーヤによって回答された文字の並びと、出題文字列とが一致するか否かを比較することで、正解/不正解を判定する。そして、この判定結果に応じた演出、例えば、正解すると文字盤30のもととなった撮像画像を表示するといった演出処理を行う。
Subsequently, the
順路生成部212は、順路生成処理を行って、生成された文字盤30において出題文字列の各文字を割り当てた文字ブロック10を配置する順路を生成する。具体的には、先ず、始点マスを決定する。すなわち、文字盤30の各マスに、互いに隣り合うマス40のパリティが異なるように「1/0」のパリティを設定し、各パリティのマス数を計数する。各パリティのマスの数が同じならば、全てのマス40のうちから、例えばランダムに選択した一のマスを始点マスとする。そして、始点マスのパリティと異なるパリティを、終点マスのパリティとする。一方、各パリティのマス数が異なるならば、マス数が多い方のパリティのマス40のうち、例えばランダムに選択した一のマス40を始点マスとする。そして、この始点マスのパリティを、終点マスのパリティとする。
The
そして、始点マスを最初の確定マスとし、この始点マスから1マスずつ順路を伸ばしてゆく。すなわち、確定マスに隣り合う上下左右の4つのマス40のうち、未確定マスのうちから1つをランダムに選択し、次に順路とする候補マスとする。そして、順路完成可否判定処理を行って、この候補マスに仮順路を伸延した場合の順路の完成可否(可能/不可能)を判定する。
Then, the starting point cell is set as the first fixed cell, and the route is extended from the starting point cell by one cell. In other words, one of the four
順路完成可否判定処理では、(A)袋小路マス、(B)未確定マスの連結/非連結、それぞれに基づく順路の完成可否の判定を行い、両方で可能と判定したときに順路の完成が可能と判定する。 In the route completion availability determination process, (A) Fukurokoji mass, (B) Unconfirmed mass connection / disconnection, and whether or not the route completion based on each is determined, and when both are determined to be possible, the route can be completed Is determined.
具体的には、袋小路マスに基づく判定については、確定した順路の先頭マス(最新の確定マス)に隣接する上下左右の4つのマス40それぞれについて、候補マスに仮順路を伸延することで新たに袋小路マスとなるか否かを判定する。新たな袋小路マスとならないならば、順路の完成は“可能”と判定する。また、新たに袋小路マスとなり、該新たな袋小路マスを含む袋小路マスの累計が「1」ならば、該新たな袋小路マスのパリティが終点マスのパリティに一致するか否かを判定し、一致しないならば順路の完成は“不可能”と判定し、一致するならば順路の完成は“可能”と判定する。また、新たに袋小路マスとなり、該新たな袋小路マスを含む袋小路マスの累計が「2」以上ならば、順路の完成は“不可能”と判定する。
Specifically, for the determination based on the culvert path square, each of the upper, lower, left and
また、未確定マスの連結/非連結に基づく判定については、文字盤30の周囲に連結/非連結の判定用マス50を追加設定する。これらの判定用マス50は、未確定マスとして初期設定し、判定用マス50に隣接するマス40の何れかが確定マスとなった時点(順路として確定した時点)で、未確定マスから確定マスに変更する。
For determination based on connection / non-connection of undefined cells, a connection /
そして、候補マスの周囲8マス(マス40及び判定用マス50)を抽出し、抽出した8マスのうちの未確定マスの連結/非連結を判定する。連結と判定したならば、文字盤30における全ての未確定マスが連結していると判定し、順路の完成は“可能”と判定する。一方、非連結と判定したならば、文字盤30における全ての未確定マスは非連結と判定し、順路の完成は“不可能”と判定する。
Then, eight squares around the candidate square (the square 40 and the judgment square 50) are extracted, and the connection / non-connection of the uncertain squares among the extracted eight squares is determined. If it is determined that the links are connected, it is determined that all the uncertain cells on the
順路完成可否判定処理の結果、順路の完成が“可能”と判定したならば、候補マスを確定マスとしてこの候補マスまで順路を伸ばし、次の候補マスを選択する。一方、順路の完成が“不可能”と判定したならば、現時点での候補マスは順路として不適切であると判断し、順路の先頭のマス40に隣接する他の未確定マスのうちから別の候補マスを選択し、同様の判定を行う。またこの途中、確定した順路の先頭マス40に隣接するマス40に、候補マスとして選択できる未確定マスが無い状態となると、現在の始点マスの選択をキャンセルし、別の始点マスを再設定する。これを、全てのマス40を確定マスとするまで繰り返すことで、順路を生成する。生成した順路についてのデータは、生成順路データ360として記憶される。
As a result of the normal route completion determination process, if it is determined that the normal route is “possible”, the candidate cell is set as a confirmed cell, the route is extended to this candidate cell, and the next candidate cell is selected. On the other hand, if it is determined that the completion of the route is “impossible”, it is determined that the current candidate cell is inappropriate as a route, and is separated from other undefined cells adjacent to the
図20に戻り、画像生成部230は、例えば、GPU(Graphics Processing Unit)、デジタルシグナルプロセッサ(DSP)などのプロセッサ、ビデオ信号IC、ビデオコーデック、フレームバッファ等の描画フレーム用ICメモリ等によって実現される。画像生成部230は、ゲーム演算部210による処理結果に基づいて1フレーム時間(例えば1/60秒)で1枚のゲーム画像を生成し、生成したゲーム画像の画像信号を画像表示部130に出力する。
Returning to FIG. 20, the
画像表示部130は、画像生成部230から入力される画像信号に基づいて各種ゲーム画像を表示する。例えば、フラットパネルディスプレイやブラウン管(CRT)といった画像表示装置によって実現できる。図1では、第1液晶ディスプレイ1006及び第2液晶ディスプレイ1008がこれに該当する。
The
音声生成部240は、例えばデジタルシグナルプロセッサ(DSP)、音声合成ICなどのプロセッサや、音声ファイル再生可能なオーディオコーデックによって実現され、ゲーム演算部210による処理結果に基づいてゲームに係る効果音やBGM、各種操作音の音信号を生成し、音声出力部140に出力する。
The
音声出力部140は、音声生成部240から入力される音信号に基づいて効果音やBGM等を音出力する装置によって実現される。図1では、スピーカ1010がこれに該当する。
The
通信部150は、通信回線Nと接続して通信を実現する。例えば、無線通信機、モデム、TA(ターミナルアダプタ)、有線用の通信ケーブルのジャックや制御回路等によって実現され、図1の無線通信モジュール1022がこれに該当する。
The
記憶部300は、処理部200に携帯型ゲーム装置1000を統合的に制御させるための諸機能を実現するためのシステムプログラムや、ゲームを実行させるために必要なゲームプログラム、各種データ等を記憶する。また、処理部200の作業領域として用いられ、処理部200が各種プログラムに従って実行した演算結果や操作入力部110から入力される入力データ等を一時的に記憶する。この機能は、例えばRAMやROMなどのICメモリ、ハードディスク等の磁気ディスク、CD−ROMやDVDなどの光学ディスクなどによって実現される。図1では制御ユニット1020が搭載するICメモリやメモリカード1030がこれに該当する。本実施形態では、記憶部300は、プログラムとしてゲームプログラム310が記憶されるとともに、データとして、出題文字列群データ320と、撮像画像データ330と、生成文字盤データ340と、生成順路データ360とが記憶される。
The
[処理の流れ]
図22は、ゲーム処理の流れを説明するフローチャートである。図22によれば、ゲーム演算部210は、先ず、出題文字列を決定する(ステップA1)。次いで、文字盤設定処理を行って、決定した出題文字列の文字数に合わせた文字盤30を生成する(ステップA3)。
[Process flow]
FIG. 22 is a flowchart for explaining the flow of the game process. According to FIG. 22, the
図23は、文字盤設定処理の流れを説明するフローチャートである。図23によれば、ゲーム演算部210は、先ず、撮影処理を行う(ステップB1)。そして、撮像画像に対する輪郭抽出を行い(ステップB3)、抽出した輪郭をもとに文字盤30の形状を決定する(ステップB5)。次いで、決定した形状の文字盤30に、出題文字列の文字数のマス40を、縦横方向に連接するように設定する(ステップB7)。
FIG. 23 is a flowchart for explaining the flow of the dial setting process. According to FIG. 23, the
続いて、設定したマス40に、「1/0」のパリティを、隣り合うマス40同士のパリティが異なるように設定する(ステップB9)。次いで、各パリティのマス数を計数し、各パリティのマス数の差が「2」以上ならば(ステップB11:NO)、該文字盤30において順路の生成は“不可能”と判定し(ステップB13)、文字盤30におけるマス40の配置を変更した後(ステップB15)、ステップB9に戻り、同様の処理を繰り返す。
Subsequently, the parity of “1/0” is set in the
一方、各パリティのマス数の差が「1」以下ならば(ステップB11:YES)、該文字盤30において順路の生成は“可能”と判定する(ステップB17)。以上の処理を行うと、文字盤設定処理を終了する。 On the other hand, if the difference in the number of squares of each parity is equal to or less than “1” (step B11: YES), it is determined that generation of a normal route is possible in the dial 30 (step B17). When the above processing is performed, the dial setting processing is terminated.
その後、順路生成部212が順路生成処理を行って、文字盤30における出題文字列の各文字の配列順序を決定する(ステップA5)。
Thereafter, the
図24は、順路生成処理の流れを説明するフローチャートである。図24によれば、先ず、文字盤30の周囲に連結の判定用マス50を追加設定し(ステップC1)、これらの判定用マス50を未確定マスとして初期設定する(ステップC3)。
FIG. 24 is a flowchart for explaining the flow of the route generation process. According to FIG. 24, first, a
次いで、始点マス決定処理を行って始点マスを決定する。すなわち、文字盤30における各パリティのマス数を計数し、各パリティのマス数が同じならば(ステップC7:YES)、文字盤30の全てのマス40のうちから、例えばランダムに1つのマス40を選択して始点マスとする(ステップC9)。そして、決定した始点マスのパリティとは異なるパリティを、終点マスのパリティとする(ステップC11)。
Next, the start point cell determination process is performed to determine the start point cell. That is, the number of squares of each parity on the
一方、2つのパリティそれぞれのマス数が異なるならば(ステップC7:NO)、マス数が多い方のパリティであるマス40のうちから、例えばランダムに1つのマス40を選択して始点マスとする(ステップC13)。そして、決定した始点マスのパリティと同じパリティを、終点マスのパリティとする(ステップC15)。
On the other hand, if the number of squares of the two parities is different (step C7: NO), for example, one
始点マスを決定すると、続いて、順路の先頭マスとなる最新の確定マスについて、次に進めるマス40の有無を判定し、次に進めるマス40が無い場合には(ステップC17:NO)、ステップC3に戻る。次に進めるマス40が有る場合には(ステップC17:YES)、最新の確定マスに隣接する上下左右の4つのマス40のうち、未確定マスのうちから1つを選択して次の候補マスとする(ステップC19)。
After the start point cell is determined, the presence / absence of the
続いて、順路完成可否判定処理を行って、この候補マスに仮順路を伸延した場合の順路の完成の可能/不可能を判定する(ステップC21)。 Subsequently, a normal path completion determination process is performed to determine whether the normal path can be completed or not when the temporary normal path is extended to this candidate cell (step C21).
図25は、順路完成可否判定処理の流れを説明するフローチャートである。図25によれば、先ず、未確定マスの連結/非連結に基づく判定を行う。すなわち、現時点で確定した順路の先頭マスが判定用マス50に隣接しているか否かを判定し、隣接しているならば(ステップD1:YES)、判定用マス50を確定マスとする(ステップD3)。
FIG. 25 is a flowchart for explaining the flow of the normal path completion determination process. According to FIG. 25, first, a determination is made based on the connection / disconnection of undefined cells. That is, it is determined whether or not the head cell of the route determined at the present time is adjacent to the
次いで、候補マスの周囲の8つのマス40を抽出し(ステップD5)、抽出したこれら8つのマス40について、未確定マスの連結/非連結を判定する(ステップD7)。非連結と判定したならば(ステップD9:NO)、文字盤30における全ての未確定マスは非連結であり、従って、順路の完成は“不可能”と判定する(ステップD11)。一方、連結していると判定したならば(ステップD9:YES)、文字盤30における全ての未確定マスは連結しており、袋小路マスに基づく判定を行う。
Next, eight
すなわち、確定した順路の先頭マスの上下左右に隣接する4つのマス40を抽出し(ステップD13)、抽出した4つのマス40のうち、未確定マスそれぞれについて、候補マスに仮順路を伸延することで新たに袋小路マスとなるか否かを判定する(ステップD15)。
That is, four
何れかの未確定マスが新たに袋小路マスとなるならば(ステップD17:YES)、該新たな袋小路マスを含めた、ここまでの袋小路マスの累計を計数する。そして、袋小路マスの累計が「2」以上ならば(ステップD19:YES)、順路の完成が“不可能”と判定する(ステップD23)。 If any of the unconfirmed squares becomes a new dead-blade square (step D17: YES), the cumulative total of the dead-blade squares up to this point including the new dead-blade square is counted. Then, if the total of the short path mass is “2” or more (step D19: YES), it is determined that the completion of the normal path is “impossible” (step D23).
一方、袋小路マスの累計が「1」ならば(ステップD19:NO)、該新たな袋小路マスのパリティが終点マスのパリティに一致するか否かを判定する。パリティが一致するならば(ステップD21:YES)、順路の完成は“可能”と判定し(ステップD25)、一致しないならば(ステップD21:NO)、順路の完成は“不可能”と判定する(ステップD23)。 On the other hand, if the cumulative total of the short path squares is “1” (step D19: NO), it is determined whether or not the parity of the new round path square matches the parity of the end point square. If the parity matches (step D21: YES), the completion of the route is determined as “possible” (step D25), and if not (step D21: NO), the completion of the route is determined as “impossible”. (Step D23).
一方、何れの未確定マスも袋小路マスにならないならば(ステップD17:NO)、順路の完成は“可能”と判定する(ステップD25)。以上の処理を行うと、順路完成可否判定処理を終了する。 On the other hand, if none of the unconfirmed squares becomes a dead-line square (step D17: NO), it is determined that the completion of the normal route is “possible” (step D25). When the above processing is performed, the normal route completion determination processing ends.
順路完成可否判定処理の結果、順路を完成可能と判定したならば(ステップC23:YES)、候補マスまで仮順路を1マス分延ばし、候補マスを確定マスとする(ステップC25)。次いで、順路が完成したか否かを判定し、完成していないならば(ステップC27:NO)、ステップC17に戻り、同様の処理を繰り返す。一方、順路が完成したならば(ステップC27:YES)、順路生成処理を終了する。 If it is determined that the route can be completed as a result of the route completion determination process (step C23: YES), the temporary route is extended by one cell to the candidate cell, and the candidate cell is set as the confirmed cell (step C25). Next, it is determined whether or not the route is completed. If it is not completed (step C27: NO), the process returns to step C17 and the same processing is repeated. On the other hand, if the route is completed (step C27: YES), the route generation process ends.
順路生成処理が終了すると、ゲーム演算部210は、文字盤30に決定された配列順序で出題文字列の各文字を配置して回答画面W2を生成し表示させる(ステップA7)。そして、プレーヤによって回答された文章(文字の並び)と出題文字列とが一致するか否かによって正解/不正解を判定する、回答に対する答え合わせを行う(ステップA9)。その後、出題を終了するか否かを判定し、終了しないならば(ステップA11:NO)、ステップA1に戻り、次の出題について同様の処理を繰り返す。一方、出題を終了するならば(ステップA13:YES)、ゲーム処理を終了する。
When the route generation process ends, the
[作用・効果]
このように、本実施形態によれば、一筆書きの要領で文字を繋いで意味のある文章とする文字パズルゲームにおいて用いられる、文字盤30における出題文字列の各文字の配列順路を生成することができる。文字盤30における順路は、先ず、始点マスを決定し、この始点マスから1マスずつ順路を延ばしてゆくことで生成される。このとき、確定した順路の先頭マスに隣接する未確定マスのうちから次の順路の候補マスを選択する。そして、この候補マスに仮順路を伸延した場合に、袋小路マスができるか否か、未確定マスが連結しているか否かをもとに、順路が完成するか否かを判定し、可能と判定すると、候補マスを新たな順路と確定することで順路を1マス分延ばす。
[Action / Effect]
As described above, according to the present embodiment, it is possible to generate an arrangement path of each character of the question character string on the
[変形例]
本発明の適用は、上述の実施形態に限定されることなく、本発明の趣旨を逸脱しない範囲で適宜変更可能なのは勿論である。
[Modification]
The application of the present invention is not limited to the above-described embodiment, and it is needless to say that the application can be appropriately changed without departing from the spirit of the present invention.
(A)難易度
例えば、出題の難易度を考慮して順路を生成することにしても良い。
(A) Level of difficulty For example, the route may be generated in consideration of the level of difficulty of the questions.
(A−1)屈曲部の数
具体的には、順路における屈曲部の数を難易度に応じた数とする。意味のある文字列は、屈曲部の数が多いほど見つけ出し難い、すなわち難易度が高い傾向がある。例えば、図26は、同じ36文字の文字列「はったつしたこうきあつがたいへいようをとうほくとうにすすんでいるようです」を、異なる配置順で配置した例である。図26(a)では、屈曲部の数が少なく、10箇所で屈曲している。一方、同図(b)では、屈曲部の数が多く、27箇所で屈曲している。これらを比較すると、屈曲部の数が少ないほうが、意味のある文字列を見つけ出し易い傾向にあるといえる。
(A-1) Number of bent portions Specifically, the number of bent portions in the normal route is set to a number according to the degree of difficulty. A meaningful character string is more difficult to find as the number of bent portions increases, that is, the degree of difficulty tends to be higher. For example, FIG. 26 shows an example in which the same character string of 36 characters “It seems like you've been working hard” is arranged in a different arrangement order. In FIG. 26 (a), the number of bent portions is small and bent at 10 points. On the other hand, in the same figure (b), there are many bending parts and it bends in 27 places. When these are compared, it can be said that the smaller the number of bent portions, the easier it is to find a meaningful character string.
このため、図27に示すように、候補マスを選択する際に、難易度を高くしたい(難しくしたい)場合には、確定した順路の先頭マス(最新の確定マス)に隣接する未確定マスのうち、確定した順路の先頭マスとその1つ前のマスとを結ぶ直線方向に無い未確定マスを優先的に選択して屈曲部を多くするようにし、逆に、難易度を低くしたい(易しくしたい)場合には、この直線方向に有る未確定マスを優先的に選択して屈曲部を少なくするようにする。 For this reason, as shown in FIG. 27, when selecting a candidate cell, if the degree of difficulty is to be increased (it is desired to be difficult), an unconfirmed cell adjacent to the first cell (the latest confirmed cell) of the confirmed route is displayed. Among them, the undecided mass that is not in the straight line connecting the leading square of the confirmed route and the previous square is preferentially selected to increase the number of bent parts, and conversely, the difficulty level should be lowered (easily If it is desired to reduce the bent portion, the uncertain mass in the linear direction is preferentially selected.
同図では、マス40−i〜40−kが確定マスであり、確定した順路の先頭マス40−kに隣接する未確定マス40−g,40−l,40−oのうちから、次の候補マスを選択する場合を示している。この場合、最新の確定マス40−kとその1つ前の確定マス40−jとを結ぶ直線方向は「左右方向(横方向)」となる。そして、難易度を低くしたい場合には、この直線方向に沿った方向に配置されているマス40−lを優先的に選択し、逆に、難易度を高くしたい場合には、この直線方向に沿った方向に配置されていないマス40−g,40−oを優先的に選択する。 In the figure, squares 40-i to 40-k are final squares, and the next squares 40-g, 40l, and 40-o adjacent to the leading square 40-k of the confirmed route are the following. A case where a candidate cell is selected is shown. In this case, the linear direction connecting the latest confirmed cell 40-k and the immediately preceding confirmed cell 40-j is the “left-right direction (lateral direction)”. Then, when it is desired to lower the difficulty level, the cell 40-1 arranged in the direction along the linear direction is preferentially selected. On the contrary, when the difficulty level is desired to be increased, the square direction is selected. The squares 40-g and 40-o that are not arranged in the along direction are preferentially selected.
(A−2)順路の方向
また、日本語の文章では、左から右方向へ、或いは、上から下方向へ並んだ文字列のほうが読み易い傾向がある。例えば、図28は、同じ9文字の文字列「にじゅういっせいき」を異なる配置順で配置した例である。同図(a)では、左上の文字を先頭文字として、ここから右方向に向かう順路で配置されている。一方、同図(b)では、右下の文字を先頭文字として、ここから上方向に向かう順路で配列されている。これらを比較すると、左から右方向へ、或いは、上から下方向へ文字が並んだほうが、意味のある文字列を見つけ出し易いといえる。
(A-2) The direction of the route In Japanese sentences, the character strings arranged from left to right or from top to bottom tend to be easier to read. For example, FIG. 28 is an example in which the same nine-character string “Niju Issei” is arranged in a different arrangement order. In FIG. 5A, the upper left character is the first character, and the characters are arranged in a normal direction from here to the right. On the other hand, in FIG. 5B, the lower right character is the first character, and the characters are arranged in a forward direction from here. Comparing these, it can be said that it is easier to find a meaningful character string when characters are arranged from left to right or from top to bottom.
このため、生成された順路において上方向に進む回数を数え、それが一定以上の数となっている場合には、難易度が高い順路であると判断する。生成された順路が希望する難易度に達していない場合には、上方向に進む回数が指定回数以上になるまで順路を生成し直すことで、必要な難易度の順路を得ることができる。 For this reason, the number of times of proceeding upward in the generated route is counted, and if it is a certain number or more, it is determined that the route has a high degree of difficulty. When the generated route does not reach the desired difficulty level, the route with the necessary difficulty level can be obtained by regenerating the route until the number of times of upward movement reaches the specified number of times or more.
(B)基礎文字盤の組合せ
また、順路の他の生成方法として、所望の文字盤30よりもマス数が少ない基礎文字盤(基礎配列盤)を複数用意し、これを組み合わせることで1つの文字盤30を生成することにしても良い。
(B) Combination of basic dials As another method of generating a regular route, a plurality of basic dials (basic arrangement boards) having a smaller number of cells than the desired
具体的には、例えば、図29に示すように、所望の文字盤30を分割した複数の基礎文字盤60を生成する。これらの基礎文字盤60には、例えば、図30,図31に示すように、複数の順路が定められる。順路は、該基礎文字盤60と他の基礎文字盤60と組み合わせたときに、始点マス及び終点マスが、隣接する他の基礎文字盤60の始点マス及び終点マスと隣り合うマスとなるように定められる。そして、例えば、図32に示すように、これらの基礎文字盤60を組み合わせることで、所望のマス数の文字盤30を生成する。このとき、基礎文字盤60を回転或いは反転させて、組み合わせても良い。
Specifically, for example, as shown in FIG. 29, a plurality of basic dials 60 obtained by dividing a desired
図29では、文字盤30は、4つの領域32A〜32Dに四分割されている。領域32A,32Dは同一形状であり、領域32B,32Cは同一形状である。そして、領域32A,32Dと同一形状の基礎文字盤60Aについては、図30に示すように、2種類の順路を設定した基礎文字盤60A−1,60A−2を生成する。また、領域32B,32Cと同一形状の基礎文字盤60Bについては、図31に示すように、2種類の順路を設定した基礎文字盤60B−1,60B−2を生成する。
In FIG. 29, the
基礎文字盤60における順路は、全てのマスを1回ずつ通り、始点マス或いは終点マスとなる2つの始/終点マス62を繋ぐように設定される。この始/終点マスは、基礎文字盤60の周部のマスであって、他の基礎文字盤60と組み合わせたときに該他の基礎文字盤60の始/終点マス62と隣接するマスに設定される。
The normal path in the basic dial 60 is set so as to pass through all the squares once and connect two start /
そして、基礎文字盤60A,60Bを組み合わせることで、所望の文字盤30を生成する。例えば、図32は、領域32Aに基礎文字盤60A−1を配置し、領域32Bに基礎文字盤60B−1を180度回転させて配置し、領域32Cに基礎文字盤60B−1を配置し、領域32Dに基礎文字盤60A−1を180度回転させて配置することで、文字盤30の順路を生成した例である。
And the desired
このように、順路が設定された基礎文字盤60を組み合わせることで、所望の文字盤30における順路が生成される。この順路は閉順路となるので、該閉順路に沿って隣り合う2つのマスのうち、一方を始点マスとし他方を終点マスとすることで、1本の順路とすることができる。
In this way, by combining the basic dial 60 in which the route is set, the route on the desired
また、基礎文字盤60を組み合わせて生成した閉順路が左右対称或いは上下対称でない場合、閉順路を左右反転或いは上下反転させてから順路を生成することで、更に異なる順路を生成することができる。また、閉順路が回転対称でない場合も同様に、閉順路を回転させてから順路を生成しても良い。 Further, when the closed route generated by combining the basic dial 60 is not left-right symmetric or vertically symmetric, a different route can be generated by generating the route after the closed route is horizontally reversed or vertically reversed. Similarly, when the closed route is not rotationally symmetric, the route may be generated after the closed route is rotated.
更に、複数の基礎文字盤60を組み合わせて閉順路を生成するのではなく、予めいくつかの閉順路を用意しておき、これらのうちから一つを選択して順路を生成することにしても良い。これにより、より高速に順路の生成を行うことができる。この場合も同様に、閉順路の反転や回転を行うことで、更に異なる順路を生成することができる。 Furthermore, instead of combining a plurality of basic dials 60 to generate a closed route, several closed routes are prepared in advance, and one of these is selected to generate a route. good. As a result, the route can be generated at a higher speed. In this case as well, a different route can be generated by reversing or rotating the closed route.
(C)紙に印刷出力
また、生成した問題文章の順路(各文字の配列順)の出力方法として、回答画面W2としてディスプレイ等に表示させるではなく、紙に印刷出力することにしても良い。
(C) Print output on paper Further, as an output method of the route of the generated problem sentence (arrangement order of each character), the answer screen W2 may be printed on paper instead of being displayed on a display or the like.
(D)文字種別
また、上述の実施形態では、出題文字列を構成する各文字を「ひらがな」としたが、例えば、カタカナや漢字、数字、演算記号等といったこれ以外の文字種別とすることもできる。勿論、複数の文字種別を用いた出題文字列とすることもできる。例えば、数字及び演算記号を用いた出題文字列として、九九や「12×12=144」といった数式がある。
(D) Character type In the above-described embodiment, each character constituting the question character string is “Hiragana”, but other character types such as katakana, kanji, numbers, arithmetic symbols, etc. may be used. it can. Of course, it can be a question character string using a plurality of character types. For example, there are mathematical formulas such as multiplication table and “12 × 12 = 144” as question character strings using numbers and operation symbols.
更に、点字にも適用可能である。この場合、例えば、一般的な6点式点字においては、濁音や半濁音、拗音、数字といった「2字」で表記する文字が含まれるが、出題文字列としてこれらの文字を含まない文字列を選択することで、同様に適用可能である。 Furthermore, it is applicable also to Braille. In this case, for example, a general six-point Braille includes characters represented by “two characters” such as muddy sounds, semi-voiced sounds, stuttering, and numbers. By selecting, it can be similarly applied.
(E)適用するゲーム
また、本実施形態における順路の生成方法は、文字パズルゲームのみではなく、他のゲームにも適用可能である。例えば、プレーヤキャラクタを定められたルート上で移動させるアクションゲームにおけるルートの作成や、ダンジョンの自動生成等に適用可能である。
(E) Game to be applied Further, the route generation method in the present embodiment is applicable not only to the character puzzle game but also to other games. For example, the present invention can be applied to creation of a route in an action game for moving a player character on a predetermined route, automatic generation of a dungeon, and the like.
(F)適用するゲーム装置
また、上述の実施形態では、携帯型ゲーム装置に適用した場合を説明したが、業務用ゲーム装置や家庭用ゲーム装置にも同様に適用可能である。更には、ゲーム装置に限らず、アプリケーションソフトが実行可能な携帯電話機やコンパクトデジタルカメラ、音楽プレーヤ、パソコン、カーナビと言った電子機器も、プログラムを実行可能なコンピュータを内蔵している、或いはコンピュータそのものといえるため、本発明を実現する一形態とすることができる。
(F) Game device to be applied In addition, in the above-described embodiment, the case where the game device is applied to a portable game device has been described. However, the present invention can also be applied to an arcade game device and a home game device. Furthermore, not only game devices but also electronic devices such as mobile phones, compact digital cameras, music players, personal computers, and car navigation systems that can execute application software have built-in computers that can execute programs, or the computers themselves. Therefore, it can be set as one form which implement | achieves this invention.
1000 携帯型ゲーム装置
110 操作入力部、120 撮像部
130 画像表示部、140 音声出力部、150 通信部
200 処理部
210 ゲーム演算部、212 順路生成部
230 画像生成部、240 音声生成部
300 記憶部
310 ゲームプログラム、312 順路生成プログラム
320 出題文字列群データ、330 撮像画像データ
340 生成文字盤データ、360 生成順路データ
10 文字ブロック
30 文字盤、40 マス、50 判定用マス
DESCRIPTION OF
Claims (15)
前記配列盤のうち、前記順路の始点マスを選択し、確定マスとする始点マス選択手段、
最新の確定マスに隣接する未確定マスの中から候補マスを選択する候補マス選択手段、
前記候補マスに仮順路を伸延した場合の順路完成の可否を判定する可否判定手段、
前記可否判定手段により可と判定された場合に前記候補マスを最新の確定マスとして仮順路を1マス分延伸する延伸手段、
として前記コンピュータを機能させるとともに、前記候補マス選択手段、前記可否判定手段、及び前記延伸手段を繰り返し機能させて前記配列盤の全てのマスが確定マスとなった場合の前記仮順路を前記正答順路とさせるためのプログラム。 A route that passes only once through the squares that are arranged in the vertical and horizontal directions to which letters, numbers, symbols, or combinations thereof (hereinafter referred to as “characters”) are meaningfully arranged. A program for causing a computer to perform calculation processing to create an assignment route for the character, etc., which becomes a correct answer route for a square array board to which the character, etc. is not assigned, for use in a game to be found by a player There,
From the array board, selecting a starting point mass of the forward route, a starting point mass selecting means as a definite cell,
Candidate mass selection means for selecting candidate masses from among unestablished masses adjacent to the latest confirmed mass,
Availability determination means for determining whether or not a route is completed when a temporary route is extended to the candidate mass;
An extension means for extending the temporary route by one square with the candidate mass as the latest confirmed mass when it is determined as acceptable by the availability determination means;
And the function of the computer as well as the candidate mass selection means, the availability determination means, and the extension means are repeatedly functioned, and the temporary route in the case where all the squares of the array board become a definite mass, the correct answer route Program to make it.
前記選択手段が、前記2つのグループそれぞれの所属マス数が異なる場合、多い方のグループに所属するマスの中から始点マスを選択するように前記コンピュータを機能させる、
ための請求項1に記載のプログラム。 The computer functions as a grouping means for grouping into two groups by selecting the cells alternately in a checkered pattern according to the arrangement positions of the cells on the array board,
The selection means causes the computer to function so as to select a start point cell from among cells belonging to the larger group when the number of cells belonging to the two groups is different;
A program according to claim 1 for.
前記候補マスに仮順路を伸延することで所定の袋小路条件を満たすこととなる未確定マスを検出する袋小路検出手段と、
前記袋小路検出手段の検出結果を用いて前記順路完成の可否を判定する袋小路判定手段と、
を有するように前記コンピュータを機能させるための請求項1又は2に記載のプログラム。 The availability determination means is
A dead end detection means for detecting an indeterminate square that will satisfy a predetermined dead end condition by extending a provisional route to the candidate mass;
Using the detection result of the bag path detection means, the path to determine whether or not the route is completed,
The program according to claim 1 or 2 for causing the computer to function so as to have the following.
ように前記コンピュータを機能させるための請求項3に記載のプログラム。 The bag path determination means has means for determining that the forward path completion is impossible when there are two or more uncertain masses that satisfy the bag path condition including the detection result of the bag path detection means.
The program according to claim 3 for causing the computer to function as described above.
前記袋小路判定手段が、前記袋小路検出手段により検出された未確定マスが、前記始点マスと同じグループに属するか否かに応じて前記順路完成の可否を判定する手段を有する、
ように前記コンピュータを機能させるための請求項3又は4に記載のプログラム。 The computer functions as a grouping means for grouping into two groups by selecting the cells alternately in a checkered pattern according to the arrangement positions of the cells on the array board,
The dead path determination means has means for determining whether or not the forward path is completed depending on whether or not the uncertain mass detected by the dead path detection means belongs to the same group as the start point mass,
The program according to claim 3 or 4 for causing the computer to function as described above.
ように前記コンピュータを機能させるための請求項1〜5の何れか一項に記載のプログラム。 The availability determination means includes a connectivity determination means for determining that the route completion is impossible when all uncertain masses do not satisfy a predetermined connection condition by extending a provisional route to the candidate mass.
The program according to any one of claims 1 to 5 for causing the computer to function as described above.
前記配列盤の周囲に仮想マスを配置する仮想マス配置手段と、
最新の確定マスが前記仮想マスの何れかと隣接した場合に全ての仮想マスを仮想確定マスとする仮想マス確定手段と、
を有し、前記候補マスの周囲8マスに含まれる未確定マス及び仮想未確定マスが前記連接条件を満たさなくなる場合に前記順路完成を不可と判定する、
ように前記コンピュータを機能させるための請求項6に記載のプログラム。 The connectivity determination means includes
Virtual mass arrangement means for arranging a virtual mass around the array board;
Virtual mass confirmation means for setting all virtual masses as virtual confirmed masses when the latest confirmed mass is adjacent to any of the virtual masses;
Determining that the route completion is impossible when the uncertain mass and the virtual uncertain mass included in the eight cells around the candidate mass do not satisfy the connection condition.
The program according to claim 6 for causing the computer to function as described above.
始点マス及び終点マスが周囲何れかのマスとされて割り当て順路が予め定められたN個(Nは2以上)の基礎配列盤を、i番目(i=1〜(N−1))の基礎配列盤の終点マスとi+1番目の基礎配列盤の始点マスとが隣接するように配置構成することで1番目の基礎配列盤の始点マスからN番目の基礎配列盤の終点マスまでを正答順とする前記出題用の配列盤を作成させる配置構成手段として前記コンピュータを機能させるためのプログラム。 For use in a game in which the player finds a route that passes through a cell that has been assigned a character or the like and is connected in the vertical and horizontal directions only once so as to form a meaningful sequence of characters. A program for causing a computer to perform calculation processing to create an array board,
N (N is 2 or more) basic array boards whose allocation route is determined in advance with the start point cell and the end point cell being one of the surrounding cells, the i-th (i = 1 to (N−1)) basis By arranging the end point cell of the array board and the start point cell of the (i + 1) th basic array board adjacent to each other, the order from the start point mass of the first basic array board to the end point mass of the Nth basic array board is in the correct answer order. A program for causing the computer to function as an arrangement configuration means for creating the layout board for the questions.
前記マスを配列することにより前記配列盤の候補となる配列盤候補を作成する配列盤候補作成手段、
前記配列盤候補の各マスを配置位置に応じて市松模様状に互い違いにマスを選択することで2つのグループにグループ分けした場合に、当該2つのグループそれぞれの所属マス数が2以上異なるか否かで前記配列盤候補の良否を判定する配列盤候補良否判定手段、
前記配列盤候補良否判定手段により良と判定されるまで前記配列盤候補作成手段に繰り返し再作成させる再作成制御手段、
として前記コンピュータを機能させるとともに、前記配列盤候補良否判定手段により良と判定された配列盤候補を配列盤として請求項1〜10の何れか一項に記載のプログラムを実行させることで前記正答順路を作成させるように前記コンピュータを機能させるためのプログラム。 In order to use in a game that allows the player to find a route that passes only once through the squares that are allocated in the vertical and horizontal directions so as to form a meaningful sequence of letters, etc. Is a program for causing a computer to calculate the creation of an array board of the cells to which the character or the like is not assigned and the creation of the assignment route of the letters, etc., which is the correct answer route for the array board,
An array board candidate creating means for creating an array board candidate to be a candidate for the array board by arranging the cells;
Whether or not the number of assigned squares of each of the two groups differs by two or more when each square of the array board candidates is grouped into two groups by alternately selecting squares in a checkered pattern according to the arrangement position The sequence board candidate pass / fail judgment means for judging pass / fail of the sequence board candidate in
Re-creation control means for repeatedly re-creating the array board candidate creation means until it is determined to be good by the array board candidate quality determination means,
The correct answer route by causing the computer to function as the array board candidate determined as good by the array board candidate pass / fail determining means and executing the program according to claim 1 as an array board. A program for causing the computer to function so as to create a program.
前記配列盤のうち、前記順路の始点マスを選択し、確定マスとする始点マス選択手段と、
最新の確定マスに隣接する未確定マスの中から候補マスを選択する候補マス選択手段と、
前記候補マスに仮順路を伸延した場合の順路完成の可否を判定する可否判定手段と、
前記可否判定手段により可と判定された場合に前記候補マスを最新の確定マスとして仮順路を1マス分延伸する延伸手段と、
を備え、前記候補マス選択手段、前記可否判定手段、及び前記延伸手段を繰り返し機能させて前記配列盤の全てのマスが確定マスとなった場合の前記仮順路を前記正答順路とする順路作成装置。 The character or the like is assigned for use in a game that allows the player to find a route that passes once through the squares that are assigned and connected in the vertical and horizontal directions so that a meaningful sequence of characters or the like is obtained. A route creation device for creating an assignment route for the letters, etc., which will be a correct answer route, for an array board of cells that are not provided,
From the array board, selecting a starting point mass of the route, a starting point mass selecting means as a fixed mass,
Candidate mass selection means for selecting candidate masses from uncertain masses adjacent to the latest confirmed mass;
Availability determination means for determining whether or not a route is completed when a temporary route is extended to the candidate mass;
An extension means for extending the temporary route by 1 square with the candidate mass as the latest confirmed mass when it is determined as acceptable by the availability determination means;
And a route creation device in which the candidate route selection unit, the availability determination unit, and the extension unit are repeatedly functioned so that the temporary route when the all squares of the array board are determined squares is the correct route. .
始点マス及び終点マスが周囲何れかのマスとされて割り当て順路が予め定められたN個(Nは2以上)の基礎配列盤を、i番目(i=1〜(N−1))の基礎配列盤の終点マスとi+1番目の基礎配列盤の始点マスとが隣接するように配置構成することで1番目の基礎配列盤の始点マスからN番目の基礎配列盤の終点マスまでを正答順とする前記出題用の配列盤を作成する配列盤作成装置。 For use in a game in which the player finds a route that passes through a cell that has been assigned a character or the like and is connected in the vertical and horizontal directions only once so as to form a meaningful sequence of characters. An array board creation device for creating an array board,
N (N is 2 or more) basic array boards whose allocation route is determined in advance with the start point cell and the end point cell being one of the surrounding cells, the i-th (i = 1 to (N−1)) basis By arranging the end point cell of the array board and the start point cell of the (i + 1) th basic array board adjacent to each other, the order from the start point mass of the first basic array board to the end point mass of the Nth basic array board is in the correct answer order. An arrangement board creation device for creating the arrangement board for the questions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010079544A JP2011206445A (en) | 2010-03-30 | 2010-03-30 | Program, information storage medium, route creating device, and arrangement board creating device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010079544A JP2011206445A (en) | 2010-03-30 | 2010-03-30 | Program, information storage medium, route creating device, and arrangement board creating device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011206445A true JP2011206445A (en) | 2011-10-20 |
Family
ID=44938208
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010079544A Pending JP2011206445A (en) | 2010-03-30 | 2010-03-30 | Program, information storage medium, route creating device, and arrangement board creating device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011206445A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011206444A (en) * | 2010-03-30 | 2011-10-20 | Namco Bandai Games Inc | Program, information storage medium and game device |
KR101325487B1 (en) * | 2013-07-10 | 2013-11-07 | 한경대학교 산학협력단 | Puzzle apparatus for a blind person |
JP5514944B1 (en) * | 2013-10-18 | 2014-06-04 | 株式会社 ディー・エヌ・エー | Game providing system, game providing program, and game providing method |
WO2014155414A1 (en) * | 2013-03-25 | 2014-10-02 | 株式会社スクウェア・エニックス | Video game processing device and video game processing program |
WO2014200059A1 (en) * | 2013-06-14 | 2014-12-18 | 株式会社ディー・エヌ・エー | Game providing system, game providing program and game providing method |
WO2015005644A1 (en) * | 2013-07-10 | 2015-01-15 | 한경대학교 산학협력단 | Puzzle apparatus for visually impaired |
CN105283232A (en) * | 2013-06-14 | 2016-01-27 | 株式会社得那 | Game providing system, game providing program and game providing method |
KR101620603B1 (en) | 2014-07-03 | 2016-05-13 | 한경대학교 산학협력단 | Educational puzzle apparatus for a blind person |
JP6298915B1 (en) * | 2017-04-27 | 2018-03-20 | 株式会社コロプラ | GAME PROGRAM, METHOD, AND INFORMATION PROCESSING DEVICE |
JP2018183566A (en) * | 2018-02-22 | 2018-11-22 | 株式会社コロプラ | Game program, method, and information processor |
-
2010
- 2010-03-30 JP JP2010079544A patent/JP2011206445A/en active Pending
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011206444A (en) * | 2010-03-30 | 2011-10-20 | Namco Bandai Games Inc | Program, information storage medium and game device |
US10434406B2 (en) | 2013-03-25 | 2019-10-08 | Square Enix Co., Ltd. | Video game processing apparatus and video game processing program product |
JPWO2014155414A1 (en) * | 2013-03-25 | 2017-02-16 | 株式会社スクウェア・エニックス | Video game processing apparatus and video game processing program |
WO2014155414A1 (en) * | 2013-03-25 | 2014-10-02 | 株式会社スクウェア・エニックス | Video game processing device and video game processing program |
KR20150138414A (en) * | 2013-06-14 | 2015-12-09 | 가부시키가이샤 디에누에 | Game providing system, game providing program and game providing method |
WO2014200059A1 (en) * | 2013-06-14 | 2014-12-18 | 株式会社ディー・エヌ・エー | Game providing system, game providing program and game providing method |
CN105283232A (en) * | 2013-06-14 | 2016-01-27 | 株式会社得那 | Game providing system, game providing program and game providing method |
KR101644550B1 (en) | 2013-06-14 | 2016-08-01 | 가부시키가이샤 디에누에 | Game providing system, game providing program and game providing method |
WO2015005644A1 (en) * | 2013-07-10 | 2015-01-15 | 한경대학교 산학협력단 | Puzzle apparatus for visually impaired |
KR101325487B1 (en) * | 2013-07-10 | 2013-11-07 | 한경대학교 산학협력단 | Puzzle apparatus for a blind person |
JP5514944B1 (en) * | 2013-10-18 | 2014-06-04 | 株式会社 ディー・エヌ・エー | Game providing system, game providing program, and game providing method |
KR101620603B1 (en) | 2014-07-03 | 2016-05-13 | 한경대학교 산학협력단 | Educational puzzle apparatus for a blind person |
JP6298915B1 (en) * | 2017-04-27 | 2018-03-20 | 株式会社コロプラ | GAME PROGRAM, METHOD, AND INFORMATION PROCESSING DEVICE |
JP2018183543A (en) * | 2017-04-27 | 2018-11-22 | 株式会社コロプラ | Game program, method, and information processor |
JP2018183566A (en) * | 2018-02-22 | 2018-11-22 | 株式会社コロプラ | Game program, method, and information processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2011206445A (en) | Program, information storage medium, route creating device, and arrangement board creating device | |
US8306330B2 (en) | Game apparatus and storage medium storing a handwriting input program | |
JP5166472B2 (en) | Program and game device | |
EP1705557A2 (en) | Touch input program and touch input device | |
JP2010022462A (en) | Three-dimensional puzzle game apparatus and game program | |
JP6612391B1 (en) | GAME PROGRAM, METHOD, AND INFORMATION PROCESSING DEVICE | |
US8167714B2 (en) | Puzzle game apparatus and computer readable storage medium having puzzle game program stored thereon | |
JP2007102504A (en) | Image generation device and method, program and recording medium | |
JP6514376B1 (en) | Game program, method, and information processing apparatus | |
JP7526848B2 (en) | Program and method | |
JP5000132B2 (en) | Training program, training apparatus, training system, training control method, game program, game apparatus, game system, and game control method | |
JP4598631B2 (en) | Program, information storage medium, and handwritten drawing similarity determination device | |
US20090278809A1 (en) | Storage medium storing information processing program, information processing apparatus and information processing method | |
US9370711B2 (en) | Storage medium storing game program and game apparatus | |
JP2008055021A (en) | Program, information storage medium and display controller | |
JP7300872B2 (en) | Game program, method, and information processing device | |
JP5715284B1 (en) | GAME PROGRAM, COMPUTER CONTROL METHOD, AND COMPUTER | |
JP7370721B2 (en) | Game program, method, and information processing device | |
JP2021053466A (en) | Game program, method for executing game program, and information processor | |
JP2019205826A (en) | Game program, method, and information processing device | |
JP4061278B2 (en) | GAME DEVICE AND GAME PROGRAM | |
JP5009349B2 (en) | Handwriting learning support program and handwriting learning support device | |
JP7181323B2 (en) | Game program, method, and information processing device | |
JP2006284861A (en) | Program and device to support learning by handwriting | |
JP6298915B1 (en) | GAME PROGRAM, METHOD, AND INFORMATION PROCESSING DEVICE |