Skip to content
/ wordle-py Public

A wordle clone made in python for use in the terminal

Notifications You must be signed in to change notification settings

wzid/wordle-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wordle-py

Wordle clone written in python.

This program is a terminal based implementation of the New York Times game, Wordle, written in Python.

The user has 6 guesses to guess the word. After each guess the program will display the letters in the word that are correct, incorrect, or in the wrong position.

  • Green letter: correct letter in the correct position
  • Yellow letter: correct letter in the wrong position
  • Gray letter: incorrect letter

Screenshot of my terminal displaying an attempt to solve the wordle

Installation

  1. Clone the repository
git clone https://github.com/wzid/wordle-py.git
  1. Change directory to the repository
cd wordle-py
  1. Install the required packages
pip install -r requirements.txt
  1. Run the program
python main.py

Implementation

This program uses a list of 3103 five-letter words and chooses a new word based on the number of days between the current date and April 8th, 2024.

I am using the blessed tui library to create the terminal interface.

About

A wordle clone made in python for use in the terminal

Topics

Resources

Stars

Watchers

Forks

Languages