Password game
Jump to navigation
Jump to search
Password game is a program form by User:Hammy inspired by the password game
How to implement
Take input from user and check these:
- if it contains capital letters
- if it contains a number
- if it contains #, @ or ?
- if it has more than 5 numbers
- if the sum of all the numbers is less than or equal to 10
If it follows these criteria, print "You have successfully signed in."
If it doesn't, print a different one each time:
- If none are followed, "Password is too weak."
- If one is followed, "Password is weak".
- If 2, "Password is kinda weak"
- If 3, "Alright the password is getting stronger"
- If 4, "Alright you just need a bit stronger"