asciigame

package
v0.10.42 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OutputResults

func OutputResults(result *sgc7game.PlayResult, paytables *sgc7game.PayTables)

func OutputScene

func OutputScene(str string, scene *sgc7game.GameScene, paytables *sgc7game.PayTables)

func StartGame

func StartGame(game sgc7game.IGame, stake *sgc7game.Stake, onResult FuncOnResult) error

Types

type FuncOnGetChar

type FuncOnGetChar func(k getch.KeyCode) bool

if return true, then break

type FuncOnResult

type FuncOnResult func(*sgc7game.PlayResult)

Jump to

Keyboard shortcuts

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