Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Command Line Wordle

A simple Python recreation of the popular word game Wordle, where players guess a 5-letter word in six attempts or fewer. This project is a beginner-friendly exercise in Python programming, focusing on logic, string manipulation, and user interaction.

How to Play

  1. The game selects a random 5-letter word as the secret word.
  2. The player has six attempts to guess the word.
  3. After each guess:
    • Letters that are correct and in the right position will be highlighted as green.
    • Letters that are correct but in the wrong position will be highlighted as yellow.
    • Incorrect letters will remain unhighlighted.
  4. The game ends when the player correctly guesses the word or runs out of attempts.

Features

  • Random selection of a 5-letter word from a word list.
  • Feedback on each guess with color-coded output for correct and misplaced letters.
  • Validation to ensure guesses are valid 5-letter words.
  • A clean and simple command-line interface.

Getting Started

Prerequisites

  • Python 3.x installed on your system.

Installation

   git clone https://github.com/yourusername/python-wordle.git
   cd python-wordle
   py wordle.py

About

A simple Python program which emulates the popular NYT game Wordle on the terminal.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages