rules

package
v0.0.0-...-7f16e2a Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All() []*rules_proto.Ruleset

func EMA

func EMA() *proto_rules.Ruleset

func Fishing

func Fishing() *proto_rules.Ruleset

func FishingRed

func FishingRed() *proto_rules.Ruleset

func JPMLA

func JPMLA() *proto_rules.Ruleset

func JPMLB

func JPMLB() *proto_rules.Ruleset

func SimpleUma

func SimpleUma(uma ...int64) *rules_proto.ComplexUma

func TenhouRed

func TenhouRed() *proto_rules.Ruleset

func Validate

func Validate(rules *proto_rules.Ruleset) error

func ValidateGame

func ValidateGame(rules *proto_rules.Game) error

func WRC

func WRC() *proto_rules.Ruleset

Types

type RulesServer

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

func (*RulesServer) GetRule

func (*RulesServer) Init

func (r *RulesServer) Init(input []*public_rules.Ruleset)

type Wrapper

type Wrapper interface {
	yaku.Rules
	score.Rules
}

func Wrap

func Wrap(x *proto_rules.Ruleset) Wrapper

Jump to

Keyboard shortcuts

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