Created a functional hangman game using Codex

So after recieving feedback from this community tried using Codex JavaScript Sandbox. The key is thinking step by step in the logic steps how does the game itself works. Unfortunately dont know how to share prompt inputs from the sandbox.