gowordle

command module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: MIT Imports: 10 Imported by: 0

README ΒΆ

gowordle

Build Status Contributors Activity

gowordle is a Wordle clone written in Go for the terminal.

How to run:

docker run --rm -it ghcr.io/benfrisbie/gowordle

Table of Contents

How to Play

Wordle is a game where you guess words in hopes of determining the final solution. After guessing a word, hints are given based on the letters positions in your guess compared to the actual solution. These hints should be used to determine yor next guess.

Hints

The hints are color coded:

color description
🟒 letter is in solution and in correct position
🟑 letter is in solution, but in wrong position
πŸ”΄ letter is not in solution

Example

example.png As you can see the final solution is along. Let's walk through the example one guess at a time:

  • guess #1 = rates
    • 🟑 - a is in solution, but in wrong position
    • πŸ”΄ - r,t,e, and s are not in solution
  • guess #2 = ample
    • 🟒 - a is in correct position
    • 🟑 - l is in solution, but in wrong position
    • πŸ”΄ - m,p, and e are not in solution
  • guess #3 = aloud
    • 🟒 - a, l, o are in correct positions
    • πŸ”΄ - u and d are not in solution
  • guess #4 = alone
    • 🟒 - a, l, o, n are in correct positions
    • πŸ”΄ - e is not in solution
  • guess #5 = along
    • 🟒 - a, l, o, n, g are in correct positions

Usage

docker run --rm -it ghcr.io/benfrisbie/gowordle [OPTIONS]

Options

Name Description
--background_color use background color for hints instead of text color
--debug enable debug logging
--max_guesses max number of guesses
--seed random seed to use

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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