Here is the simple implementation of GuessTheWord game on python
from collections import Counter
def GuessTheWord(word: str):
letters = Counter(word.lower()).items()
letters = sorted(letters)
if not letters[0][0].strip():
letters = letters[1:]
return letters
GuessTheWord("Projection")
[('c', 1),
('e', 1),
('i', 1),
('j', 1),
('n', 1),
('o', 2),
('p', 1),
('r', 1),
('t', 1)]