Skip to content

dbrougham/tdd-ex-micro1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hangman Extreme

An exercise for adding micro-tests after code is written.

Hangman

Get the code:

git clone https://github.com/pete-the-programmer/tdd-ex-micro1

Start by testing simple, yet interesting behaviours, and progressively get more complex.

For example:

  1. How many letters need to be displayed?
  2. Is there a limit to the number of letters?
  3. What happens when the user makes a guess?
  4. What happens when the user guesses the same letter twice?
  5. How can we tell between an incorrect and correct guess?
  6. What are the limits on numbers of guesses?
  7. How does the user win or lose?

About

Hangman Extreme!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%