Skip to content

aarush-narang/wordle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordle Clone

Created using Flask and VanillaJS, this clone includes not only english words but has the option to switch to spanish words and food-related words

Installation

Use the package manager pip to install the following dependencies

  • flask

Additionally, create a .env file in the root directory with the following variables

  • DOMAIN
    • your local IP address.
  • PORT
    • the port you want to use.

Then, change your directory to the /wordle/src directory. To start, type

python app.py

And you're finished!

How to play

If you have ever played wordle before, this is the exact same! Just guess any 5-letter word and if any letter turns green, that letter is in the word and in the correct spot. If any letter turns yellow, that letter is in the word but not in the correct spot. If any letter turns grey, that letter is not in the word.



To view your statistics, click the statistics icon in the top right Statistics Icon

To change your word mode, click the settings icon in the top right Settings Icon, go to the Switch Word Theme setting Switch Word Theme Setting and click on the dropdown.

Additionally

If you would like to add more languages or modes

  1. Add your mode to the SUPPORTED_MODES constant

    Image of SUPPORTED_MODES constant

  2. Add your words list to the /wordle/src/static/words directory

    Image of words list directory

  3. Add your option to the HTML

    Add words option to the HTML page