we are testing creating a new web api return in .Net 6 to return a simple wordle repository
The project is written in C# .Net 6 running WEB asp.net web api
How do you do a Wordle?
Wordle is simple: You have six chances to guess the day's secret five-letter word. Type in a word as a guess, and the game tells you which letters are or aren't in the word. The aim is to figure out the secret word with the fewest guesses.
working in WordleController.cs file
the function should not be get
the function should not be get
- this will be used in allow only 6 guess
- please make sure that you return a better object then "01020"
- Cache example in WordleRepository
- function here to allow only 6 guess - using cache by customer
- so you need to store the number of guess
- the function should get customer identifier (could be anything)
Examples in the simple http get