swisstools

package module
v0.0.0-...-9011e5d Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: AGPL-3.0 Imports: 4 Imported by: 1

README

swisstools

Swisstools is a library for running swiss style tournaments.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Player

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

type Round

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

type Tournament

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

func NewTournament

func NewTournament() Tournament

func (*Tournament) AddPlayer

func (t *Tournament) AddPlayer(name string)

func (*Tournament) FormatPlayers

func (t *Tournament) FormatPlayers(w io.Writer)

func (*Tournament) GetPairings

func (t *Tournament) GetPairings() [][2]int

func (*Tournament) NextRound

func (t *Tournament) NextRound()

func (*Tournament) Pair

func (t *Tournament) Pair()

Jump to

Keyboard shortcuts

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