DEV Community

Carter Wright
Carter Wright

Posted on

My Game Recommendation Program

Program Showcase

Code File Explanation

Data File

  • The Data File is just the data set I hand made by researching different game categories and popular games within them.

Tree Structure

  • The Data structure I used to store the data was a very simple tree that has one method and that is add child to node, and two attributes value (what the node stores) and children (a list, the nodes children).

Main File

  • The main file where the execution happens. not a lot of code is here just calling the main caller function.

Functions File

  • This is where all the magic happens, The functions file. The functions file contains a lot of the code that is used in this for example. this is where the initialization of the tree objects to store all of the data in. Most of the code in this file is doc stringed so I won't go into what each function does if your curious go check it out.

Git Hub Repository Link: here

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay