connectfour

package
v0.0.0-...-73daa5e Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cols = 7
View Source
var Rows = 6

Functions

This section is empty.

Types

type ConnectfourGame

type ConnectfourGame struct {
	games.BotsBasedGame
	// contains filtered or unexported fields
}

func NewGame

func NewGame() (*ConnectfourGame, error)

func (*ConnectfourGame) CheckArgs

func (g *ConnectfourGame) CheckArgs(args []string) error

func (*ConnectfourGame) GetAsciiOutput

func (g *ConnectfourGame) GetAsciiOutput() []byte

func (*ConnectfourGame) Name

func (g *ConnectfourGame) Name() string

func (*ConnectfourGame) Run

func (g *ConnectfourGame) Run(gameID string, steps chan games.GameStep) error

Jump to

Keyboard shortcuts

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