te a “target word” by assigning a five-letter word to a string variable. Remember the user’s guess must be: exactly 5 letters long and contain only lowercase letters from a to z. have 6 guesses to get the word

EBK JAVA PROGRAMMING
8th Edition
ISBN:9781305480537
Author:FARRELL
Publisher:FARRELL
Chapter16: Graphics
Section: Chapter Questions
Problem 14RQ
icon
Related questions
Question

How do I create a wordle like game using C++?

Instructions are to create a “target word” by assigning a five-letter word to a string variable.

Remember the user’s guess must be:

  • exactly 5 letters long and
  • contain only lowercase letters from a to z.
  • have 6 guesses to get the word

Don’t worry about whether it is a valid 5-letter word at this point. Just compare it to the “target word” and report whether it is a match. 

Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Time complexity
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT