game

package
v0.0.0-...-d5b4236 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

type Game struct {
	// contains filtered or unexported fields
}

func Init

func Init() *Game

func (*Game) Kawa

func (game *Game) Kawa() [4][]string

func (*Game) Kill

func (game *Game) Kill(player int, pieIndex int) *Game

func (*Game) Point

func (game *Game) Point() [4]int

func (*Game) Ripai

func (game *Game) Ripai(player int) *Game

func (*Game) RoundNumber

func (game *Game) RoundNumber() int

func (*Game) RoundWind

func (game *Game) RoundWind() int

func (*Game) Tehai

func (game *Game) Tehai() [4][]string

func (*Game) Tsumo

func (game *Game) Tsumo(player int) *Game

func (*Game) YamaLength

func (game *Game) YamaLength() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳