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

Uploaded Python 3

File details

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

File metadata

  • Download URL: videogameday-0.1.3.tar.gz
  • Upload date:
  • Size: 28.7 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.3.tar.gz
Algorithm Hash digest
SHA256 73bbfb19775aff127ed72224d797de8d8769f2599b32d3ef35296ab506699613
MD5 9b342cd05efa67a97566e1c82ed81f5e
BLAKE2b-256 df9868bfa0ee9f45e8cc94285ca07c57be93579ae3cc2709593ea1f7b4a0eb4a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: videogameday-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 94dfd5bee80a55c040fb31704765e006294ee4b3d6f1773c30a457e7f5412297
MD5 0cff656e0b734c5d8df7108d6f5ab2c1
BLAKE2b-256 baf9950692a3af874c99d2ef15a7827886fc85390db1cfb63d1edb71270ae533

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