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.1.tar.gz (45.2 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.1-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: videogameday-0.1.1.tar.gz
  • Upload date:
  • Size: 45.2 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.1.tar.gz
Algorithm Hash digest
SHA256 69871a4d0a4fe6b2e7907558b2668261d85a93fd19e2ed146cce5013a2120747
MD5 6eb26d11269a41b27dc7aa36a8e62f03
BLAKE2b-256 619c1e5e20737f14060b6681fc1158341c561f3972564b84b3c00384d1cfe477

See more details on using hashes here.

File details

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

File metadata

  • Download URL: videogameday-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 28.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2bd83ea67368d821e5a55842c1ec45275b4aca65a742721ffa3d3654ef695be5
MD5 f941e20190193daec5baa77614ee1cea
BLAKE2b-256 e1fd1430cd8aeae3adeb276ce61355100a1832892881dec6dbd92f0a88c709fa

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