board

package
v0.0.0-...-984e2b4 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Board

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

Board represents the current state of tiles on the board and the position of the active tile

func NewBoard

func NewBoard(tileLanded chan tile.Tile,
	topReached chan tile.Tile,
	tilePicked chan tile.Tile,
	tileMoved chan rune,
	refreshRequested chan string,
	clockTicked chan int) *Board

NewBoard creates a board full of empty tiles

Jump to

Keyboard shortcuts

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