goxutil

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2018 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FieldInp

func FieldInp(b *gox.Board) (row, col int, err error)

FieldInp blaah with low level shit hacks

func InputLoop

func InputLoop(msg string, s ...string) (string, error)

InputLoop prints a message and gives the user a choice from a string. If the user enters "q" it interrups the program.

func PrintWinDraw

func PrintWinDraw(b *gox.Board) bool

PrintWinDraw returns true if win or draw happend and prints this on screen.

Types

This section is empty.

Jump to

Keyboard shortcuts

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