Type a word, press enter. Press the left arrow to delete. The word changes every time you click the green flag. If a letter is correct the box will turn green. If it's somewhere but not there it will be yellow. If it's not in the word it's black. You lose when you reach your last try. When you lose it tells you the answer. You win when you figure out the word.
All by me, my effort, and my knowledge.