Logo
  • Home
  • Projects
  • Email
  • LinkedIn
  • Github
RUIZ - Data Analyst

Py.word Game

Used
Tools:PythonAPI
Project
Type:E2EGame Logic
Relevant Link
https://github.com/r-uiz/py.word-game
Type
Personal

Back to Homepage

icon
Detailed Reports

Project Overview & Technical Documentation:

py.word-game

r-uiz ⋅ 2 years ago

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.
image
image
  • 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!

image

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:

  1. Password must be at least 5 characters long (configurable).
  2. Password has a 50 character limit (configurable).
  3. Password must include a number.
  4. Password must contain a special character and no whitespace.
  5. Password must contain an uppercase letter.
  6. The digits in your password must add up to 69 (configurable).
  7. Password must have the date today in YYYY-MM-DD format.
  8. Password must include at least one of a randomly generated Pokémon's type.
  9. Password must include the regenerating code in the captcha.png/captcha.wav in the same directory as this program.
  10. Password must have the flag emoji of a country whose name/country code starts with the letter P.
  11. Password must include the month we're currently in.
  12. Password must have a food emoji.
  13. 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
image

Check out the project’s github page to see more technical documentation!

icon
Detailed Reports

Project Overview & Technical Documentation:

py.word-game

r-uiz ⋅ 2 years ago

Logo

© 2024 r._.uiz

GitHubLinkedInInstagram