lesson01

package
v0.0.0-...-4b218a3 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: MIT Imports: 9 Imported by: 0

README

lesson01

初手投了きふわらべ(^~^)

Build

go build

Run

kifuwarabe-wcsc31 lesson01
usi

isready

usinewgame

go

quit

Documentation

Index

Constants

View Source
const (
	// Author - 囲碁思考エンジンの作者名だぜ☆(^~^)
	Author = "Satoshi Takahashi"
)

Variables

This section is empty.

Functions

func MainLoop

func MainLoop()

MainLoop - 開始。

Types

type EngineConf

type EngineConf struct {
	Profile Profile
}

EngineConf - Tomlファイル。

func LoadEngineConf

func LoadEngineConf(path string) (*EngineConf, error)

LoadEngineConf - ゲーム設定ファイルを読み込みます。

type Lesson01App

type Lesson01App struct {
	// Out - チャッター。 標準出力とロガーを一緒にしただけです。
	Out l.Chatter

	// Log - チャッター。 標準エラー出力とロガーを一緒にしただけです。
	Log l.StderrChatter

	// LogNotEcho - ロガー。
	LogNotEcho l.Logger

	// IsDebug - デバッグモード
	IsDebug bool
}

Lesson01App - グローバル変数。

var App Lesson01App

App - アプリケーション変数の宣言

type Profile

type Profile struct {
	Name   string
	Author string
}

Profile - Profile 区画。

Jump to

Keyboard shortcuts

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