JP4098374B2 - Random number generator for gaming machines - Google Patents
Random number generator for gaming machines Download PDFInfo
- Publication number
- JP4098374B2 JP4098374B2 JP01074395A JP1074395A JP4098374B2 JP 4098374 B2 JP4098374 B2 JP 4098374B2 JP 01074395 A JP01074395 A JP 01074395A JP 1074395 A JP1074395 A JP 1074395A JP 4098374 B2 JP4098374 B2 JP 4098374B2
- Authority
- JP
- Japan
- Prior art keywords
- random number
- limit value
- upper limit
- setting register
- lower limit
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Pinball Game Machines (AREA)
- Slot Machines And Peripheral Devices (AREA)
- Display Devices Of Pinball Game Machines (AREA)
Description
【0001】
【産業上の利用分野】
本発明は、乱数を照合して、入賞時の動作状態、又はその他の動作状態を決定するために用いられる遊技機の乱数発生装置に関する。
【0002】
【従来の技術】
遊技機には、例えばパチンコ機又はスロットマシンのように、当り外れを乱数を用いて決定し、動作制御を行うようにされたものがある。
【0003】
このような従来の遊技機では、制御部に記憶されている遊技動作制御用のプログラムの一部に、乱数発生プログラムを書き込んでおき、必要に応じて中央処理装置でプログラムに従って乱数を発生させ、この乱数を利用して遊技動作の制御を進めるようにしている。
【0004】
【発明が解決しようとする課題】
上述のような従来の遊技機では、ROMに書き込まれた乱数発生プログラムを書き換えることができる。よって、乱数発生プログラムを書き換えることにより、当り確率を高くすることが可能となる。しかしながら、パチンコ機等の遊技機では、当り確率が一定値以下とするように定められているので、当り確率を高くする乱数発生プログラムの改ざんをするような不正行為ができないようにすることが望ましい。
【0005】
また、ROMの容量は一定値以下であるため、ROMに乱数発生プログラム部分を書き込めば、それだけROMの残りの遊技動作のプログラムを書き込むための容量が減る。よって、この少ないROMの容量に入るだけの短いプログラムにするため遊技内容を複雑にして面白くすることができない。
【0006】
また、乱数発生プログラムを短くするため単純な手法で乱数を発生させるようにすると、中央処理装置による処理時間によって、乱数に周期性が出てしまい、当り確率を一定にすることができなくなることがある。
【0007】
さらにゲーム用のプログラムの一部に乱数発生プログラムが記入されている場合には、乱数の検証のためプログラム全体の検証も厳重に行なわなければならないので時間と手間がかかっていた。
【0008】
本発明は上記事実を考慮し、乱数発生プログラムが改ざんできないようにし、中央処理装置用のプログラムが乱数発生プログラムに占有される割合を少なくし、発生する乱数に周期性が出ないようにし、プログラムの構築とその検証を容易にした遊技機の乱数発生装置を得ることを目的とする。
【0009】
【課題を解決するための手段】
請求項1に係る発明は、印加する電圧が変動されることによりパルス信号の周期が変動され、周期が変動された該パルス信号を発生する信号発生手段と、前記パルス信号をカウントするカウンタと、遊技機の動作を制御する制御装置によって、前記カウンタのカウント値の上限値が書き込まれる上限値設定レジスタと、を有する乱数発生部と、前記カウンタがカウントしたカウント値を前記制御装置が取り込むタイミングを決定する乱数取り込みタイミング発生装置と、を備え、前記カウンタのカウント値は、前記上限値設定レジスタに書き込まれた上限値を超えないように構成されるとともに、該カウント値が、前記乱数取り込みタイミング発生装置で決定されたタイミングで、前記制御装置によって、前記乱数発生部で発生した乱数として読み出されることを特徴とする。
【0010】
請求項2に係る発明は、前記制御装置によって読み込んだカウント値の上限値は、電源投入時に前記上限値設定レジスタに書き込まれることを特徴とする。請求項3に係る発明は、前記乱数発生部に、前記制御装置によって読み込んだ前記制御ROMに記憶された前記カウンタのカウント値の下限値が書き込まれる下限値設定レジスタが設けられ、前記カウンタのカウント値は、前記下限値設定レジスタに書き込まれた下限値から前記上限値設定レジスタに書き込まれた上限値までの範囲を超えないように構成されたことを特徴とする。
【0011】
請求項4に係る発明は、前記制御装置によって読み込んだカウント値の上限値及び下限値は、電源投入時に前記上限値設定レジスタ及び前記下限値設定レジスタに書き込まれることを特徴とする。
【0013】
【作用】
請求項1の発明では、制御装置が、カウンタのカウント値の上限値を上限値設定レジスタに書き込む。信号発生手段が、印加する電圧が変動されることによりパルス信号の周期が変動され、周期が変動されたパルス信号を発生する。そして、カウンタが、信号発生手段で発生したパルス信号を上限値まで順にカウントする。そして、制御装置が、乱数取り込みタイミング発生装置で決定されたタイミングで、このカウンタのカウント値を乱数発生部で発生した乱数として読み出す。
【0014】
請求項2の発明では、制御装置によって読み込んだカウント値の上限値は、電源投入時に上限値設定レジスタに書き込まれる。請求項3の発明では、乱数発生部に、上限値設定レジスタに加えて、制御装置によって読み込んだ制御ROMに記憶されたカウンタのカウント値の下限値が書き込まれる下限値設定レジスタが設けられている。そして、カウンタが、下限値設定レジスタ及び上限値設定レジスタに書き込まれた下限値から上限値までの間で、信号発生手段で発生したパルス信号を順にカウントする。そして、制御装置が、乱数取り込みタイミング発生装置で決定されたタイミングで、このカウンタのカウント値を乱数発生部で発生した乱数として読み出す。
【0015】
請求項4の発明では、制御装置によって読み込んだカウント値の上限値及び下限値は、電源投入時に上限値設定レジスタ及び下限値設定レジスタに書き込まれる。
【0017】
【実施例】
以下、本発明の遊技機の乱数発生装置の第1実施例を図1乃至図6によって説明する。
【0018】
本実施例の乱数発生装置は、図1に示す如きパチンコ機60に用いることができる。このパチンコ機60は、遊技盤62上に特別図柄表示装置64と、普通図柄表示装置66との2個の表示装置及び入賞口72を設けたものである。
【0019】
この特別図柄表示装置64は、始動口68に入賞したときに、本実施例の乱数発生装置で発生した乱数と照合して、当り、又は外れ図柄の表示を行う。
【0020】
本実施例の乱数発生装置は、図2に示すように構成されるもので、中央処理装置(CPU)10には、バス11を介して確率設定装置12が接続されている。確率設定装置12は、管理者がゲームを開始する以前に入賞確率を設定するために用いる。
【0021】
また、中央処理装置10には、制御ROM14及びRAM15が接続されている。
【0022】
制御ROM14には、図5に示すように、確率に応じた下限値3と上限値222、下限値3と上限値122、・・・等を記憶した乱数設定エリア16、データエリア18、ゲーム実行用制御プログラムを記憶したゲーム実行用制御プログラムエリア20、未使用エリア22、及びベクタエリア24が設けられる。そして確率設定装置12により設定された高確率又は低確率等の確率情報に応じて制御ROM14内の乱数設定エリア16内にあらかじめ格納された上下限値を選択して利用する。
【0023】
中央処理装置10には、乱数取り込みタイミング発生装置26が接続されている。この乱数取り込みタイミング発生装置26は、乱数を参照するタイミングを決定するためのもので、例えばパチンコ機の始動口にパチンコ球が入賞した時点で、当り、外れを決定する乱数を取り込むように設定される。
【0024】
また、中央処理装置10には、パチンコ機の始動口に入賞したことを検出する入賞検出部27が接続されている。
【0025】
さらに、中央処理装置10には、乱数発生部28が接続されている。乱数発生部28は、図3に例示するように、フリーランニングカウンタ30を用いて構成されている。フリーランニングカウンタ30は、パルス信号としてのクロック信号(クロックパルス)を出力するクロックジェネレータ(中央処理装置10のクロックジェネレータと別に独立して設けられる)32に接続され、係数回路が構成される。
【0026】
さらに、フリーランニングカウンタ30には、下限値設定レジスタ34が接続されている。下限値設定レジスタ34には、中央処理装置10が接続され、この中央処理装置10により設定された下限値がフリーランニングカウンタ30に入力されて、フリーランニングカウンタ30でカウントされる数列の下限値が決定される。
【0027】
フリーランニングカウンタ30の出力は、デジタルコンパレータ36の一方の入力端子に接続されデジタルコンパレータ36のもう一方の入力端子は上限値設定レジスタ38に接続されている。なお、デジタルコンパレータ36としては、商品名TC74HC688等を用いることができる。上限値設定レジスタ38には、中央処理装置10が接続され、この中央処理装置10により設定された上限値がデジタルコンパレータ36に入力される。デジタルコンパレータ36の出力端はフリーランニングカウンタ30のリセット端子に接続されている。この乱数発生部28によれば、フリーランニングカウンタ30でカウントアップされた出力信号がデジタルコンパレータ36の一方の入力端子に送られ、ここで上限値設定レジスタ38により設定されかつもう一方の端子より入力された上限値と比較され、上限値と一致したときに、デジタルコンパレータ36の出力信号がフリーランニングカウンタ30のリセット端子に送られて、フリーランニングカウンタ30のカウントが下限値にリセットされた後、カウントアップする動作が再開される。
【0028】
このようにフリーランニングカウンタ30で下限値から上限値までの間の数列を繰り返しカウントした信号は、乱数取り込みタイミング発生装置26の取込みタイミングで中央処理装置10に読み込まれる。
【0029】
尚、中央処理装置10が、上・下限値設定レジスタ38、34に入力された上・下限値を読み取り書き込まれた上・下限値が正しいか、否かのチェックを行うようにしても良い。
【0030】
次に上述のように構成された本第1実施例の動作を図6によって説明する。まず、本第1実施例の乱数発生装置で遊技機の遊技処理を実行する前段までの処理を図6のフローチャートによって説明する。
【0031】
まず、乱数発生装置がスタートされると、次にステップ42で電源投入によりスタートされたか否かを判断する。電源投入時でない場合は、ステップ52の遊技処理に移行する。電源投入によりスタートされた場合には、ステップ44のイニシャライズ処理により、制御装置内のRAMの所定エリアを初期値に設定する。
【0032】
次に、ステップ46で、確率設定装置12に設定されている確率情報を取り込む。次に、ステップ48で取込まれた確率情報に対応する上限値、及び下限値を制御ROM14の乱数設定エリア16から読み込む。
【0033】
次に、ステップ50で読み込んだ上限値を、上限値設定レジスタ38に設定するとともに、下限値を下限値設定レジスタ34に設定する。次に、ステップ52で、上述のように設定した上下限値に基づいて乱数を発生させゲームを進行する。ゲームが終了すると、ステップ54で電源切か否かを判断し、電源切でない場合には、ステップ42へ戻る。また、電源切の場合には動作を終了する。
【0034】
なお、上述した実施例では、上限値設定レジスタ38と、下限値設定レジスタ34とを共に用いた場合について説明したが、どちらか一方だけを用いて構成することもできる。例えば、フリーランニングカウンタ30が0からカウントを開始する場合には、上限値設定レジスタ38で設定された上限値と、0との間の数列をフリーランニングカウンタ30が繰り返しカウントするようにすれば良いので、図4に示す如く下限値設定レジスタ34を省略できる。また、フリーランニングカウンタ30がカウントアップする上限値が定まっている場合には、下限値設定レジスタ34で設定された下限値と、上限値との間の数列をフリーランニングカウンタ30が繰り返しカウントするようにすれば良いので、上限値設定レジスタ38を省略できる。なお、フリーランニングカウンタ30は、上述の如くカウントアップするだけでなく、カウントダウンするようにしても良い。
【0035】
また、中央処理装置10と乱数発生部28とが別体として構成してあり、別々のクロックジェネレータ32で動作するので、乱数発生部28のクロックジェネレータ32としてVCO(電圧制御発振器)を用い、このVCOの電圧をランダムに変動させてパルス信号の周期を変動しすなわちランダムにパルス信号の周期を変動することによりフリーランニングカウンタ30でカウントする数値の発生状態をパルス信号の変動する周期に対応して変動するよう構成しても良い。また、フリーランニングカウンタ30に関数発生器を接続し、クロックジェネレータ32から周期的に発生される各パルス信号を関数に対応してカウントするように構成しても良い。
【0036】
さらに、上述したパルス信号の周期を変動する手段と、関数発生器とを組み合わせてより大きくランダムに変動する数値を発生させるように構成しても良い。これらのように構成することにより、乱数発生部28で発生する数値をランダムにし、周期性を発生させないようにできる。
【0037】
次に、本発明の第2実施例を図7乃至図11によって説明する。本第2実施例は、2種類の乱数を利用して遊技機の制御動作を行うものである。すなわち、本第2実施例は、図1に示すパチンコ機60に用いられるもので、この特別図柄表示装置64は、始動口68に入賞したときに、後述する図10、図11のフローチャートに示す如くステップ96で取り込んだ乱数値をステップ110で記憶し、ステップ128でプログラム上で設定された当り値と照合して当り、又は外れ図柄の表示を行う。また、普通図柄表示装置66は、普通図柄表示装置作動ゲート70に入賞したときに、後述する図10、図11のフローチャートに示す如くステップ96で取り込んだ乱数値をステップ122で記憶し、ステップ130でプログラム上で設定された当り値と照合して当り、又は外れ図柄の表示を行うように制御装置により制御される。
【0038】
この2種類の乱数機能を持つ制御装置は、図7に例示するように構成される。すなわち、中央処理装置10には、2個の乱数発生部28A、28Bが接続される。なお、一方の乱数発生部28Aは、上限値設定レジスタ38A、フリーランニングカウンタ30A、コンパレータ36A、下限値設定レジスタ34A、及びクロックジェネレータ32で構成される。さらに、他方の乱数発生部28Bは、上限値設定レジスタ38B、フリーランニングカウンタ30B、コンパレータ36B、下限値設定レジスタB、及びクロックジェネレータ32とは別に設けられたクロックジェネレータ31とで構成される。また、これら乱数発生部28A、28Bの構成は、図3に示すものと同様であるので、その詳細な説明を省略する。また、中央処理装置には、バス72を介して制御ROM14、高確率と低確率とが設定された確率設定装置12、乱数取り込みタイミング発生装置26、入賞検出部27、及びRAM74が接続され構成される。
【0039】
また、図8に示すように制御ROM14の乱数設定エリア16には、普通図柄当り決定用(低確率)の下限値3と上限値222、及び特別図柄当り決定用(高確率)の下限値3と上限値12の値を書き込んでおく。
【0040】
次に、上述のように構成した本第2実施例の動作を図9乃至図11によって説明する。まず、本第2実施例の2個の乱数発生装置の制御動作におけるメインルーチンを図9によって説明する。
【0041】
電源が投入されると、ステップ82で確率設定装置12に設定された確率に基づき、ROM14に書き込まれている特別図柄当り決定用乱数の上限値12と下限値3とを読み出す。そして、この読み出した特別図柄当り決定用乱数の上限値12と下限値3とを、特別図柄当り決定用の上限値設定レジスタ38Aと、下限値設定レジスタ34Aとにセットする。これとともに、普通図柄当り決定用乱数の上限値222と下限値3とを読み出し、普通図柄当り決定用の上限値設定レジスタ38Bと、下限値設定レジスタ34Bとにセットする。
【0042】
次にステップ84では、電源切となっているかの判断を繰り返し、電源切の場合には制御動作が終了される。
【0043】
次に、上述の制御動作中の割込処理について図10、及び図11によって説明する。この割込処理は所定時間毎、例えば4msec毎に繰り返し実行される。まずステップ90で、電源投入から最初の動作かどうかを判断し、最初の動作であったときには、ステップ92に進み、RAM74等を初期値にセットする。
【0044】
第1回目の所定の時間経過後、割込処理が再び実行される。次にステップ90で最初の動作でないことが判断されると、ステップ96に進む。ステップ96では、特別図柄当り決定用乱数発生部28Aで特定された特別図柄当り決定用の1つの乱数をフリーランニングカウンタ30Aから読み出し、RAM74に書き込む。これとともに、普通図柄当り決定用乱数発生部28Bから、その時点で特定された普通図柄当り決定用の1つの乱数をフリーランニングカウンタ30Bから読み出し、RAM74に書き込む。
【0045】
次にステップ98では、遊技盤62上の各電動装置に所定動作を行わせる出力処理、及びタイマー処理を実行する。
【0046】
次にステップ100では、遊技盤62上の電動装置が正常に動作しているかを判断し、球づまり等で正常に動作していない場合には、ステップ102に進みエラー表示をする。これにより、エラーの原因が解消するまで、制御動作が中断する。また正常に動作していると判断されると、ステップ104に進み特別図柄当り決定用始動口への入賞チェックを実行し、ステップ106で入賞検出部27が始動口68に入賞したことを検出したと判断されると、ステップ108に進む。ステップ108では始動口68に入賞した球の数を記憶する始動メモリが4以下かどうかを判断し、4以下の場合ステップ110に進む。
【0047】
ステップ110では、パチンコ球が始動口68に入賞した時を乱数取り込みタイミング発生装置26で検出し、その入賞時にステップ96で中央処理装置10がフリーランニングカウンタ30Aから1つの乱数を入賞乱数として読み取って、RAM74に書き込んだ乱数値を始動メモリに対応したRAM74の領域に格納する。
【0048】
次に、ステップ112で始動メモリに1を加算し、ステップ116に進む。
また、ステップ106で始動口に入賞していないと判断されたときはステップ132に進む。
【0049】
ステップ108で始動メモリが4以上の場合には、次のステップ114に進み始動メモリを4にセットし、ステップ116に進む。
【0050】
次にステップ116では普通図柄用の作動ゲートに入賞したかどうかをチェックし、ステップ118に進み、入賞検出部27が作動ゲート70に入賞したことを検出したか否かを判断し、作動ゲート70に入賞したことを検出したと判断されると、ステップ120に進む。ステップ120では作動ゲート70に入賞した球の数を記憶した始動メモリが4以下かどうかを判断し、4以下の場合ステップ122に進む。
【0051】
ステップ122では、パチンコ球が作動ゲート70に入賞した時を乱数取り込みタイミング発生装置26で検出し、その入賞時にステップ96で中央処理装置10がフリーランニングカウンタ30Bから1つの乱数を入賞乱数として読み取って、RAM74に書き込んだ乱数値を入賞メモリに対応したRAM74の領域に格納する。
【0052】
次に、ステップ124で始動メモリに1を加算し、ステップ128に進む。
ステップ120で始動メモリが4以上の場合には、次のステップ126に進み始動メモリを4にセットし、ステップ128に進む。
【0053】
ステップ128では特別図柄制御処理を行う。すなわち、まずステップ96で取り込んだ特別図柄当り決定用乱数を、ステップ110でRAM74の入賞メモリに記憶し、その値とプログラム上での当り値を比較し、両者が一致する場合には当りと判断し、不一致の場合には外れと判断する。そして、当りの場合には、特別図柄表示装置64の図柄を回転した後、当り図柄が表示されるように回転を停止するとともに、入賞口72を開放する所定の当り動作を実行する。また、外れの場合には、特別図柄表示装置64の図柄を回転した後、外れ図柄が表示されるように回転を停止し、ステップ130に進む。
【0054】
ステップ130では普通図柄制御処理を行う。すなわち、まずステップ96で取り込んだ普通図柄当り決定用乱数をステップ122でRAM74の入賞メモリに記憶し、その値とプログラム上での当り値を比較し、両者が一致する場合には当りと判断し、不一致の場合には外れと判断する。そして、当りの場合には、普通図柄表示装置66の図柄を回転した後、当り図柄が表示されるように回転を停止するとともに、入賞口72を開放する所定の当り動作を実行する。また、外れの場合には、普通図柄表示装置66の図柄を回転した後、外れ図柄が表示されるように回転を停止し、ステップ132に進む。
【0055】
また、ステップ118で作動ゲート70に入賞していないと判断されたときにもステップ132に進む。
【0056】
次に、ステップ132では、各種動作処理を行う。すなわち、パチンコ機各部のランプの表示処理、LEDによるダイナミック表示処理、外部情報処理、液晶表示処理、賞球払い出し、サウンド処理を実行し、メインルーチンにリターンする。
【0057】
なお、本第2実施例における以上説明した以外の構成、作用、及び効果は前述した第1実施例と同様であるのでその説明を省略する。
【0058】
なお、乱数発生部、上下限値は3以上設けるようにしてもよい。上限値レジスタ、下限値レジスタにワンタイムROMを内蔵させ、工場出荷時にそこに正規データを書きそのものを上限値、下限値として採用し、乱数設定エリア16の確率設定値と、上限値、下限値とを比較するようにしても良い。このようにすると、上・下限設定レジスタ38、34から上・下限値データを中央処理装置が、読み取るだけで、中央処理装置10からの書き込みができないので、プログラムの改ざんができない。
【0059】
【発明の効果】
本発明は上記の構成としたので、請求項1の発明では、カウンタがパルス信号をカウントするタイミングと、カウント値の取り込みタイミングとが異なり、カウント値を乱数として読み出して乱数を発生可能にする。
【0060】
さらに、乱数発生部は、外部から改ざん不能な独立した構成のカウンタを利用しているので、当り確率を不正に変更するようなことを防止できる。これとともに、乱数発生のために制御装置のプログラムを使用しないから、このプログラムを遊戯動作制御用に十分に利用でき、プログラムに乱数発生のためのプロセスを組み込まなくても良いので、プログラムの構築を容易にできる。また、当りの確率を検証する場合にも、設定手段の上限値、下限値情報を見るだけで良いので検証作業を容易にできる。
【0061】
請求項2の発明では、事前に当り確率を不正に変更するようなことを防止できる。請求項3の発明では、当りの確率を検証する場合にも、設定手段の上限値、下限値情報を見るだけで良いので検証作業を容易にできる。
【0062】
請求項4の発明では、事前に当り確率を不正に変更するようなことを防止できる。
【図面の簡単な説明】
【図1】本発明の制御装置を利用可能なパチンコ機を例示する要部正面図である。
【図2】本発明の第1実施例に係る制御装置部分を示す概略構成説明線図である。
【図3】図2の乱数発生部部分を取り出し、その内部構成を示す概略構成説明線図である。
【図4】図3の乱数発生部から下限値設定レジスタを省略した内部構成を示す概略構成説明線図である。
【図5】図2の制御ROMの記憶エリアを示す説明線図である。
【図6】本発明の第1実施例の制御装置に係る制御動作の要部を説示するフローチャートである。
【図7】本発明の第2実施例に係る制御装置部分を示す概略構成説明線図である。
【図8】図7の制御ROMの記憶エリアを示す説明線図である。
【図9】本発明の第2実施例の制御装置の制御動作を説示するためのフローチャートである。
【図10】本発明の第2実施例の制御装置の制御動作を説示するためのフローチャートである。
【図11】本発明の第2実施例の制御装置の制御動作を説示するためのフローチャートである。
【符号の説明】
10 中央処理装置
12 確率設定装置
14 制御ROM
26 乱数取り込みタイミング発生装置
28 乱数発生部
30 フリーランニングカウンタ
32 クロックジェネレータ(信号発生手段)
34 下限値設定レジスタ(設定手段)
36 デジタルコンパレータ
38 上限値設定レジスタ(設定手段)[0001]
[Industrial application fields]
The present invention, by matching the random number, about the random number generator of the gaming machine used to determine a winning time of operating conditions, or other operating conditions.
[0002]
[Prior art]
Some gaming machines, such as pachinko machines or slot machines, are configured to determine a hit / decision using a random number and control the operation.
[0003]
In such a conventional gaming machine, a random number generation program is written in a part of the game operation control program stored in the control unit, and if necessary, a random number is generated according to the program in the central processing unit, The control of the game operation is advanced using this random number.
[0004]
[Problems to be solved by the invention]
In the conventional gaming machine as described above, the random number generation program written in the ROM can be rewritten. Therefore, it is possible to increase the hit probability by rewriting the random number generation program. However, in gaming machines such as pachinko machines, it is determined that the probability of hitting should be a certain value or less, so it is desirable to prevent fraudulent acts such as tampering with a random number generation program that increases the probability of winning. .
[0005]
Further, since the capacity of the ROM is below a certain value, the capacity for writing the remaining game operation programs in the ROM is reduced as much as the random number generating program part is written in the ROM. Therefore, in order to make the program short enough to fit into this small ROM capacity, the game content cannot be complicated and interesting.
[0006]
In addition, if a random number is generated by a simple method in order to shorten the random number generation program, periodicity may appear in the random number depending on the processing time by the central processing unit, and the hit probability cannot be made constant. is there.
[0007]
Furthermore, when a random number generation program is written in a part of the game program, it takes time and effort because the entire program must be strictly verified to verify the random number.
[0008]
In consideration of the above facts, the present invention prevents the random number generation program from being tampered with, reduces the ratio of the central processing unit program occupied by the random number generation program, prevents the generated random numbers from being periodic, It is an object to obtain a random number generator for a gaming machine that facilitates the construction and verification of the game machine.
[0009]
[Means for Solving the Problems]
In the invention according to
[0010]
The invention according to
[0011]
The invention according to
[0013]
[Action]
In the invention according to
[0014]
In the invention of
[0015]
In the invention of
[0017]
【Example】
A first embodiment of a random number generator for a gaming machine according to the present invention will be described below with reference to FIGS.
[0018]
The random number generator of the present embodiment can be used in a
[0019]
When the special
[0020]
The random number generator according to this embodiment is configured as shown in FIG. 2, and a probability setting device 12 is connected to a central processing unit (CPU) 10 via a bus 11. The probability setting device 12 is used for setting a winning probability before the manager starts the game.
[0021]
Further, a
[0022]
As shown in FIG. 5, the
[0023]
The
[0024]
Further, the
[0025]
Further, a
[0026]
Further, a lower limit setting register 34 is connected to the free running counter 30. The
[0027]
The output of the free running counter 30 is connected to one input terminal of the digital comparator 36, and the other input terminal of the digital comparator 36 is connected to the upper limit setting register 38. As the digital comparator 36, trade name TC74HC688 or the like can be used. The
[0028]
The signal obtained by repeatedly counting the number sequence between the lower limit value and the upper limit value by the free running counter 30 in this way is read into the
[0029]
The
[0030]
Next, the operation of the first embodiment configured as described above will be described with reference to FIG. First, the process up to the previous stage of executing the gaming process of the gaming machine with the random number generation device of the first embodiment will be described with reference to the flowchart of FIG.
[0031]
First, when the random number generator is started, it is next determined in step 42 whether or not it is started by turning on the power. If it is not when the power is turned on, the process proceeds to a game process in step 52. When the process is started by turning on the power, a predetermined area of the RAM in the control device is set to an initial value by the initialization process in step 44.
[0032]
Next, in step 46, the probability information set in the probability setting device 12 is fetched. Next, the upper limit value and the lower limit value corresponding to the probability information captured in step 48 are read from the random
[0033]
Next, the upper limit value read in step 50 is set in the upper limit value setting register 38 and the lower limit value is set in the lower limit value setting register 34. Next, in step 52, a random number is generated based on the upper and lower limit values set as described above, and the game proceeds. When the game is over, it is determined in step 54 whether or not the power is turned off. If the power is not turned off, the process returns to step 42. When the power is turned off, the operation is terminated.
[0034]
In the above-described embodiment, the case where the upper limit value setting register 38 and the lower limit value setting register 34 are used together has been described. However, only one of them may be configured. For example, when the free running counter 30 starts counting from 0, the free running counter 30 may repeatedly count a number sequence between the upper limit set by the upper
[0035]
Also, the
[0036]
Further, the means for changing the period of the pulse signal described above and a function generator may be combined so as to generate a numerical value that changes more randomly. By configuring as described above, it is possible to make the numerical value generated by the random
[0037]
Next, a second embodiment of the present invention will be described with reference to FIGS. In the second embodiment, the game machine is controlled using two types of random numbers. In other words, the second embodiment is used in the
[0038]
The control device having these two types of random number functions is configured as illustrated in FIG. That is, two random number generators 28A and 28B are connected to the
[0039]
Further, as shown in FIG. 8, the random
[0040]
Next, the operation of the second embodiment configured as described above will be described with reference to FIGS. First, the main routine in the control operation of the two random number generators of the second embodiment will be described with reference to FIG.
[0041]
When the power is turned on, based on the probability set in the probability setting device 12 in step 82, the upper limit value 12 and the
[0042]
Next, in step 84, it is repeatedly determined whether the power is off. If the power is off, the control operation is terminated.
[0043]
Next, interrupt processing during the above-described control operation will be described with reference to FIGS. This interruption process is repeatedly executed every predetermined time, for example, every 4 msec. First, at
[0044]
After the first predetermined time has elapsed, the interrupt process is executed again. Next, when it is determined in
[0045]
Next, in step 98, an output process for causing each electric device on the
[0046]
Next, in
[0047]
In step 110, when the pachinko ball wins the start opening 68 is detected by the random number capturing timing generator 26, and in the step 96, the
[0048]
Next, in
On the other hand, if it is determined in step 106 that the start opening has not been won, the process proceeds to step 132.
[0049]
When the start memory is 4 or more at
[0050]
Next, in step 116, it is checked whether or not the normal symbol operating gate has been won, and the process proceeds to step 118, where it is determined whether or not the winning
[0051]
In
[0052]
Next, in
When the start memory is 4 or more at
[0053]
In step 128, special symbol control processing is performed. That is, first, the random number for determination per special symbol fetched in step 96 is stored in the winning memory of the RAM 74 in step 110, and the value is compared with the winning value on the program. However, if they do not match, it is determined that they are off. In the case of winning, after rotating the symbol of the special
[0054]
In step 130, normal symbol control processing is performed. That is, first, the random number for determining the normal symbol fetched in step 96 is stored in the winning memory of the RAM 74 in
[0055]
Further, when it is determined in step 118 that the operating
[0056]
Next, in step 132, various operation processes are performed. That is, display processing of lamps in each part of the pachinko machine, dynamic display processing using LEDs, external information processing, liquid crystal display processing, prize ball payout, and sound processing are executed, and the process returns to the main routine.
[0057]
Since the configuration, operation, and effects of the second embodiment other than those described above are the same as those of the first embodiment described above, description thereof will be omitted.
[0058]
In addition, you may make it provide a random number generation part and three or more upper and lower limit values. One-time ROM is built in the upper limit value register and lower limit value register, regular data is written to the factory default value, and the data itself is used as the upper limit value and lower limit value. The probability setting value in the random
[0059]
【The invention's effect】
Since the present invention is configured as described above, in the first aspect of the invention, the timing at which the counter counts the pulse signal is different from the timing at which the count value is taken in, and the count value is read as a random number so that a random number can be generated.
[0060]
Furthermore, since the random number generator uses a counter with an independent configuration that cannot be tampered with from the outside, it is possible to prevent the hit probability from being illegally changed. At the same time, since the program of the control device is not used for random number generation, this program can be fully used for controlling the game operation, and it is not necessary to incorporate a process for random number generation into the program. Easy to do. Also, when verifying the winning probability, it is only necessary to look at the upper limit and lower limit information of the setting means, so that the verification work can be facilitated.
[0061]
According to the second aspect of the present invention, it is possible to prevent the hit probability from being illegally changed in advance. In the invention of
[0062]
In the invention of
[Brief description of the drawings]
FIG. 1 is a main part front view illustrating a pachinko machine that can use a control device of the present invention.
FIG. 2 is a schematic configuration explanatory diagram showing a control device portion according to the first embodiment of the present invention;
FIG. 3 is a schematic configuration explanatory diagram illustrating an internal configuration of the random number generation unit of FIG. 2 taken out.
4 is a schematic configuration explanatory diagram illustrating an internal configuration in which a lower limit value setting register is omitted from the random number generation unit of FIG. 3;
FIG. 5 is an explanatory diagram showing a storage area of the control ROM of FIG. 2;
FIG. 6 is a flowchart illustrating a main part of a control operation according to the control device of the first embodiment of the present invention.
FIG. 7 is a schematic configuration explanatory diagram showing a control device portion according to a second embodiment of the present invention.
8 is an explanatory diagram showing a storage area of the control ROM of FIG. 7;
FIG. 9 is a flowchart for illustrating a control operation of the control device according to the second embodiment of the present invention;
FIG. 10 is a flowchart for illustrating a control operation of the control device according to the second embodiment of the present invention.
FIG. 11 is a flowchart for illustrating the control operation of the control device according to the second embodiment of the present invention;
[Explanation of symbols]
10 Central processing unit 12
26 random number
34 Lower limit setting register (setting means)
36 Digital comparator 38 Upper limit setting register (setting means)
Claims (4)
前記カウンタがカウントしたカウント値を前記制御装置が取り込むタイミングを決定する乱数取り込みタイミング発生装置と、
を備え、
前記カウンタのカウント値は、前記上限値設定レジスタに書き込まれた上限値を超えないように構成されるとともに、該カウント値が、前記乱数取り込みタイミング発生装置で決定されたタイミングで、前記制御装置によって、前記乱数発生部で発生した乱数として読み出されることを特徴とする遊技機の乱数発生装置。 The period of the pulse signal is changed by changing the voltage to be applied, the signal generating means for generating the pulse signal whose period has been changed, the counter for counting the pulse signal, and the control for controlling the operation of the gaming machine A random number generator having an upper limit value setting register in which an upper limit value of the count value of the counter is written by the device;
A random number capture timing generator for determining the timing at which the control device captures the count value counted by the counter;
With
The count value of the counter is configured not to exceed the upper limit value written in the upper limit value setting register, and the count value is determined by the control device at a timing determined by the random number acquisition timing generation device. A random number generator for a gaming machine, which is read as a random number generated by the random number generator.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP01074395A JP4098374B2 (en) | 1995-01-26 | 1995-01-26 | Random number generator for gaming machines |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP01074395A JP4098374B2 (en) | 1995-01-26 | 1995-01-26 | Random number generator for gaming machines |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH08196705A JPH08196705A (en) | 1996-08-06 |
JP4098374B2 true JP4098374B2 (en) | 2008-06-11 |
Family
ID=11758796
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP01074395A Expired - Fee Related JP4098374B2 (en) | 1995-01-26 | 1995-01-26 | Random number generator for gaming machines |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4098374B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3634738B2 (en) * | 2000-10-18 | 2005-03-30 | 株式会社藤商事 | Game machine |
JP2005304835A (en) * | 2004-04-22 | 2005-11-04 | Samii Kk | Game machine |
JP2005304833A (en) * | 2004-04-22 | 2005-11-04 | Samii Kk | Game machine |
JP2007236569A (en) * | 2006-03-07 | 2007-09-20 | Olympia:Kk | Game machine, illegal action preventing method for game machine and program |
JP4990311B2 (en) * | 2009-03-09 | 2012-08-01 | 株式会社藤商事 | Game machine |
-
1995
- 1995-01-26 JP JP01074395A patent/JP4098374B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH08196705A (en) | 1996-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3887953B2 (en) | Game machine | |
JP3885367B2 (en) | Random number generation circuit and gaming machine including the random number generation circuit | |
JP4098374B2 (en) | Random number generator for gaming machines | |
JP4399890B2 (en) | Game machine | |
JP2000271326A5 (en) | ||
JP3888221B2 (en) | CONTROL DEVICE AND GAME MACHINE HAVING THE CONTROL DEVICE | |
JP4249358B2 (en) | Game machine | |
JP2001198271A (en) | Playing machine | |
JP4023767B2 (en) | Game machine | |
JP4744591B2 (en) | Game machine | |
JP4124062B2 (en) | Game machine | |
JP2003320097A (en) | Game machine | |
JP2009061345A (en) | Game machine | |
JP4877860B2 (en) | Game machine | |
JP2009061347A (en) | Game machine | |
JP2004008807A5 (en) | ||
JP2009061348A (en) | Game machine | |
JP4502556B2 (en) | Game machine | |
JP2009061344A (en) | Game machine | |
JP3885654B2 (en) | Game machine | |
JPH07323115A (en) | Winning control circuit | |
JP2005160931A (en) | Microcomputer for controlling game machine | |
JP4450255B2 (en) | Game machine | |
JP4683087B2 (en) | Game machine | |
JP4683086B2 (en) | Game machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060523 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060710 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060912 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061107 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070508 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070626 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20070724 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070918 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071003 |
|
A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20071015 |
|
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: 20080311 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080313 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110321 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110321 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120321 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130321 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130321 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140321 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |