JP7149977B2 - COMPUTER PROGRAM, MOBILE DEVICE, AND MOBILE DEVICE SYSTEM - Google Patents
COMPUTER PROGRAM, MOBILE DEVICE, AND MOBILE DEVICE SYSTEM Download PDFInfo
- Publication number
- JP7149977B2 JP7149977B2 JP2020045549A JP2020045549A JP7149977B2 JP 7149977 B2 JP7149977 B2 JP 7149977B2 JP 2020045549 A JP2020045549 A JP 2020045549A JP 2020045549 A JP2020045549 A JP 2020045549A JP 7149977 B2 JP7149977 B2 JP 7149977B2
- Authority
- JP
- Japan
- Prior art keywords
- information processing
- processing device
- game board
- information
- computer program
- 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.)
- Active
Links
Images
Landscapes
- Toys (AREA)
Description
本発明は、コンピュータプログラム、移動装置、及び移動装置システムに関する。 The present invention relates to computer programs, mobile devices, and mobile device systems.
従来より、スマートフォン等の情報処理装置の表示部を利用した玩具が提案されている(特許文献1)。 Conventionally, a toy using a display unit of an information processing device such as a smart phone has been proposed (Patent Document 1).
特許文献1に記載の玩具は自動では移動しない玩具であったが、情報処理装置を装着した玩具を移動させながらゲームを行うことを可能とする技術が求められていた。 Although the toy described in Patent Literature 1 is a toy that does not move automatically, there has been a demand for a technique that enables playing a game while moving a toy equipped with an information processing device.
そこで、本発明は、情報処理装置を装着して構成される移動装置を用いてゲームを実行可能とするための技術を提供することを目的とする。 SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a technique for enabling execution of a game using a mobile device configured with an information processing device attached thereto.
本発明は、主に撮影手段と制御手段とを備える情報処理装置に、ゲーム方法を実行させるためのコンピュータプログラムであって、
前記情報処理装置は、移動手段を備える本体部に装着されて、ゲーム盤上を移動することが可能であって、
前記ゲーム方法は、前記情報処理装置が前記本体部に装着され、かつ、前記ゲーム盤上に位置している場合に、
前記制御手段が、
前記撮影手段に、前記情報処理装置が位置する前記ゲーム盤の情報を取得させることと、
取得した前記ゲーム盤の情報に基づいて、前記移動手段の制御を含む実行動作を決定することと、
決定された前記実行動作に基づき前記移動手段を制御することとを含む。
The present invention is a computer program for causing an information processing apparatus mainly including photographing means and control means to execute a game method,
The information processing device is attached to a main body portion having a moving means, and is capable of moving on a game board,
In the game method, when the information processing device is attached to the main body and positioned on the game board,
The control means is
causing the photographing means to obtain information on the game board on which the information processing device is located;
Determining an execution action including control of the moving means based on the acquired information of the game board;
and controlling the moving means based on the determined execution action.
本発明によれば、情報処理装置を装着して構成される移動玩具を用いてゲームが実行可能となる。 According to the present invention, it is possible to execute a game using a mobile toy that is equipped with an information processing device.
以下、添付の図面を参照して、本発明をその好適な実施形態に基づいて詳細に説明する。なお、以下の実施形態において示す構成は一例に過ぎず、本発明は図示された構成に限定されるものではない。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail based on its preferred embodiments with reference to the accompanying drawings. Note that the configurations shown in the following embodiments are merely examples, and the present invention is not limited to the illustrated configurations.
まず、発明の実施形態に係るゲームシステムの構成について、図1のブロック図を用いて説明する。図1は、発明の実施形態に係るゲームシステム10の構成例を示すブロック図である。図1において、ゲームシステム10は、複数の移動装置100Aから100Cが、Bluetooth(登録商標) Low Energy(以下、BLE)の通信プロトコルに従う無線通信を行うことにより構築されている移動装置システムである。本実施形態では、複数の移動装置のうち移動装置100AがBLEのマスターとして動作し、移動装置100B及び100CがBLEのスレーブとして動作する。図1では、3台の移動装置100が通信する場合を示しているが、ゲームシステム10はより多く、或いは、より少ない数の移動装置により構築されてもよい。また、移動装置のことを、例えば、ロボット装置、或いは、自走装置、バトル装置、対戦用装置等と呼ぶこともできる。
First, the configuration of the game system according to the embodiment of the invention will be described using the block diagram of FIG. FIG. 1 is a block diagram showing a configuration example of a
次に、移動装置100のハードウェア構成について説明する。図2は、発明の実施形態に係る移動装置100のハードウェア構成の一例を示す図である。移動装置100は、本体部110上に載置されたスマートフォン等の情報処理装置120とで構成される。本体部110は、駆動部111、制御部112、発光部113及び通信部114を含むように構成される。駆動部111は、情報処理装置120が載置された本体部110を移動させるための機構を備える。当該機構には、駆動輪、駆動輪を駆動させる駆動機構、駆動機構の駆動源、駆動源に動力を供給する動力源等が含まれる。
Next, the hardware configuration of
図1に示したように、本実施形態に対応する本体部110は、キャタピラ状の構造とすることができる。この場合、複数の駆動輪に無端ベルトが掛け巻かれるように構成される。本体部110の構造はキャタピラ状に限られるものではなく、駆動輪にタイヤ状の弾性部材(例えば、ゴムタイヤ)を取り付けて構成してもよい。
As shown in FIG. 1, the
次に制御部112は、情報処理装置120からの制御信号に基づいて、本体部110の動作を制御する。制御部112は駆動部111の動作を制御することにより、本体部110をゲーム盤上で前進、後退、左右への旋回等することができる。また、制御部112は、発光部113における発光動作を制御すると共に、通信部114における情報処理装置120との通信を制御する。
Next,
発光部113は、移動装置100がゲーム盤上を移動する際にゲーム盤情報の読み取り精度を確保するために、ゲーム盤に光を照射する。発光部113は移動装置100の動作中は常に点灯していてもよい。発光部113による発光制御は制御部112により実行される。
The
通信部114は、情報処理装置120と接続し、通信するための通信インタフェースであって、例えばUSB方式に従う有線接続により通信を行うことができる。通信部114は、情報処理装置120からの制御命令を受信すると制御部112に提供する。情報処理装置120との接続はUSB方式以外の任意の方式でもよく、有線以外に無線接続であってもよい。
The
次に、情報処理装置120は、上記のようにスマートフォンやタブレット端末等として構成することができる。情報処理装置120は以下の要素を含むように構成することができる。
Next, the
制御部121は、情報処理装置120の各部の動作を制御する。表示部122は、ゲーム処理が進行している際に、所定のゲーム画面を表示する。また、ゲーム盤の画像を撮影する際には撮影された画像を表示する。表示部122は例えばLCDや有機ELディスプレイとして構成することができる。外部装置通信部123は、他の移動装置100との無線通信を行う。通信方式としては、上記のように例えばBLEを利用することができる。
The
本体通信部124は、本体部110の通信部114と接続して通信を行う。通信部114とはUSB方式に従う有線接続により通信を行うことができる。本体通信部124は、制御部121によるゲーム処理の実行結果に基づき、制御命令を本体部110に送信することができる。
Main
撮影部125は、ゲーム盤やタイルを撮影し、ゲーム盤画像、タイル画像を生成する。操作部126は、ボタン、タッチパネル等で構成され、情報処理装置120のユーザからの操作を受け付ける。画像処理部127は、撮影部125が撮影したゲーム盤画像を解析してゲーム盤データを生成したり、タイル画像を解析してゲーム装置100の現在位置を判定することができる。その他、画像についての全般的な処理を行う。画像処理部127の機能は制御部121により実現されてもよい。記憶部128は、撮影部125が生成した画像データを記憶したり、画像処理部127における処理により生成された各種データや、当該処理に用いられる情報を記憶する。また、表示部122に表示するための各種表示用データや、発明の実施形態に対応する処理を実行するためのアプリケーションデータを記憶する。
The photographing
次に、情報処理装置120のハードウェア構成について図2(B)を参照して説明する。
Next, the hardware configuration of the
図2(B)において、CPU200は、制御部121として動作することができ、ハードディスク装置(以下、HDと呼ぶ)204に格納されている本実施形態に対応する一連の処理を実行するためのアプリケーションプログラム、オペレーティングシステム(OS)や制御プログラム等を実行し、RAM202にプログラムの実行に必要な情報、ファイル等を一時的に格納する制御を行う。また、画像処理部127として動作することも可能であって、撮影部125で撮影された画像の解析処理等を実行する。さらには、インタフェース(I/F)206を介した本体部110との通信を制御する。なお、後述する図3、図4、図6及び図8における各フローチャートに従う処理もCPU200が対応する処理プログラムを実行することにより装置全体を制御して実現することができる。
In FIG. 2B, a
ROM201は、内部に基本I/Oプログラムの他、所定の処理を実行するアプリケーションプログラム等の各種データを記憶する。RAM202は各種データを一時記憶し、CPU200の主メモリ、ワーク領域等として機能する。また、撮影部125から受信した情報を一時的に記憶する。
The
ハードディスク装置203は、本実施形態では大容量メモリとして機能するHD(ハードディスク)を用いている。HD203には、アプリケーションプログラム、OS、制御プログラム、関連プログラム等が格納される。本実施形態に対応する一連の処理を実行するためのアプリケーションプログラムを外部サーバからダウンロードし、HD203に記憶することができる。なお、ハードディスクの代わりに、フラッシュ(登録商標)メモリ等の不揮発性記憶装置を用いても良い。
The
指示入力装置204は、ボタン、スイッチ、タッチパネル等がこれに相当する。出力装置205は、指示入力装置204から入力されたコマンドや、それに対する応答出力等を出力する。出力装置205にはディスプレイ、スピーカ、ヘッドフォン端子等を含むことができる。システムバス207は、情報処理装置120内のデータの流れを司る。
The
インタフェース(以下、I/Fという)206は、他の移動装置100や本体部110とのデータのやり取りを仲介する役割を果たす。具体的に、I/F206は、BLE通信のための無線通信モジュールを含むことができ、当該モジュールはアンテナシステム、RF送受信器、1つ以上の増幅器、同調器、1つ以上の発振器、デジタル信号プロセッサ、CODECチップセット、加入者識別モジュールカード、メモリなどを含む、周知の回路機構を含むことができる。また、有線接続のための有線通信モジュールを含むことができる。有線通信モジュールは1つ以上の外部ポートを介して本体部110を含む他のデバイスとの通信を可能とする。また、データを処理する様々なソフトウェアコンポーネントを含むことができる。外部ポートは、イーサーネット、USBやIEEE1394等を介して、直接的に、又はネットワークを介して間接的に他のデバイスと結合する。尚、以上の各装置と同等の機能を実現するソフトウェアにより、ハードウェア装置の代替として構成することもできる。
An interface (hereinafter referred to as I/F) 206 plays a role of mediating data exchange with other
次に、ゲームシステム10において実行される処理について図3から図8を参照して説明する。
Next, processing executed in the
まず、図3は、ゲームシステム10を構成する各移動装置100のそれぞれにおいて実行される処理の流れを示すフローチャートである。以下に説明する実施形態においては、ゲームシステム10は移動装置100Aから100Cの3台により構築されるものとするが、より多くの移動装置によりゲームシステム10を構築してもよい。
First, FIG. 3 is a flow chart showing the flow of processing executed in each
まず、S301において制御部121は、移動装置100のユーザであるプレーヤから操作部126を介した動作選択を受け付ける。ここで選択可能な動作としては、ゲームとプログラミングとの2種類が含まれる。ゲームが選択されると処理はS302に進み、プログラミングが選択されると処理はS309に進む。S309において動作プログラム登録処理を実行する。より詳細な動作プログラム登録処理の流れについては図6を参照して後述する。なお、この動作プログラム登録処理の間に、外部サーバと接続して通信を行うことができる。外部サーバからは、動作プログラム登録に必要な情報をダウンロードしたり、サンプルプログラムや、ゲームで使用可能な種々のアイテム等をダウンロードしたりすることができる。
First, in S<b>301 , the
S302において、制御部121は、移動装置100のプレーヤから操作部126を介した動作プログラムの選択を受け付ける。動作プログラムは、S308において登録されたプログラムを含み、複数の動作プログラムがある場合にはそのうちのいずれか1つを選択することができる。
In S<b>302 , the
続くS303では、制御部121は移動装置100をマスターとして動作させるか、それともスレーブとして動作させるかの選択(指定)をプレーヤから操作部126を介して受け付ける。マスターはゲームシステム10において1台のみであり、スレーブは複数存在することができる。マスターの選択を受け付けた場合には、処理はS304に進み、スレーブの選択を受け付けた場合には処理はS305に進む。本実施形態では、移動装置100Aがマスターとなり、移動装置100B及び100Cがスレーブとなる場合を想定する。
In subsequent S303, the
S304において、制御部121は、ゲーム盤データの生成処理を実行する。本実施形態では、ゲーム盤データの生成処理をマスターの移動装置100Aのみが実行し、スレーブの移動装置100Bと100Cに生成したゲーム盤データを提供する場合を説明する。但し、これに限らず、全ての移動装置100Aから100Cにおいてそれぞれゲーム盤データを生成してもよい。より詳細なゲーム盤データ生成処理の流れについては図4を参照して後述する。その後、処理はS306に進む。
In S304, the
スレーブ側では、S305においてマスターと接続するために、制御部121が外部装置通信部123を制御してBLEプロトコルに従ったアドバタイジングを行う。これに対しマスター側では、S306においてスレーブのスキャニングを行って、制御部121がスレーブから送信されたアドバタイジングを検知すると、表示部122の画面上に検出したスレーブの情報を表示する。制御部121は操作部126を介してプレーヤから接続の指示(スレーブの選択指示)を受け付けると、マスターの移動装置100Aから、スレーブの各移動装置100に対してコネクトリクエスト(接続要求)が送信されて、マスターとスレーブ間の通信が確立される。このような接続確立の手順はBLEプロトコルに従った公知技術を採用すればよいので、より詳細な説明は省略する。
On the slave side, in order to connect with the master in S305, the
以上によりマスターと1以上のスレーブとの間で通信が確立されると、処理はS307に進む。S307では、制御部121は表示部122の画面に情報処理装置120を本体部110に装着するようにメッセージを表示させ、装着が完了するとS308においてゲーム処理を開始する。本実施形態において実行可能なゲームには、対戦ゲーム(1対1バトル、チームバトル、バトルロワイヤル)、障害物レース、宝探し等がある。ゲーム処理の詳細については図8を参照して詳述する。なお、S301からS307までの処理は、本体部110に装着された状態で実行されてもよい。
When communication is established between the master and one or more slaves as described above, the process proceeds to S307. In S307, the
上記において、動作プログラム登録処理は移動装置100Aから100Cのそれぞれにおいて個別に実行される場合を説明した。しかし実施形態はこれに限られず、例えば、マスターの移動装置100Aが登録した動作プログラムをスレーブの移動装置100B及び100Cが共有してもよい。各移動装置が個別に登録を行う場合には、移動装置毎に異なる動作プログラムによりゲームが進行するので、各プレーヤが独自性を発揮してゲームを行うことが可能となる。その一方、移動装置で1つの動作プログラムを共有する場合には同一のルールでゲームを楽しむことができる。
In the above description, the operation program registration process is performed individually in each of the
次に、図4を参照してゲーム盤データ生成処理について説明する。ゲーム盤データ生成処理においては、まずS401において制御部121は撮影部125によりゲーム盤を撮影しゲーム盤画像を生成する。ここで撮影対象となるゲーム盤は例えば図5に示すように構成される。
Next, the game board data generation process will be described with reference to FIG. In the game board data generation process, first, in S401, the
図5において、タイル501から504は、ゲーム盤を構成するために利用可能なタイルの模様の一例を示している。本実施形態では、タイル501から504を任意に敷き詰める(配置する)ことにより、ゲーム盤を構成することができる。ゲーム盤505は、縦7枚、横7の計49枚のタイルにより構成されたゲーム盤の一例を示している。タイルの配置は矩形型に限られるものではなく、L字型やコの字型、S字型等の他、任意の配置とすることができる。
In FIG. 5,
タイル501から504は、それぞれ移動装置を上に載せられるのに十分な大きさを有するものとする。例えば、図1に示す移動装置100Aから100Cの下側に示す枠線は各タイルの例示的な大きさを示している。タイル501から504はそれぞれ表面に模様が印刷されており、各模様はタイルに割り当てられた機能を示している。
まず、タイル501は地面を表す。地面のタイルは、移動装置100の進行を妨げず、かつ、移動装置100の視界を遮らない性質が割り当てられている。移動装置100はタイル501の上を縦横に通行が可能である。タイル501上に記されている点線は移動装置100の進行位置を制御するために用いられる。移動装置100は撮影部125によりタイル501を撮影し、画像処理部127が画像から点線を抽出し、その位置に応じて制御部121は本体部110に制御信号を送信して移動装置100のタイル上での位置を調整する。
First,
タイル502は渓谷を表す。渓谷のタイルは、移動装置100の進行を妨げるが、移動装置100の視界は遮らない性質が割当てられる。よって、移動装置100は、タイル502の上を通過することはできない。
次に、タイル503は要塞を表す。要塞のタイルは、移動装置100の進行を妨げないが、移動装置100の視界を遮る性質が割り当てられる。よって、タイル503上に存在する移動装置100は、他の移動装置100からその存在を認識されることがない。
Next,
タイル504はピラミッドを表す。ピラミッドのタイルは移動装置100の進行を妨げ、かつ、移動装置100の視界を遮る性質が割り当てられる。よって、移動装置100はタイル504上を通過することができないし、タイル504を挟んで存在している移動装置100の存在を認識することはできない。
タイルの種類は上述の4種類に限定されるものではなく、追加の種類を用意することができる。例えば、宝探しゲームを行う場合には、宝を示すタイルを用意してもよい。 The types of tiles are not limited to the four types described above, and additional types can be provided. For example, when playing a treasure hunt game, tiles representing treasures may be prepared.
S401のゲーム盤撮影においては、撮影部125によりゲーム盤の全体が収まるように撮影を行い、ゲーム盤505のような画像を取得する。続くS402では、ゲーム盤505の画像を画像処理部127が二階調化し、更にS403において解析処理を行う。解析処理においては、各タイルの種別を判別すると共に、各タイルの辺が他のタイルと接触あるいは隣接しているか否かを判定する。タイルの種別はタイルの表面に印刷された模様に基づいて判別し、地面、渓谷、要塞、ピラミッドのいずれかの種別を判別する。本実施形態では、それぞれ0から3の数値を割当、地面:0、渓谷:1、ピラミッド:2、要塞:3としている。また、タイルの3辺以上が他のタイルの辺と接触あるいは隣接していないタイルは、スタート位置として数値4を割り当てる。
In the game board shooting in S401, the
上記解析処理においては、ゲーム盤を構成する候補とすべきタイルには、いずれかの側面が他のタイルの側面と隣接しているタイルのみを含めることとし、他のタイルから孤立しているタイルは含めないようにする。これは、当該孤立したタイルは移動装置100を移動させることができないので予め除外しておくためである。各タイルの種別を判別しスタート位置の判定が終了すると、S404において制御部121はゲーム盤データを生成し、記憶部128に保存する。ゲーム盤データは、S403で割り当てた数値をテーブル化して構成することができる。ゲーム盤505に基づくゲーム盤データはゲーム盤データ506のように構成することができる。
In the above analysis process, the candidate tiles that constitute the game board include only tiles that are adjacent to other tiles on one side, and tiles that are isolated from other tiles should not be included. This is because the isolated tile is excluded in advance because the
次に、図6を参照して動作プログラム登録処理の詳細を説明する。本実施形態では、動作プログラム登録処理を図3の全体フローの一部としてゲーム盤データ生成処理の後に実行する場合を説明するが、本処理は、ゲームシステムを構築する以前に各プレーヤが予め独立に実行してもよい。 Next, the details of the operation program registration process will be described with reference to FIG. In this embodiment, the operation program registration process is executed after the game board data generation process as part of the overall flow of FIG. may be executed to
本実施形態においては、情報処理装置120の表示部122には、動作プログラムの登録を行うためのユーザインタフェース(UI)が表示される。このとき表示されるUIの一例を図7を参照して説明する。
In this embodiment, the
図7は、動作プログラムの登録を行う表示画面の一例を示す図である。画面700には、トリガー表示領域701、遷移表示702、アクション表示領域703が含まれている。
FIG. 7 is a diagram showing an example of a display screen for registering an operation program.
トリガー表示領域701には、アクションを実行するための条件となるトリガーが規定されている領域である。本実施形態においてトリガーには、例えば、対戦相手(敵)に関する条件、周囲の状況に関する条件、自分に関する条件、その他の条件等が含まれる。
A
具体的に、敵に関する条件には、「もし敵が前方5マス以上先に見えたら・・・」、「もし敵から自分が見えているとわかったら・・・」、「もし敵のほうが上側にいるとわかったら・・・」等が含まれる。また、周囲の状況に関する条件には、例えば「もし上の地形が移動可能なら・・・」、「もし5マス以内に高台が見つかったら・・・」、「もし上の地形が山なら・・・」等が含まれる。自分に関する条件には、例えば「もし縦座標が8以上なら・・・」、「もし主砲が砲撃可能なら・・・」、「もしダメージが50%以上なら・・・」等が含まれる。その他の条件には、例えば「もしさいころの値が3以上だったら・・・」等がある。 Specifically, the conditions related to the enemy include "if the enemy can be seen more than 5 squares in front...", "if the enemy can see you...", "if the enemy is above If you find out that you are in..." etc. Conditions related to surrounding conditions include, for example, "if the upper terrain is movable...", "if a high ground is found within 5 squares...", and "if the upper terrain is a mountain...・” etc. are included. The self-related conditions include, for example, "if the ordinate is 8 or more...", "if the main gun can fire...", "if the damage is 50% or more...", and the like. Other conditions include, for example, "if the value of the dice is 3 or more...".
プレーヤは、これらのトリガーを表示画面700上に表示される選択肢の中から選択することができる。トリガーの内容が決定されると、トリガーで規定される条件を満たす場合に実行されるアクションをトリガー表示領域701の下側に設定する。図7では、トリガー1の下にアクション1が示されている。このとき遷移表示702により、トリガー1に基づいてアクション1が実行されることを示している。
The player can select these triggers from options displayed on
アクション表示領域703には、トリガーに基づいて実行されるアクション、すなわち、動作の内容が規定されている領域である。本実施形態においてアクションには、例えば、移動、回転、攻撃、作戦、変数等に関する動作が含まれる。
An
具体的に、移動の動作として、「前進する」、「地点1に近づく方向に移動する」、「ランダムで移動する」等がある。回転の動作として、「この敵に向く方向に回転する」、「上方向に回転する」、「逆方向に回転する」等がある。攻撃の動作として、「この敵を主砲で砲撃する」、「体当たりする」、「主砲を撃つ」等がある。作戦の動作として、「防御する」、「身を潜める」、「アイテムを使う」等がある。変数については、「この敵の位置を地点1にセットする」、「地点1を北3東5にセットする」、「フラグ1を立てる」等がある。 Concretely, as the motion of movement, there are "moving forward", "moving in a direction approaching point 1", "moving at random", and the like. Rotation actions include "rotate in the direction facing this enemy", "rotate upward", and "rotate in the opposite direction". Attack actions include ``bombard this enemy with the main gun'', ``ram the enemy'', and ``shoot the main gun''. Operation actions include "defend", "hide", and "use items". Variables include "set this enemy's position to point 1", "set point 1 to north 3 east 5", and "set flag 1".
プレーヤは、これらのアクションも表示画面700上に表示される選択肢の中から選択することができる。
The player can select from options displayed on the
本実施形態においては、表示画面700において、トリガー表示領域701に規定される条件が満たされない場合には、右隣の条件の判定を行う。よって、左端に位置するトリガー表示領域701に規定される条件から順に、条件が満たされるかどうか(成立するかどうか)が判定され、満たされない場合には、右隣の条件が順に判定されていく。条件が満たされる場合には、そのトリガー表示領域701と関連付けられたアクション表示領域703に分岐し、アクション表示領域703に規定されているアクションが実行される。本実施形態では1つのトリガーについて複数のアクションを連続的に設定することもできる。例えば、1つ目のアクションで目的地を設定し、2つ目のアクションで当該目的地に向けて移動する、という動作を行ってもよい。
In the present embodiment, when the condition defined in the
但し、アクションの組み合わせは、例えば、上記の移動、回転、攻撃、作戦、変数のそれぞれ1つずつのみしか選択できないものとしてもよい。また、ある種の攻撃を行った場合には、次のターンにおいて同種の攻撃を禁止してもよい。その場合、対応するトリガーに規定される条件が満たされた場合であっても、当該条件に基づく攻撃が禁止されているので、右隣のトリガーを更に判定することになる。以上のようにして動作プログラムを登録することができるが、動作プログラムとは、条件分岐と条件を満たす場合の動作の組み合わせの情報であって、動作プログラム以外にも、動作情報、動作条件情報、条件情報、判定情報、動作判定情報等のように呼ぶことができる。 However, as for the combination of actions, for example, only one each of the above-mentioned movement, rotation, attack, strategy, and variable may be selected. Also, if a certain type of attack is performed, the same type of attack may be prohibited in the next turn. In that case, even if the condition defined in the corresponding trigger is satisfied, the attack based on the condition is prohibited, so the trigger on the right side is further judged. An operation program can be registered as described above. An operation program is information on a combination of operations when conditional branches and conditions are met. It can be called condition information, determination information, action determination information, or the like.
図6の説明に戻り、まずS601では、制御部121は、操作部126を介してプレーヤからのトリガー選択を受け付ける。具体的には、図7に示す表示画面700において、トリガー表示領域701を表示して、当該領域内に包含するトリガー内容の選択を受け付ける。続くS602では、制御部121は操作部126を介してS601で設定したトリガーに対応するアクションの選択を受け付ける。具体的には、図7に示す表示画面700においてアクション表示領域703を表示して、当該領域内に包含するアクション内容の選択を受け付ける。
Returning to the description of FIG. 6, first, in S601, the
続くS603において制御部121は、入力を完了するか否かを判定する。プレーヤから登録を指示する操作を受け付けた場合には、入力完了と判定して処理はS604に進む。一方、登録指示を行わない場合には、S601に戻って処理を継続する。
In subsequent S603, the
S604では、制御部121はユーザから入力されたトリガーとアクションとの組み合わせを動作プログラムとして登録し、記憶部128に保存する。
In S<b>604 , the
なお、動作プログラムを複数の移動装置100の間で共有する場合には、マスターとなった移動装置100Aからスレーブの移動装置100B及び100Cに対して当該動作プログラムを送信する。
When an operation program is shared among a plurality of
次に、図8を参照してゲーム処理の詳細を説明する。ゲーム処理は、マスターの移動装置100Aと、スレーブの移動装置100B及び100Cとの間の通信に基づいて実行される。
Next, the details of the game processing will be described with reference to FIG. Game processing is performed based on communications between the master
本実施形態においては、ゲームシステム10を構成する複数の移動装置100は、1つのターンにおいて順番にゲーム処理及び本体部110の動作を行う。マスターはゲームの進行を制御する。マスターは自身の順番になれば、ゲーム処理及び本体部110の動作を行うと共に、その結果をスレーブに通知する。また、各スレーブはマスターからの指示に基づいて順にゲーム処理を行い、処理結果をマスター及びマスターを介してスレーブに通知する。各移動装置において実行されるゲーム処理及び動作は、S302で選択された動作プログラムに従うものとする。
In this embodiment, the plurality of
以下、図8のフローチャートの詳細を説明する。図8では、S801からS809がマスター側の処理を示し、S811からS818がスレーブ側の処理を示す。マスター、スレーブそれぞれにおいて、表示部122に表示された所定の操作ボタンの操作に応じてゲーム処理を開始することができる。
Details of the flowchart of FIG. 8 will be described below. In FIG. 8, S801 to S809 indicate the processing on the master side, and S811 to S818 indicate the processing on the slave side. Game processing can be started according to the operation of a predetermined operation button displayed on the
ゲームが開始されると、まず、マスター側では、S801において制御部121がスタート位置の判定を行う。スタート位置の判定は、例えば、表示部122にゲーム盤画像を表示して、どのスタート位置に移動装置100が配置されたのかの指定をプレイヤから受け付けることにより行ってもよい。あるいは、スタート位置に使用するタイルの模様に予め各スタート位置を一意に示すことが可能なマークを付与しておき、タイルに含まれる当該マークの有無に基づいてスタート位置を判定してもよい。この場合、生成されたゲーム盤データにおいては、各スタート位置のタイルのマークと、ゲーム盤上の位置が関連付けられており、タイル画像から抽出されるマークによりスタート位置を特定可能となっている。よって、各移動装置100はタイル画像を撮影部125で取得し、画像処理部127が解析して、タイル画像からマークを抽出し、ゲーム盤データと照らし合わせてどのスタート位置に配置されているかを判定することができる。
When the game starts, first, on the master side, the
次に、S802において、制御部121はゲーム盤データの更新及びスレーブとの通信を行う。マスターの移動装置100Aは、自装置のゲーム盤上での位置が判明すると、本ステップにおいてゲーム盤データ上に自装置の位置を書き込む。また、マスターの移動装置100Aは、スレーブの移動装置100B及び100Cから、各装置のマップ上の位置情報を受信して、受信した位置情報に基づいてゲーム盤データを更新する。これにより、移動装置100Aから100Cのゲーム盤上に位置する全てのゲーム装置がゲーム盤上のどの位置に位置しているかが特定可能となる。全ての移動装置100の位置情報を更新し終わると、マスターの移動装置100Aは更新済みのゲーム盤データをスレーブの移動装置100B及び100Cに送信する。これにより、スレーブ側のゲーム盤データも更新される。
Next, in S802, the
続くS803において、制御部121は、動作を行う移動装置100がいずれの移動装置であるかを判定する。当該処理は順番判定と呼び、例えば、移動装置100A、移動装置100B、移動装置100Cの順で動作を行う場合には、次に動作を行う移動装置が上記順序においていずれの移動装置であるかを判定する。
In subsequent S803, the
S803における順番判定の結果、マスターと判定された場合、すなわち、移動装置100Aの自装置である場合には処理はS805に進む。一方、次はスレーブの順番である場合、処理はS804に移行する。
As a result of the order determination in S803, if it is determined to be the master, that is, if it is the self device of the
S804において、制御部121は、外部装置通信部123を制御して順番に該当するスレーブの送信装置に対して実行指示を送信する。その後、処理はS806に進む。
In S804, the
S805において、制御部121は、動作プログラムに従い実行する動作を決定すると共に、動作を実行する。当該動作の決定は、その時点のゲーム盤データを参照して行うことができる。ゲーム盤データには、ゲームに参加している移動装置100の最新の位置が登録されているため、各移動装置100の位置、及び、ゲーム盤データから得られる周囲の地形情報に基づいて実行する動作を判定する。
In S805, the
続くS806において、制御部121は外部装置通信部123を制御して、S805において動作を実行した場合には動作結果をスレーブの各移動装置100に通知する。また、スレーブが動作を実行した場合には、当該動作結果をスレーブから受信すると共に、他のスレーブに対して動作結果を通知する。
In subsequent S806, the
続くS807において、制御部121はS806における通信の結果に従い、パラメータを更新すると共に、必要な画面表示を表示部122において行う。例えば、スレーブの移動装置100Bからマスターの移動装置100Aが攻撃を受けた場合には、当該攻撃に基づき移動装置100Aのキャラクタの体力値を削減すると共に、攻撃されたことを示す攻撃画像を表示部122に表示することができる。更に、攻撃を防御した場合には防御画像を表示したり、キャラクタ画像を表示したりすることもできる。
In subsequent S807, the
続くS808においては、撮影部125がタイル画像を取得して、S809において画像処理部127が取得したタイル画像に基づいてゲーム盤上での現在位置を判定する。その後、処理はS802に戻り、ゲーム盤データの更新等を行う。
In S808, the
次に、スレーブ側の移動装置100の処理について説明する。S811において制御部121はスタート位置の判定を行う。当該判定処理はS801における処理と同様に行うことができる。続くS812において、制御部121は外部装置通信部123を制御して、自装置のゲーム盤上の位置情報をマスターの移動装置100Aに送信し、マスター側で更新済みのゲーム盤データを受信する。また、受信したゲーム盤データにより記憶部128に記憶されている自装置のゲーム盤データを更新することで、最新のゲーム盤データへの更新が可能となる。
Next, processing of the
続くS813では、制御部121は、マスターの移動装置100Aから実行指示を受信したか否かを判定する。実行指示を受信した場合には処理はS814に進み、受信しない場合には処理はS815に進む。S814における処理は、S805における処理と同様である。
In subsequent S813, the
S815では、制御部121は外部装置通信部123を制御してマスターの移動装置100Aと通信し、S814において動作を実行した場合には動作結果をマスターに通知する。また、他の移動装置(マスターを含む)が動作を実行した場合には、当該動作結果をマスターから受信する。続くS816では、制御部121はS815における通信の結果に従い、パラメータを更新すると共に、必要な画面表示を表示部122において行う。ここでの処理はS807と同様である。続くS817においては、撮影部125がタイル画像を取得して、S818において画像処理部127が取得したタイル画像に基づいてゲーム盤上での現在位置を判定する。その後、処理はS812に戻り、ゲーム盤データの更新等を行う。
In S815, the
次に図9を参照して、情報処理装置120の本体部110に対する装着について説明する。本体部110には、スマートフォン等の情報処理装置を固定するための支持機構が備え付けられている。支持部901は、情報処理装置120の長辺側の端部を両脇から挟み込むように配置され、その幅はシャフト904により矢印で示すように調整可能に構成されている。支持部902及び903は、情報処理装置の短辺側の端部を上下に挟み込むように配置され、その幅はシャフト904により同じように矢印で示すように調整可能に構成されている。これにより任意の幅及び長さを有するスマートフォン、タブレット端末などを固定することができる。
Next, with reference to FIG. 9, attachment of the
情報処理装置120を本体部110に取り付ける際の取り付け角度Θは、任意に変更することが可能である。取り付け角度Θは、例えば0度以上90以下の範囲で変更可能とすることができる。
The attachment angle Θ for attaching the
次に表示部122に表示される画面の他の態様について説明する。制御部121は移動装置100Aが位置するゲーム盤の情報に基づいて必要な画面表示を表示部122において行ってもよい。例えば、取得された移動装置100Aが位置するゲーム盤の情報が、砂利道等、凹凸のある地形の情報である場合には、キャラクタが揺れていることを示すキャラクタ画像を表示部122に表示することができる。また、ゲーム盤において現実に凹凸のある地形が形成されている場合において移動装置100Aが凹凸のある地形部分に位置している場合には、同じくキャラクタが揺れていることを示すキャラクタ画像を表示部122に表示することができる。このようにゲーム盤の仮想的な情報だけではなく、ゲーム盤の現実的な情報に基づき表示部122に表示される画面を構成することも可能である。
Next, another aspect of the screen displayed on the
以上の実施形態に対応する発明によれば、情報処理装置を搭載し、当該情報処理装置による制御に基づき移動が可能な複数の移動装置を利用して、所定の異なる種別のタイルを配置して構成されたゲーム盤上において対戦ゲームを含む種々のゲームを実行することができる。 According to the invention corresponding to the above-described embodiments, predetermined different types of tiles are arranged using a plurality of mobile devices equipped with an information processing device and capable of moving based on control by the information processing device. Various games, including competitive games, can be played on the constructed game board.
[その他の実施形態]
本発明は上記実施の形態に制限されるものではなく、本発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。従って、本発明の範囲を公にするために、以下の請求項を添付する。また本発明に係る情報処理装置は、1以上のコンピュータを該情報処理装置として機能させるコンピュータプログラムによっても実現可能である。該コンピュータプログラムは、コンピュータが読み取り可能な記録媒体に記録されることにより、あるいは電気通信回線を通じて、提供/配布することができる。
[Other embodiments]
The present invention is not limited to the embodiments described above, and various modifications and variations are possible without departing from the spirit and scope of the present invention. Accordingly, to publicize the scope of the invention, the following claims are included. The information processing apparatus according to the present invention can also be realized by a computer program that causes one or more computers to function as the information processing apparatus. The computer program can be provided/distributed by being recorded on a computer-readable recording medium or through an electric communication line.
Claims (11)
前記情報処理装置は、移動手段を備える本体部に装着されて、ゲーム盤上を移動することが可能であって、
前記ゲーム方法は、前記情報処理装置が前記本体部に装着され、かつ、前記ゲーム盤上に位置している場合に、
前記制御手段が、
前記撮影手段に、前記情報処理装置が位置する前記ゲーム盤の情報を取得させることと、
取得した前記ゲーム盤の情報に基づいて、前記移動手段の制御を含む実行動作を決定することと、
決定された前記実行動作に基づき前記移動手段を制御することと
を含む、コンピュータプログラム。 A computer program for executing a game method on an information processing device comprising a photographing means and a control means,
The information processing device is attached to a main body portion having a moving means, and is capable of moving on a game board,
In the game method, when the information processing device is attached to the main body and positioned on the game board,
The control means is
causing the photographing means to obtain information on the game board on which the information processing device is located;
Determining an execution action including control of the moving means based on the acquired information of the game board;
and controlling the moving means based on the determined execution action.
前記ゲーム方法は、前記制御手段が、
前記通信手段に、他の情報処理装置の前記ゲーム盤上における位置の情報を取得させることと、
前記ゲーム盤上における他の情報処理装置の位置に更に基づいて、前記実行動作を決定することと、
前記通信手段に、前記実行動作の結果を他の情報処理装置に通知させることと
を含む、請求項1に記載のコンピュータプログラム。 The information processing device further comprises communication means,
In the game method, the control means
causing the communication means to obtain positional information of another information processing device on the game board;
determining the action to be performed further based on the positions of other information processing devices on the game board;
2. The computer program according to claim 1, comprising causing said communication means to notify another information processing device of a result of said execution operation.
前記ゲーム方法は、前記制御手段が、
前記通信手段に、前記他の情報処理装置における前記実行動作の結果を前記他の情報処理装置から受信させることと、
前記表示手段に、受信した前記他の情報処理装置における前記実行動作の結果に基づく画面を表示させることと
を更に含む、請求項2に記載のコンピュータプログラム。 The information processing device further comprises display means,
In the game method, the control means
causing the communication means to receive a result of the execution operation in the other information processing device from the other information processing device;
3. The computer program according to claim 2, further comprising causing said display means to display a screen based on the received result of said execution operation in said other information processing apparatus.
前記ゲーム方法は、前記制御手段が、
前記情報処理装置が前記マスターとして動作する場合、前記通信手段に前記スレーブとして動作する前記他の情報処理装置の前記ゲーム盤上における位置の情報を受信させると共に、前記ゲーム盤上に位置するすべての情報処理装置の位置の情報を、前記スレーブとして動作する前記他の情報処理装置に送信させることと、
前記情報処理装置が前記スレーブとして動作する場合、前記通信手段に前記情報処理装置の前記ゲーム盤上における位置の情報を前記マスターとして動作する情報処理装置に送信させると共に、該マスターとして動作する情報処理装置から、前記ゲーム盤上に位置するすべての情報処理装置の位置の情報を受信させることと
を更に含む、請求項2または3に記載のコンピュータプログラム。 The information processing device operates as either a master or a slave,
In the game method, the control means
When the information processing device operates as the master, it causes the communication means to receive positional information on the game board of the other information processing device operating as the slave, and controls all the information processing devices located on the game board. transmitting information on the location of the information processing device to the other information processing device operating as the slave;
When the information processing device operates as the slave, the information processing device operating as the master causes the communication means to transmit information on the position of the information processing device on the game board to the information processing device operating as the master. 4. The computer program product of claim 2 or 3, further comprising receiving from devices location information of all information processing devices located on the game board.
実行すべき動作と、該実行すべき動作を実行するための条件とを含む動作情報に基づいて前記実行動作を決定することと、
前記条件が満たされるか否かを、前記情報処理装置の位置、前記他の情報処理装置の位置、及び、前記ゲーム盤の構成情報に基づいて判定することと、
を更に含む、請求項2から4のいずれか1項に記載のコンピュータプログラム。 In the game method, the control means
determining the action to be performed based on action information including an action to be performed and a condition for performing the action to be performed;
Determining whether the condition is satisfied based on the position of the information processing device, the position of the other information processing device, and configuration information of the game board;
5. A computer program as claimed in any one of claims 2 to 4, further comprising:
前記ユーザによる入力には、複数の選択肢からの選択入力が含まれる、
請求項5に記載のコンピュータプログラム。 The motion information is generated based on input by a user of the information processing device,
The input by the user includes selection input from a plurality of options.
6. Computer program according to claim 5.
前記取得された前記ゲーム盤の情報に基づいて、前記情報処理装置の前記ゲーム盤上における位置を特定することと、
前記情報処理装置の前記ゲーム盤上における位置に更に基づいて、前記実行動作を決定することと、
を更に含む、請求項1から7のいずれか1項に記載のコンピュータプログラム。 The control means is
identifying the position of the information processing device on the game board based on the acquired information of the game board;
determining the execution action further based on the position of the information processing device on the game board;
8. A computer program as claimed in any one of claims 1 to 7, further comprising:
前記情報処理装置が装着され、前記情報処理装置により制御される移動手段を有する本体部と
を備える、移動装置。 An information processing apparatus comprising: photographing means, control means, and storage means storing the computer program according to any one of claims 1 to 9, and executing a game method by executing the computer program;
A mobile device, comprising: a main body on which the information processing device is attached and having a moving means controlled by the information processing device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020045549A JP7149977B2 (en) | 2020-03-16 | 2020-03-16 | COMPUTER PROGRAM, MOBILE DEVICE, AND MOBILE DEVICE SYSTEM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020045549A JP7149977B2 (en) | 2020-03-16 | 2020-03-16 | COMPUTER PROGRAM, MOBILE DEVICE, AND MOBILE DEVICE SYSTEM |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018176547A Division JP6678715B2 (en) | 2018-09-20 | 2018-09-20 | Computer program, mobile device, and mobile device system |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2020093127A JP2020093127A (en) | 2020-06-18 |
JP2020093127A5 JP2020093127A5 (en) | 2021-10-28 |
JP7149977B2 true JP7149977B2 (en) | 2022-10-07 |
Family
ID=71084342
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020045549A Active JP7149977B2 (en) | 2020-03-16 | 2020-03-16 | COMPUTER PROGRAM, MOBILE DEVICE, AND MOBILE DEVICE SYSTEM |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7149977B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012056001A (en) | 2010-09-08 | 2012-03-22 | Fit:Kk | Robot control system |
JP2015036164A (en) | 2013-08-13 | 2015-02-23 | 東京電力株式会社 | Remote operation robot system |
JP2017505559A (en) | 2013-11-20 | 2017-02-16 | クゥアルコム・インコーポレイテッドQualcomm Incorporated | Autonomous robot for mobile devices |
JP2018149221A (en) | 2017-03-15 | 2018-09-27 | 株式会社Icon | Learning toy and panel for use in the same |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018176547A (en) * | 2017-04-13 | 2018-11-15 | 東洋製罐グループホールディングス株式会社 | Method for producing liquid repellent molded body |
-
2020
- 2020-03-16 JP JP2020045549A patent/JP7149977B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012056001A (en) | 2010-09-08 | 2012-03-22 | Fit:Kk | Robot control system |
JP2015036164A (en) | 2013-08-13 | 2015-02-23 | 東京電力株式会社 | Remote operation robot system |
JP2017505559A (en) | 2013-11-20 | 2017-02-16 | クゥアルコム・インコーポレイテッドQualcomm Incorporated | Autonomous robot for mobile devices |
JP2018149221A (en) | 2017-03-15 | 2018-09-27 | 株式会社Icon | Learning toy and panel for use in the same |
Also Published As
Publication number | Publication date |
---|---|
JP2020093127A (en) | 2020-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111589131B (en) | Control method, device, equipment and medium of virtual role | |
CN111589142B (en) | Virtual object control method, device, equipment and medium | |
CN111035918B (en) | Reconnaissance interface display method and device based on virtual environment and readable storage medium | |
CN111589133B (en) | Virtual object control method, device, equipment and storage medium | |
CN111589124B (en) | Virtual object control method, device, terminal and storage medium | |
CN110141859B (en) | Virtual object control method, device, terminal and storage medium | |
TWI389726B (en) | A game device, a game program, and a recording medium storing the game program | |
US8608563B2 (en) | Method for exchanging NPC data between computer devices | |
CN110681156B (en) | Virtual role control method, device, equipment and storage medium in virtual world | |
CN111589127B (en) | Control method, device and equipment of virtual role and storage medium | |
JP7325664B2 (en) | VIRTUAL OBJECT CONTROL METHOD AND DEVICE, TERMINAL, AND COMPUTER PROGRAM | |
JP2022551112A (en) | Vehicle driving method, device, terminal and program in virtual environment | |
CN112083848B (en) | Method, device and equipment for adjusting position of control in application program and storage medium | |
EP1097739A2 (en) | Game system using communication network | |
CN112704876B (en) | Method, device and equipment for selecting virtual object interaction mode and storage medium | |
CN111760285B (en) | Virtual scene display method, device, equipment and medium | |
CN111672102A (en) | Virtual object control method, device, equipment and storage medium in virtual scene | |
CN111596838A (en) | Service processing method and device, computer equipment and computer readable storage medium | |
CN112915541B (en) | Jumping point searching method, device, equipment and storage medium | |
JP7149977B2 (en) | COMPUTER PROGRAM, MOBILE DEVICE, AND MOBILE DEVICE SYSTEM | |
CN113101656B (en) | Virtual object control method, device, terminal and storage medium | |
CN112604302B (en) | Interaction method, device, equipment and storage medium of virtual object in virtual environment | |
CN114404972A (en) | Method, device and equipment for displaying visual field picture | |
CN112156471B (en) | Skill selection method, device, equipment and storage medium of virtual object | |
JP6678715B2 (en) | Computer program, mobile device, and mobile device system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20210114 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210915 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210915 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220518 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220520 |
|
A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20220715 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220721 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220815 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220817 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20220829 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220927 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7149977 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |