game

package
v0.0.0-...-5f38bd8 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2014 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

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

Game structure

func CreateGame

func CreateGame(puzzleWidth int, puzzleHeight int, renderer *io.Renderer, input *io.InputHandler) *Game

Game constructor

func (*Game) Puzzle

func (g *Game) Puzzle() *puzzle.Puzzle

Getters for printing the victory message

func (*Game) Run

func (g *Game) Run()

Game loop

func (*Game) Stats

func (g *Game) Stats() stats.Stats

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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