Wordle is an interesting word game available on the official website of New York Times. This repository contains the code for the clone I have created of Wordle. The code base is totally in python and the module used in creating this clone of Wordle is pygame. Pygame is a cross-platform set of Python modules designed for writing video games.
You just need to download main.py file into your local machine and run it.
- You are given 5 blank boxes and 6 chances to make a guess about a word with five letters and fill those five boxes with letters forming a meaningful word.
- The words not having a meaning are not accepted.
- If the word you guessed is totally right, you win the game.
- If a letter from your guessed word is not present in the word then the colour of the box will be Black.
- If a letter is present in the word but not at the correct position then the colour of the box will be Yellow.
- If a letter is present in the word and is in the correct place then the colour of the box will be Green.
- If all the the boxes are green, it means that you won the game.
- If you are not able to guess the word even after 6 tries, the word is displayed on the screen.
So let's start the game and make a guess!