grok

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 27 Imported by: 1

Documentation

Index

Constants

View Source
const GROKOG = "a3e6a008d760c7b98471f27402f5539cafdfffdde2311174604023a7903a08dc"
View Source
const GROKSCID = "c140bf05a20fc91e0f511528e534a1cd8d7e457197e0391ec723783df0c8bdc9"

Variables

This section is empty.

Functions

func Cancel added in v0.1.1

func Cancel(scid string) (tx string)

Cancel a game if no players have joined

func DreamsMenuIntro

func DreamsMenuIntro() (entries map[string][]string)

Menu intro for dReams app

func Grokked

func Grokked(scid string) (tx string)

Grok player for not paying attention

func Join

func Join(scid string, amt uint64) (tx string)

Players join a set game

func LayoutAllItems

func LayoutAllItems(d *dreams.AppObject) fyne.CanvasObject

func Pass

func Pass(scid string) (tx string)

Pass the Grok to another player

func Refund

func Refund(scid string, p uint64) (tx string)

Grok the SC owner and payout all players

func RunGrokker

func RunGrokker()

Service to automate owner actions for Grokked game

func Set

func Set(scid string, amt, dep, dur uint64) (tx string)

Owner sets entry amount and pass duration

func Start

func Start(scid string) (tx string)

Owner starts the game, must have 3+ players

func UpdateGrokked added in v0.1.1

func UpdateGrokked(scid string, version, update uint64, d *dreams.AppObject) (tx string)

Upload a new Grokked SC

func UploadContract

func UploadContract(owner bool) (tx string)

Upload a new Grokked SC

func Version

func Version() semver.Version

Check grok package version

func Win

func Win(scid string, a uint64) (tx string)

Win scenario when one player left

Types

This section is empty.

Jump to

Keyboard shortcuts

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