conv

package
v0.0.0-...-0992052 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2017 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMoveGivUp

func CreateMoveGivUp(flags [9]*flag.Flag, mover int) *game.Move

CreateMoveGivUp creates a give up move

func DbFile

func DbFile(src, dst string) (err error)

DbFile covert a old game bolt database file.

func Game

func Game(oldGame *bold.Game, gameTime time.Time) (hist *game.Hist)

Game convert a old game game history.

func GameFile

func GameFile(src, dest string) (err error)

GameFile convert a battleline game file to Hist file

func Move

func Move(oldMove bold.Move, mover, cardix, dealtix, turnState int, claimFailExs [9][]int) (newMove *game.Move)

Move converts old move to new move.

Types

This section is empty.

Jump to

Keyboard shortcuts

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