[][src]Module kifuwarabe_tic_tac_toe::look_and_model

Display and data structure.
表示と、データ構造です。

Structs

Position

A record of the game used to suspend or resume it.
ゲームを中断したり、再開したりするときに使うゲームの記録です。

Search

Search.
探索部。

Enums

GameResult

It is a game that can be fully analyzed, so please use the result instead of the evaluation value.
完全解析できるゲームなので、評価値ではなく結果を使います。

Piece

Circle and cross mark. It corresponds to the stone in Go.
丸と十字の印です。囲碁で言うところの石に当たります。

SearchDirection

Proceeding from the root toward the leaves is called a forward search. The process of returning from the leaves toward the root is called backward search. 根から葉に向かって進んでいることを前向き探索と呼びます。 葉から根に戻っていることを後ろ向き探索と呼びます。

Constants

BOARD_LEN

The addresses of the squares start with 1 and end with 9.
The array starts at 0, so the size is 10.
マスの番地は1から始まり9で終わります。
配列は 0 から始まるのでサイズは10です。

SQUARES_NUM

The maximum number of stones that can be placed on the board.
Since there are only 9 squares, it will be 9.
盤上に置ける石の最大数。
9マスしかないから9です。