tiles

package
v0.0.0-...-83b3ea5 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeWeight

func ChangeWeight(possibility []Possibility, value, weight int)

ChangeWeight change le poids de ListPossibility en fonction d'une valeur et d'un poids a rajouté

Types

type Possibility

type Possibility struct {
	Possibility int `json:"P"`
	Weight      int `json:"W"`
}

type Tiles

type Tiles struct {
	Types           int           `json:"t"`
	Entropy         int           `json:"E"`
	ListPossibility []Possibility `json:"TE"`
}

Tiles est utilisée dans le but de la génération

Jump to

Keyboard shortcuts

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