Git Product home page Git Product logo

si507_final's Introduction

SI 507 Final Project - Game Explorer

run the program: python3 game-explorer Required Python package: import requests, json, datetime, os

Interaction

Users can select games based on platforms, genres, themes, and release years. For selected games, detailed information is displayed. if it’s available on PC, users can further choose to whether search the game information on Steam by Steam API.

API keys

IGDB: client_id, client_secret, included in py file Steam storefront API: no authentication

Data structure

  • The data is organized into a tree structure. The root node represents the initial query for game recommendations. Subsequent levels represent platforms, genres, themes, and release years.The tree is dynamically generated based on user selections at each step, using the data fetched from the IGDB API and Steam API.
  • Parent and Children Node: Each parent node in this tree represents a category or a group of games. For example, a parent node might represent a specific gaming platform like "PlayStation 4" or a game genre like "Action." Under each parent node, there are children nodes, representing subcategories or specific elements within the parent category. For instance, under a parent node of "PlayStation 4," the children nodes might be different genres available on that platform, like "Adventure," "Racing," etc. Further, under a genre node like "Adventure," there might be nodes for different themes or release years.
  • Data: Each node can hold data. In the case of game nodes, this data could include the game's name, its genre, the platforms it's available on, and other relevant information.
  • Hierarchy:
    1. gaming platforms (PlayStation, Xbox, PC, etc.).
    2. genres (Action, Puzzle, Shooter, etc.).
    3. themes (Sci-fi, Fantasy, Horror, etc.).
    4. releasng years(available within recent 10 years)
    5. Finally, each game is represented as a node containing its details.
  • files:
    • game_explorer.py: the project py file that constructs your graphs or trees from the stored data using Node class
    • tree_structure.json: the tree (If you want to regenerate it, you can uncommet the several lines in main of the project py file to export serialized_tree.
    • read_tree.py: a stand alone python file that reads the json of your graphs or trees.

si507_final's People

Contributors

sylviazhang16 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.