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

VideoGameDay

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!

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.4.tar.gz (28.8 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.4-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: videogameday-0.1.4.tar.gz
  • Upload date:
  • Size: 28.8 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.4.tar.gz
Algorithm Hash digest
SHA256 7cf98c460d23895ef0c2e8a845aba783ed4efb591ed0492422aa83c7fca971b7
MD5 a00fb7aadad738ca5920d44d1bc8390f
BLAKE2b-256 567e9b06fcc5f6ac8ccfba416a1f9e189adf6767b50dace0120e11f4666c3702

See more details on using hashes here.

File details

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

File metadata

  • Download URL: videogameday-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4b3c26dc2ac6609f2b51160299d14810aef3753cc9c7ccb82bb1c8ae35e09f89
MD5 438b2f9e3a6d12d9d07197d2417126ad
BLAKE2b-256 d4c8b4ee6a2087c528e846df8b82abb59d5ff7ea83c0c80382d3f2474a008ec2

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