kifuwarabe-gogo

command module
v0.0.0-...-50f0772 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2022 License: MIT Imports: 13 Imported by: 0

README

kifuwarabe-gogo

コンピューター囲碁☆(^~^)
https://github.com/bleu48/GoGo を元に練習☆(^~^)!

大会版はこっち(^~^) 👉 きふわらべUEC13

Overview

+----------------------------------------------------------------------+
| 📂presenter                                                          | 下層のライブラリに依存することがあります
+----------------------------------------------------------------------+

+--------------+--------------+----------+----------+    +-------------+
| 📂coding_obj | 📂config_obj | 📂input | 📂output |    | 📂entities | 上層または横に対しては 独立したパッケージ
+--------------+--------------+----------+----------+    +-------------+

+----------------------------------------------------------------------+
| fmt, os, math      ...                                               | Pythonの標準ライブラリ
|          math/rand                                                   |
+----------------------------------------------------------------------+

Example - Lesson01

盤を表示して気分を盛り上げます

# 実行ファイルを作成するために、以下のコマンドを打鍵してください。
# ソースコードを改造したあとだけで構いません
go build
# kifuwarabe-gogo.exe ファイルが作成されました。

# コンピューター囲碁エンジンを実行するために、以下の実行ファイルのステム(拡張子を省いた名前)を打鍵してください。
kifuwarabe-gogo Lesson01

Example - Lesson02

石を取るデモです

kifuwarabe-gogo Lesson02

Example - Lesson03

ランダム打ちで1局終わらせます(9路盤を想定)

kifuwarabe-gogo Lesson03

Example - Lesson04

kifuwarabe-gogo Lesson04

Example - Lesson05

kifuwarabe-gogo Lesson05

Example - Lesson06

kifuwarabe-gogo Lesson06

Example - Lesson07

kifuwarabe-gogo Lesson07

Example - Lesson08

kifuwarabe-gogo Lesson08

Example - Lesson09 - SelfPlay

Run

go build

kifuwarabe-gogo Lesson09
# しばらく待つと自動で開始します

Example - Lesson09a

Run

go build

kifuwarabe-gogo Lesson09a

Input: (Example)

genmove black
# 少し時間がかかります

genmove white
# 少し時間がかかります

quit

Example - Test

kifuwarabe-gogo Test

Memorandom

go build -ldflags "-s -w" でデバッグ情報を外せる?
高速化した気はしないが……。

📖 installation
📖 References
📖 Board

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
標準出力とロガーを一緒にしただけのもの
標準出力とロガーを一緒にしただけのもの

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL