terminal

package
v0.0.0-...-6b51b5a Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runtime

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

Runtime is a termcap player for connect four.

func (*Runtime) Close

func (tf *Runtime) Close() error

Close cleans up the grid and terminal.

func (*Runtime) HeaderHandler

func (tf *Runtime) HeaderHandler(g *gogrid.Grid)

HeaderHandler displays info in the header section of the grid.

func (*Runtime) Init

func (tf *Runtime) Init(four *engine.Four) error

Init initialize the termcap grid.

func (*Runtime) Run

func (tf *Runtime) Run() error

Run starts the runtime.

Jump to

Keyboard shortcuts

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