Command / peglockClassics

Peglock

The feedback is exact. Your next guess has to be better.

Best on desktopClassicspuzzleclassicstrategy
Run from anywhere in CLI-Games$ peglockLaunch Peglock

Four hidden colors, six possibilities, ten guesses, and no room to waste a clue.

Enter a four-color guess using R, G, B, Y, O, and P. Filled feedback marks a correct color in the correct position; open feedback marks a correct color in the wrong position.

Use each row to reduce the search space, not just to try another combination. The terminal gives you the same clean evidence every turn.

Terminal view

What you will see

SIX COLORS, FOUR SLOTS, TEN GUESSESreplay
PEGLOCK — SHELLLIVE

>

GAME // PEGLOCK
????HIDDEN

Guess four colors at once, like rgby. The pegs answer; the board keeps score.

Capabilities

How this command behaves

  • Built for a solo session
  • Save and resume your game
  • Track your statistics and high scores
  • Runs in the browser; nothing to install
  • Playable entirely from the keyboard
Syntax

Start it from the prompt

Usage

peglock [savename]

Aliases

codebreaker

Ready when you are. The terminal will open directly into Peglock.

Run $ peglock