phase

package
v0.0.0-...-371eef5 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlipColorString

func FlipColorString(color string) string

FlipColorString - 色を反転

func ToString

func ToString(ph Phase) string

ToString - 色を大文字アルファベットに変換

Types

type Phase

type Phase int

Phase - 黒手番、または白手番。

const (
	// None - 開始。
	None Phase = iota
	// Black - 自分のアカウント名を入力しました
	Black
	// White - 自分のパスワードを入力し、そしてプロンプトを待っています
	White
)

state

func ToNum

func ToNum(color string) Phase

ToNum - アルファベットを色に変換

Jump to

Keyboard shortcuts

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