A reactjs based word game
RULES
- The main aim is to figure out a randomly generated four letter word.
- The player enters 4 letter word until he gets the right one
- If the word entered contains a letter that is also there in the solution, the system returns a 'C'
- If the word entered contains a letter that is in the same position as it is in the solution, the system returns a 'B'
- The system returns the total count of B's and C's on submitting the word
- ex: SOLUTION--> car ENTERED WORD--> rat RETURN--> 1B (a) 1C (r)
- Game ends when the player figures out the word