Py.word Game - Password Creation and Validation Game
Welcome to Py.word Game, a Python-based password creation and validation game! This project was created as a submission by r._.uiz for the CS50P course offered by Harvard University, heavily inspired by neal.fun's version.

- Author: r._.uiz
- GitHub Profile: r._.uiz on GitHub
Project Overview
Trying to up your account security? Look no further. These curious rules for a password will surely be enough. Heavily inspired by The Password Game by neal.fun, Py.word Game is a password creation and validation game that challenges users to create a secure password while following unique a set of rules.
Get Started
The game is easy to set up and play:
1.Installation: Simply clone the repository, install necessary libraries, and you’re ready to start.
2.Playing the Game: Follow on-screen instructions on your terminal to create passwords that meet all specified rules. Successful completion will be celebrated with a message of victory!
Game Rules
Don't ruin the fun! Play the game first before reading this section ;) Head on over to the technical documentation to see how to play.
The Py.word Game enforces the following requirements for a valid password:
- Password must be at least
5
characters long (configurable). - Password has a
50
character limit (configurable). - Password must include a
number
. - Password must contain a
special
character andno whitespace
. - Password must contain an
uppercase
letter. - The digits in your password must add up to
69
(configurable). - Password must have the date today in
YYYY-MM-DD
format. - Password must include at least one of a randomly generated Pokémon's
type
. - Password must include the regenerating code in the
captcha.png
/captcha.wav
in the same directory as this program. - Password must have the
flag emoji
of a country whose name/country code starts with the letterP
. - Password must include the
month
we're currently in. - Password must have a
food emoji
. - Password must include the current time in
HH:MM
military time format.
If the password doesn't follow a rule, the user will be prompted to try again until all requirements are met, or until the user quits the program.
What Can Be Improved
Someday additions:
- A web app or a proper GUI
- Add arguments to disable colored text, edit configurable rules, etc.
- More challenging rules!
- Unit test file for API calls
Check out the project’s github page to see more technical documentation!