melichallenge

package module
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: May 29, 2015 License: MIT Imports: 2 Imported by: 0

README

Meli Challenge

Build Status Release License

Written in Go (golang)

1 Install go: http://golang.org/dl/

2 Get the package: go get github.com/xzip/melichallenge

3 In the package folder, run the tests: go test

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MeliOffice

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

func New added in v1.0.5

func New(me, coffee, candy Point, chics, boss []Point, officeWidth int, officeHeight int) *MeliOffice

func (*MeliOffice) ShortestPath

func (o *MeliOffice) ShortestPath() string

type Point

type Point struct {
	X, Y int
}

func (*Point) Equal

func (p *Point) Equal(point Point) bool

func (*Point) String

func (p *Point) String() string

Jump to

Keyboard shortcuts

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