TextBased Wordle in C under 25 Minutes Part 1 of 2
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=oO77gXCWCMo
It's great to see my previous video Text-Based Wordle in Python under 15 Minutes ( • Text-Based Wordle in Python under 15 ... ) got over 1.5k views in a month! • I've decided to create another version in C so for those of you who prefer to use C can also write your own Wordle game. If you want to take a look at the code you can get it from here: https://replit.com/@DrVictor/TexBased... • In this video you will learn how to write your own text-based version of the famous Wordle game in C under 25 minutes (20 minutes if you type really fast ;) ). To make things simpler, we replace the graphics with just text. • Here we use a variety of coding constructs to create this game, including file I/O, console I/O, while-loop, function, for-loop, and if-statements. We also use a coding construct unique to C (and C++) that allows it to handle program memory space directly. Believe it or not, many programs are created using these constructs as well! • 0:26 brief description of the game (sorry about audio overlay at the end) • 2:40 setting up the C code and include libraries • 4:15 load words from a file (file I/O, while-loop, memory allocation, C-string) and pick a random word • 14:25 keep track of guesses and if a correct one is made (while-loop) • 16:53 implement a step (console I/O, function) • Continue in Part 2 ( • Text-Based Wordle in C under 25 Minut... ) • The Wordle game has taken the internet by storm over the last few months. It has appeared in many people's social media, TV shows, and even crossword puzzles. And as of Feb 2022, NY Times has acquired this game from the creator for a “low-seven figures”. • The rules of the game are quite simple. A 5-letter word is chosen secretly. Then the player has 6 guesses. After each guess the player gets a clue: if the letter exists and is in the correct position, the letter is marked green; if the letter exists but is not in the correct position, the letter is marked yellow; and if the letter does not exist in the word, it is marked gray. • In this video I decided to make the game text-based so it's easier to create the interface. However, you can apply the same logic to create a graphical user interface using builders like GTK or Glade. However, GUI in C can be difficult! • if you enjoyed this video, please Like, Subscribe, and share it with your friends!
#############################
