Implement the logic of the hangman game using functional reactive programming.
Hangman is a simple word guessing game.
Functional Reactive Programming is a way to write interactive programs. It differs from the usual perspective in that instead of saying "when the button is pressed increment the counter", you write "the value of the counter is the sum of the number of times the button is pressed."
Implement the basic logic behind hangman using functional reactive programming. You'll need to install an FRP library for this, this will be described in the language/track specific files of the exercise.
This exercise has been adapted to not required any third party library regarding functional reactive programming so it can work with Powershell.
Please ignore the instructions regardings FRP library above, information for the exercise is included in the Hangman.ps1
file and the test suite.
Sign up to Exercism to learn and master PowerShell with 125 exercises, and real human mentoring, all for free.