Hangman is a simple game that revolves around guessing a randomly chosen word.
The player gets to choose an alphabet every round. If the alphabet does not exist in the chosen word, the player will receive one strike. After receiving a certain number of strikes, the player loses the game. The player will win the game if he/she/it correctly guesses all the alphabets.
- Initialize this project with
npm
runningnpm init
- Install and configure
Jest
as a testing library - To run the tests, run
npm run test
- Write the code following the TDD (Test Driven Development) approach
- You are not allowed to write any production code unless it is to make a failing unit test pass.
- You are not allowed to write any more of a unit test than is sufficient to fail; and compilation failures are failures.
- You are not allowed to write any more production code than is sufficient to pass the one failing unit test.
Which means the workflow is:
- Write a failing test. Stop writing the test as soon as it fails.
- Write the minimal production code required for the test to pass. Stop writing any code once the test passes.
- Refactor the test code and the production code without altering the functionality. All tests should pass.
- A GitHub account
- A Local IDE or Editor
- Git Environment
- A http://toggl.com/ account and Chrome Extension
- A Netlify account
- Fork this repo into your own Github Account as a public Repository
- Create a Github Project connected to the repository
- Read carefully the task description
- Analyze the task, and create relative subtasks to track any requirement and knowledge needed
- Assign an estimate to each created subtask
- Define a deadline for the main task
- Provide a Flowchart within the project
- Where required, involve other members of the community to support you on the development
- When working on a task, move it to the In progress column and start tracking it
- After each task completion, move it to the "Done" column and stop tracking it
- After the main task completion, share the solution (e.g. your GitHub repo) over the community