Skip to main content

A fun package for video game recommendations, trivia, guessing, and luck prediction

Project description

Build Status

VideoGameDay

Description

A fun Python package for gamers! Get video game recommendations, trivia, guessing challenges, and a gaming luck meter to predict your gaming fate.

Team Members:

PyPI Package

Installation

  1. Install pip in local environment

  2. Install the package

    pip install VideoGameDay
    
  3. Import functions

    from VideoGameDay import *
    

Features

Examples in the python file: Example.py

This package includes four exciting gaming-related functions:

1. Game Guessing

This function is about to guess video games based on a given cryptic description. It compares the input description to a set of predefined hints and returns the closest matching game.

Matches the input description to known game hints using similarity comparison. Returns the closest matching game title. If no close match is found, selects a random game from a predefined list.

Usage Example:

Pass a cryptic game description as a string to get the best-matching game:

description = "A silent hero, a green outfit, a princess in distress."
print(guess_the_game(description))

Example Output:

The answer is The Legend of Zelda!

2. Gaming Luck Meter

This function predicts how lucky you will be in your gaming session today. It allows you to select a game genre and then generates a randomized luck percentage based on weighted probabilities, favoring higher luck outcomes.

Usage Example:

Run the function to select a game genre and receive your luck prediction:

🎮 Choose your game type today:
  [FPS] - First-Person Shooter
  [RPG] - Role-Playing Game
  [Strategy] - Strategy/Tactics
  [Racing] - Racing Game
  [Fighting] - Fighting Game
  [MMO] - Massively Multiplayer Online
  [Survival] - Survival Game
  [Horror] - Horror Game
  [Sandbox] - Sandbox/Open World
  [Puzzle] - Puzzle/Logic Game
Enter your choice: FPS

Example Output:

🎮 You're playing「First-Person Shooter」today! 
   Your gaming luck is「51%」.
🔫 Decent accuracy today, but expect some missed shots and a few annoying campers.

3. Recommend game

Run the function to select a game genre and discover a game to play:

What kind of games would you like to play?
0. RPG
1. Shooter
2. Horror
3. Platformer
4. Open-World/Action-Adventure
5. Puzzle
6. Sandbox
7. Random

Example Output:

You should play Elden Ring!

4. Funfacts about one game

By importing the package, you can get a random fun fact about certain game specified. Example usage:

from src.fun_facts import get_fun_facts

print(get_fun_facts("Elden Ring"))  # Works normally
print(get_fun_facts("Baldurs Gate 3"))  # Fuzzy match suggests "Baldur's Gate 3"
print(get_fun_facts("Doom"))  # No match found

Example output:

🎮 Fun fact about Elden Ring: One of the most iconic bosses, Malenia, has defeated millions of players worldwide.

Did you mean 'Baldur's Gate 3'?
🎮 Fun fact: Baldur's Gate 3 was in early access for nearly three years before its full release in 2023.

❌ Sorry, I don't have fun facts for 'Doom'. Try another game!

Link to this package on pypi

https://pypi.org/project/VideoGameDay/0.1.0/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

videogameday-0.1.2.tar.gz (29.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

videogameday-0.1.2-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file videogameday-0.1.2.tar.gz.

File metadata

  • Download URL: videogameday-0.1.2.tar.gz
  • Upload date:
  • Size: 29.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for videogameday-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a3726cb3fa37be74c50e4b77bb6430596bc58182c8f22555f7a13122d15d1c4e
MD5 c97f5f4deac3bd9c780eff3f6be98f14
BLAKE2b-256 45464c37885d4d726aab90a7b44dd5ec7f50a45ed3a70676b990bdb48432f576

See more details on using hashes here.

File details

Details for the file videogameday-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: videogameday-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 27.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for videogameday-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0cbe4d754d51e8136ca11ba03b70492a945aa383815a67612d0f490b24114103
MD5 356a9ae7df19de7b88bd1ac9bd85cca0
BLAKE2b-256 b39e7cf68630456427227c25c095e5d5471dbd220b35663618d88e9295ecd53f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page