package
Version:
v0.0.0-...-f740d71
Opens a new window with list of versions in this module.
Published: Jan 15, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func New(size int) *board
type Board interface {
Rows() [][]Cell
HasSpace() bool
Moved() bool
GenerateCell()
Left()
Right()
Up()
Down()
}
const (
Empty CellSize = 1 + iota
CS2
CS4
CS8
CS16
CS32
CS64
CS128
CS256
CS512
CS1024
CS2048
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.