Documentation
¶
Index ¶
Constants ¶
View Source
const ( GREEN = "🟩" YELLOW = "🟨" GRAY = "⬛" )
Variables ¶
View Source
var VALID_ANSWERS = [...]string{}/* 2309 elements not displayed */
View Source
var VALID_GUESSES = [...]string{}/* 14843 elements not displayed */
from https://gist.github.com/dracos/dd0668f281e685bad51479e5acaadb93 removed a few (~10) swears and other words
Functions ¶
Types ¶
type Game ¶
type Game struct { ShowStats bool ShowOngoingStats bool ShowGuesses bool ShowIntro bool ShowAnswerOnLoss bool ShowWinText bool }
func (*Game) PlayGameWithAnswer ¶
func (g *Game) PlayGameWithAnswer(answer string, getGuess GuessDecider) Results
type GuessDecider ¶
Click to show internal directories.
Click to hide internal directories.