Tracks
/
C#
C#
/
Exercises
/
Hangman
Hangman

Hangman

Hard

Instructions

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 requires you to work with Reactive extension. For more information, see this page .

In reactive programming it's easier to communicate intentions in marble diagrams. Tests are augmented with marble diagram information. Text format is parsable by this tool .

Edit via GitHub The link opens in a new window or tab
C# Exercism

Ready to start Hangman?

Sign up to Exercism to learn and master C# with 62 concepts, 165 exercises, and real human mentoring, all for free.