- This project is based on a tutorial: https://www.udemy.com/course/the-complete-javascript-course
- UI provided by the tutorial and functionality developed by me.
- Random number is generated and question mark is changed to the number when it is guessed. [COMPLETE]
- Check button checks the input number to the Random number.
- Check that the number input is between 1 - 20. [COMPLETE]
- If correct then saves the high score. [COMPLETE]
- If Incorrect deducts 1 point from score. [COMPLETE]
- Clicking the again button:
- Hides random number and generates new random number. [COMPLETE]
- Clears number input box. [COMPLETE]
- Resets score back to 20. [COMPLETE]
- Saves high score. [COMPLETE]
- Write full tests for the game using Cypress.
- Set up Cypress.
- Write tests.
- Check all tests are working and complete.
-
Set up the application state.
-
Take an action.
-
Make an assertion about the resulting application state.
Actions:
- Visit a web page.
- Query for an element.
- Interact with that element.
- Assert about the content on the page.