| 
    ReversiForm
    1.0.0
    
   ReversiForm 
   | 
 
リバーシクラス More...

Public Member Functions | |
| MyReversi (int masuCnt, int masuMax) | |
| コンストラクタ  More... | |
| MyReversi | Clone () | 
| コピー  More... | |
| void | reset () | 
| リセット  More... | |
| void | AnalysisReversi (int bPassEna, int wPassEna) | 
| 解析を行う  More... | |
| int | getMasuSts (int y, int x) | 
| マスステータスを取得  More... | |
| int | getMasuStsOld (int y, int x) | 
| 以前のマスステータスを取得  More... | |
| int | getMasuStsEna (int color, int y, int x) | 
| 指定座標に指定色を置けるかチェック  More... | |
| int | getMasuStsCnt (int color, int y, int x) | 
| 指定座標の獲得コマ数取得  More... | |
| int | getColorEna (int color) | 
| 指定色が現在置ける場所があるかチェック  More... | |
| int | getGameEndSts () | 
| ゲーム終了かチェック  More... | |
| int | setMasuSts (int color, int y, int x) | 
| 指定座標にコマを置く  More... | |
| int | setMasuStsForcibly (int color, int y, int x) | 
| 指定座標にコマを強制的に置く  More... | |
| int | setMasuCnt (int cnt) | 
| マスの数変更  More... | |
| ReversiPoint | getPoint (int color, int num) | 
| ポイント座標取得  More... | |
| int | getPointCnt (int color) | 
| ポイント座標数取得  More... | |
| int | getBetCnt (int color) | 
| コマ数取得  More... | |
| int | getPassEna (int color, int y, int x) | 
| パス判定  More... | |
| ReversiHistory | getHistory (int num) | 
| 履歴取得  More... | |
| int | getHistoryCnt () | 
| 履歴数取得  More... | |
| ReversiAnz | getPointAnz (int color, int y, int x) | 
| ポイント座標解析取得  More... | |
| int | checkEdge (int color, int y, int x) | 
| 角の隣に置いても角を取られないマス検索  More... | |
| int | getEdgeSideZero (int y, int x) | 
| 指定座標が角か取得  More... | |
| int | getEdgeSideOne (int y, int x) | 
| 指定座標が角の一つ手前か取得  More... | |
| int | getEdgeSideTwo (int y, int x) | 
| 指定座標が角の二つ手前か取得  More... | |
| int | getEdgeSideThree (int y, int x) | 
| 指定座標が角の三つ以上手前か取得  More... | |
Properties | |
| int [,] | mMasuSts [get, set] | 
| int [,] | mMasuStsOld [get, set] | 
| int [,] | mMasuStsEnaB [get, set] | 
| int [,] | mMasuStsCntB [get, set] | 
| int [,] | mMasuStsPassB [get, set] | 
| ReversiAnz [,] | mMasuStsAnzB [get, set] | 
| ReversiPoint [] | mMasuPointB [get, set] | 
| int | mMasuPointCntB [get, set] | 
| int | mMasuBetCntB [get, set] | 
| int [,] | mMasuStsEnaW [get, set] | 
| int [,] | mMasuStsCntW [get, set] | 
| int [,] | mMasuStsPassW [get, set] | 
| ReversiAnz [,] | mMasuStsAnzW [get, set] | 
| ReversiPoint [] | mMasuPointW [get, set] | 
| int | mMasuPointCntW [get, set] | 
| int | mMasuBetCntW [get, set] | 
| int | mMasuCnt [get, set] | 
| int | mMasuCntMax [get, set] | 
| int | mMasuHistCur [get, set] | 
| ReversiHistory [] | mMasuHist [get, set] | 
Private Member Functions | |
| int | makeMasuSts (int color) | 
| 各コマの置ける場所等のステータス作成  More... | |
| void | revMasuSts (int color, int y, int x) | 
| コマをひっくり返す  More... | |
| int | checkPara (int para, int min, int max) | 
| パラメーター範囲チェック  More... | |
| void | AnalysisReversiBlack () | 
| 解析を行う(黒)  More... | |
| void | AnalysisReversiWhite () | 
| 解析を行う(白)  More... | |
Private Attributes | |
| int [,] | _mMasuSts | 
| マスの状態  | |
| int [,] | _mMasuStsOld | 
| 以前のマスの状態  | |
| int [,] | _mMasuStsEnaB | 
| 黒の置ける場所  | |
| int [,] | _mMasuStsCntB | 
| 黒の獲得コマ数  | |
| int [,] | _mMasuStsPassB | 
| 黒が相手をパスさせる場所  | |
| ReversiAnz [,] | _mMasuStsAnzB | 
| 黒がその場所に置いた場合の解析結果  | |
| ReversiPoint [] | _mMasuPointB | 
| 黒の置ける場所座標一覧  | |
| int | _mMasuPointCntB | 
| 黒の置ける場所座標一覧数  | |
| int | _mMasuBetCntB | 
| 黒コマ数  | |
| int [,] | _mMasuStsEnaW | 
| 白の置ける場所  | |
| int [,] | _mMasuStsCntW | 
| 白の獲得コマ数  | |
| int [,] | _mMasuStsPassW | 
| 白が相手をパスさせる場所  | |
| ReversiAnz [,] | _mMasuStsAnzW | 
| 白がその場所に置いた場合の解析結果  | |
| ReversiPoint [] | _mMasuPointW | 
| 白の置ける場所座標一覧  | |
| int | _mMasuPointCntW | 
| 白の置ける場所座標一覧数  | |
| int | _mMasuBetCntW | 
| 白コマ数  | |
| int | _mMasuCnt | 
| 縦横マス数  | |
| int | _mMasuCntMax | 
| 縦横マス最大数  | |
| int | _mMasuHistCur | 
| 履歴現在位置  | |
| ReversiHistory [] | _mMasuHist | 
| 履歴  | |
リバーシクラス
Definition at line 30 of file MyReversi.cs.
| ReversiForm.MyReversi.MyReversi | ( | int | masuCnt, | 
| int | masuMax | ||
| ) | 
コンストラクタ
| [in] | int | masuCnt 縦横マス数 | 
| [in] | int | masuMax 縦横マス最大数 | 
Definition at line 168 of file MyReversi.cs.

| void ReversiForm.MyReversi.AnalysisReversi | ( | int | bPassEna, | 
| int | wPassEna | ||
| ) | 
解析を行う
| [in] | int | bPassEna 1=黒パス有効 | 
| [in] | int | wPassEna 1=白パス有効 | 
Definition at line 948 of file MyReversi.cs.
Referenced by ReversiForm.ReversiPlay.reset(), ReversiForm.ReversiPlay.reversiPlay(), and ReversiForm.ReversiPlay.reversiPlayCpu().


      
  | 
  private | 
解析を行う(黒)
Definition at line 670 of file MyReversi.cs.
Referenced by ReversiForm.MyReversi.AnalysisReversi().


      
  | 
  private | 
解析を行う(白)
Definition at line 808 of file MyReversi.cs.
Referenced by ReversiForm.MyReversi.AnalysisReversi().


| int ReversiForm.MyReversi.checkEdge | ( | int | color, | 
| int | y, | ||
| int | x | ||
| ) | 
角の隣に置いても角を取られないマス検索
| [in] | int | color コマ色 | 
| [in] | int | y マスのY座標 | 
| [in] | int | x マスのX座標 | 
Definition at line 1312 of file MyReversi.cs.
Referenced by ReversiForm.MyReversi.AnalysisReversiBlack(), ReversiForm.MyReversi.AnalysisReversiWhite(), and ReversiForm.ReversiPlay.reversiPlayCpu().


      
  | 
  private | 
パラメーター範囲チェック
| [in] | int | para チェックパラメーター | 
| [in] | int | min パラメーター最小値 | 
| [in] | int | max パラメーター最大値 | 
Definition at line 655 of file MyReversi.cs.
Referenced by ReversiForm.MyReversi.getHistory(), ReversiForm.MyReversi.getMasuSts(), ReversiForm.MyReversi.getMasuStsCnt(), ReversiForm.MyReversi.getMasuStsEna(), ReversiForm.MyReversi.getMasuStsOld(), ReversiForm.MyReversi.getPassEna(), ReversiForm.MyReversi.getPoint(), ReversiForm.MyReversi.getPointAnz(), and ReversiForm.MyReversi.setMasuCnt().

| MyReversi ReversiForm.MyReversi.Clone | ( | ) | 
| int ReversiForm.MyReversi.getBetCnt | ( | int | color | ) | 
コマ数取得
| [in] | int | color コマ色 | 
Definition at line 1215 of file MyReversi.cs.
Referenced by ReversiForm.ReversiPlay.execMessage(), ReversiForm.ReversiPlay.gameEndAnimExec(), ReversiForm.ReversiPlay.reversiPlayCpu(), and ReversiForm.ReversiPlay.reversiPlayEnd().

| int ReversiForm.MyReversi.getColorEna | ( | int | color | ) | 
指定色が現在置ける場所があるかチェック
| [in] | int | color コマ色 | 
Definition at line 1063 of file MyReversi.cs.
Referenced by ReversiForm.MyReversi.AnalysisReversiBlack(), ReversiForm.MyReversi.AnalysisReversiWhite(), ReversiForm.MyReversi.getGameEndSts(), ReversiForm.ReversiPlay.reversiPlay(), and ReversiForm.ReversiPlay.reversiPlaySub().


| int ReversiForm.MyReversi.getEdgeSideOne | ( | int | y, | 
| int | x | ||
| ) | 
指定座標が角の一つ手前か取得
| [in] | int | y Y座標 | 
| [in] | int | x X座標 | 
Definition at line 1454 of file MyReversi.cs.
Referenced by ReversiForm.MyReversi.AnalysisReversiBlack(), ReversiForm.MyReversi.AnalysisReversiWhite(), and ReversiForm.ReversiPlay.reversiPlayCpu().

| int ReversiForm.MyReversi.getEdgeSideThree | ( | int | y, | 
| int | x | ||
| ) | 
指定座標が角の三つ以上手前か取得
| [in] | int | y Y座標 | 
| [in] | int | x X座標 | 
Definition at line 1518 of file MyReversi.cs.
Referenced by ReversiForm.MyReversi.AnalysisReversiBlack(), ReversiForm.MyReversi.AnalysisReversiWhite(), and ReversiForm.ReversiPlay.reversiPlayCpu().

| int ReversiForm.MyReversi.getEdgeSideTwo | ( | int | y, | 
| int | x | ||
| ) | 
指定座標が角の二つ手前か取得
| [in] | int | y Y座標 | 
| [in] | int | x X座標 | 
Definition at line 1486 of file MyReversi.cs.
Referenced by ReversiForm.MyReversi.AnalysisReversiBlack(), ReversiForm.MyReversi.AnalysisReversiWhite(), and ReversiForm.ReversiPlay.reversiPlayCpu().

| int ReversiForm.MyReversi.getEdgeSideZero | ( | int | y, | 
| int | x | ||
| ) | 
指定座標が角か取得
| [in] | int | y Y座標 | 
| [in] | int | x X座標 | 
Definition at line 1430 of file MyReversi.cs.
Referenced by ReversiForm.MyReversi.AnalysisReversiBlack(), ReversiForm.MyReversi.AnalysisReversiWhite(), and ReversiForm.ReversiPlay.reversiPlayCpu().

| int ReversiForm.MyReversi.getGameEndSts | ( | ) | 
ゲーム終了かチェック
Definition at line 1085 of file MyReversi.cs.
Referenced by ReversiForm.ReversiPlay.reversiPlay(), and ReversiForm.ReversiPlay.reversiPlaySub().


| ReversiHistory ReversiForm.MyReversi.getHistory | ( | int | num | ) | 
履歴取得
| [in] | int | num ポイント | 
Definition at line 1256 of file MyReversi.cs.

| int ReversiForm.MyReversi.getHistoryCnt | ( | ) | 
| int ReversiForm.MyReversi.getMasuSts | ( | int | y, | 
| int | x | ||
| ) | 
マスステータスを取得
| [in] | int | y 取得するマスのY座標 | 
| [in] | int | x 取得するマスのX座標 | 
Definition at line 988 of file MyReversi.cs.
Referenced by ReversiForm.MyReversi.checkEdge(), ReversiForm.ReversiPlay.drawUpdate(), and ReversiForm.ReversiPlay.execMessage().


| int ReversiForm.MyReversi.getMasuStsCnt | ( | int | color, | 
| int | y, | ||
| int | x | ||
| ) | 
指定座標の獲得コマ数取得
| [in] | int | color コマ色 | 
| [in] | int | y マスのY座標 | 
| [in] | int | x マスのX座標 | 
Definition at line 1044 of file MyReversi.cs.
Referenced by ReversiForm.ReversiPlay.execMessage(), and ReversiForm.ReversiPlay.reversiPlayCpu().


| int ReversiForm.MyReversi.getMasuStsEna | ( | int | color, | 
| int | y, | ||
| int | x | ||
| ) | 
指定座標に指定色を置けるかチェック
| [in] | int | color コマ色 | 
| [in] | int | y マスのY座標 | 
| [in] | int | x マスのX座標 | 
Definition at line 1023 of file MyReversi.cs.
Referenced by ReversiForm.MyReversi.AnalysisReversiBlack(), ReversiForm.MyReversi.AnalysisReversiWhite(), ReversiForm.ReversiPlay.execMessage(), ReversiForm.MyReversi.getColorEna(), ReversiForm.ReversiPlay.reversiPlayCpu(), and ReversiForm.MyReversi.setMasuSts().


| int ReversiForm.MyReversi.getMasuStsOld | ( | int | y, | 
| int | x | ||
| ) | 
以前のマスステータスを取得
| [in] | int | y 取得するマスのY座標 | 
| [in] | int | x 取得するマスのX座標 | 
Definition at line 1005 of file MyReversi.cs.
Referenced by ReversiForm.ReversiPlay.drawUpdate().


| int ReversiForm.MyReversi.getPassEna | ( | int | color, | 
| int | y, | ||
| int | x | ||
| ) | 
パス判定
| [in] | int | color コマ色 | 
| [in] | int | y マスのY座標 | 
| [in] | int | x マスのX座標 | 
Definition at line 1237 of file MyReversi.cs.
Referenced by ReversiForm.ReversiPlay.reversiPlayCpu().


| ReversiPoint ReversiForm.MyReversi.getPoint | ( | int | color, | 
| int | num | ||
| ) | 
ポイント座標取得
| [in] | int | color コマ色 | 
| [in] | int | num ポイント | 
Definition at line 1179 of file MyReversi.cs.
Referenced by ReversiForm.ReversiPlay.reset(), and ReversiForm.ReversiPlay.reversiPlayCpu().


| ReversiAnz ReversiForm.MyReversi.getPointAnz | ( | int | color, | 
| int | y, | ||
| int | x | ||
| ) | 
ポイント座標解析取得
| [in] | int | color コマ色 | 
| [in] | int | y マスのY座標 | 
| [in] | int | x マスのX座標 | 
Definition at line 1291 of file MyReversi.cs.
Referenced by ReversiForm.ReversiPlay.reversiPlayCpu().


| int ReversiForm.MyReversi.getPointCnt | ( | int | color | ) | 
ポイント座標数取得
| [in] | int | color コマ色 | 
Definition at line 1198 of file MyReversi.cs.
Referenced by ReversiForm.MyReversi.AnalysisReversiBlack(), ReversiForm.MyReversi.AnalysisReversiWhite(), ReversiForm.ReversiPlay.reset(), and ReversiForm.ReversiPlay.reversiPlayCpu().

      
  | 
  private | 
各コマの置ける場所等のステータス作成
| [in] | int | color ステータスを作成するコマ | 
Definition at line 273 of file MyReversi.cs.
Referenced by ReversiForm.MyReversi.AnalysisReversi(), ReversiForm.MyReversi.AnalysisReversiBlack(), ReversiForm.MyReversi.AnalysisReversiWhite(), ReversiForm.MyReversi.reset(), and ReversiForm.MyReversi.setMasuSts().

| void ReversiForm.MyReversi.reset | ( | ) | 
リセット
Definition at line 243 of file MyReversi.cs.
Referenced by ReversiForm.MyReversi.MyReversi(), ReversiForm.ReversiPlay.reset(), and ReversiForm.MyReversi.setMasuCnt().


      
  | 
  private | 
コマをひっくり返す
| [in] | int | color ひっくり返す元コマ | 
| [in] | int | y ひっくり返す元コマのY座標 | 
| [in] | int | x ひっくり返す元コマのX座標 | 
Definition at line 479 of file MyReversi.cs.
Referenced by ReversiForm.MyReversi.AnalysisReversiBlack(), ReversiForm.MyReversi.AnalysisReversiWhite(), and ReversiForm.MyReversi.setMasuSts().

| int ReversiForm.MyReversi.setMasuCnt | ( | int | cnt | ) | 
マスの数変更
| [in] | int | cnt マスの数 | 
Definition at line 1154 of file MyReversi.cs.
Referenced by ReversiForm.ReversiPlay.reset().


| int ReversiForm.MyReversi.setMasuSts | ( | int | color, | 
| int | y, | ||
| int | x | ||
| ) | 
指定座標にコマを置く
| [in] | int | color コマ色 | 
| [in] | int | y マスのY座標 | 
| [in] | int | x マスのX座標 | 
Definition at line 1104 of file MyReversi.cs.
Referenced by ReversiForm.ReversiPlay.reset(), ReversiForm.ReversiPlay.reversiPlay(), and ReversiForm.ReversiPlay.reversiPlayCpu().


| int ReversiForm.MyReversi.setMasuStsForcibly | ( | int | color, | 
| int | y, | ||
| int | x | ||
| ) | 
指定座標にコマを強制的に置く
| [in] | int | color コマ色 | 
| [in] | int | y マスのY座標 | 
| [in] | int | x マスのX座標 | 
Definition at line 1136 of file MyReversi.cs.
Referenced by ReversiForm.ReversiPlay.gameEndAnimExec().

 1.8.13