game

package
v0.0.0-...-938fafe Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(c *tb.Callback, db *sql.DB)

TODO function needs to return to tell if a game is current

func GetParticipants

func GetParticipants(c *tb.Callback, db *sql.DB) []string

func RegisterParticipant

func RegisterParticipant(c *tb.Callback, db *sql.DB) error

TODO Rewrite Registration

func RemoveParticipant

func RemoveParticipant(c *tb.Callback, db *sql.DB) error

Removes user from active match

func Start

func Start(b *tb.Bot, c *tb.Callback, db *sql.DB) error

Picks a word at to be played

Types

This section is empty.

Jump to

Keyboard shortcuts

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