Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aarush-narang/wordle

wordle with multiple languages (en, es, and more coming soon)
https://github.com/aarush-narang/wordle

css django flask html javascript python vercel

Last synced: 18 days ago
JSON representation

wordle with multiple languages (en, es, and more coming soon)

Awesome Lists containing this project

README

        

# 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](https://pip.pypa.io/en/stable/) 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

```bash
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](./assets/ranking_icon.png)

To change your word mode, click the settings icon in the top right ![Settings Icon](./assets/settings_icon.png), go to the `Switch Word Theme` setting ![Switch Word Theme Setting](./assets/change_mode.png) 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](./assets/add_to_backend_supported_modes.png)

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

![Image of words list directory](./assets/add_words_list_file.png)

3. Add your option to the HTML

![Add words option to the HTML page](./assets//add_modes_html.gif)