Versions in this module Expand all Collapse all v0 v0.1.0 Apr 26, 2023 Changes in this version + var Board = donburi.NewComponentType[BoardState]() + var Configuration = donburi.NewComponentType[ConfigurationData](ConfigurationData{ ... }) + var PositionComponent = donburi.NewComponentType[Position]() + type BoardState struct + HEnemies []Position + HGroup []Position + HLiberties []Position + JustPassed bool + LastMove *Position + PlayerTurn Turn + Points [2]float32 + Stones []Oponent + type ConfigurationData struct + AIEnabled bool + Assets fs.FS + BoardSize int + DarkMode bool + type Oponent int + const BLACK + const EMPTY + const WHITE + type Position image.Point + type Turn bool + const BLACK_TURN + const WHITE_TURN + func (pt *Turn) Toggle() + func (pt Turn) String() string