Spaces:
No application file
No application file
game recommender
Browse files- Webapp/app.py +31 -0
- Webapp/static/home.css +170 -0
- Webapp/templates/home.html +83 -0
- dockerfile +19 -0
- model/Maindf.pkl +3 -0
- model/freegameRecommender.ipynb +780 -0
- model/homedf.pkl +3 -0
- requirements.txt +39 -0
Webapp/app.py
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from flask import Flask,render_template,request
|
| 2 |
+
import pickle
|
| 3 |
+
|
| 4 |
+
app = Flask(__name__, template_folder='templates', static_folder='static', static_url_path='/')
|
| 5 |
+
|
| 6 |
+
with open('model/homedf.pkl', 'rb') as file:
|
| 7 |
+
homedf = pickle.load(file)
|
| 8 |
+
with open('model/Maindf.pkl', 'rb') as file:
|
| 9 |
+
Maindf = pickle.load(file)
|
| 10 |
+
|
| 11 |
+
@app.route('/')
|
| 12 |
+
def home():
|
| 13 |
+
return render_template("home.html",
|
| 14 |
+
title = list(homedf["title"].values),
|
| 15 |
+
image = list(homedf["thumbnail"].values),
|
| 16 |
+
short_description = list(homedf["short_description"].values),
|
| 17 |
+
game_url = list(homedf["game_url"].values),
|
| 18 |
+
genre = list(homedf["genre"].values),
|
| 19 |
+
platform = list(homedf["platform"].values),
|
| 20 |
+
publisher = list(homedf["publisher"].values),
|
| 21 |
+
developer = list(homedf["developer"].values),
|
| 22 |
+
release_date = list(homedf["release_date"].values),
|
| 23 |
+
freetogame_profile_url = list(homedf["freetogame_profile_url"].values),
|
| 24 |
+
)
|
| 25 |
+
|
| 26 |
+
@app.route('/genre')
|
| 27 |
+
def genre():
|
| 28 |
+
pass
|
| 29 |
+
|
| 30 |
+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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
html {
|
| 2 |
+
scroll-behavior: smooth;
|
| 3 |
+
}
|
| 4 |
+
|
| 5 |
+
body {
|
| 6 |
+
background-color: rgb(36, 41, 46);
|
| 7 |
+
margin: 0;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
a:link {
|
| 11 |
+
color: white;
|
| 12 |
+
/* Unvisited link */
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
a:visited {
|
| 16 |
+
color: white;
|
| 17 |
+
/* Visited link */
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
a:hover {
|
| 21 |
+
color: white;
|
| 22 |
+
/* On mouse hover */
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
a:active {
|
| 26 |
+
color: white;
|
| 27 |
+
/* Active (clicked) link */
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
div.container1 {
|
| 31 |
+
padding: 20px 23px 0px 23px;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
header.navBar {
|
| 35 |
+
display: flex;
|
| 36 |
+
justify-content: space-between;
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
a.logo {
|
| 40 |
+
font-size: 2.2em;
|
| 41 |
+
display: flex;
|
| 42 |
+
gap: 8px;
|
| 43 |
+
text-decoration: none;
|
| 44 |
+
align-items: center;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
span.greyColor {
|
| 48 |
+
color: gray;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
a span.logoName {
|
| 52 |
+
font-family: "Bonheur Royale", serif;
|
| 53 |
+
font-weight: 900;
|
| 54 |
+
font-size: 2.5rem;
|
| 55 |
+
font-style: normal;
|
| 56 |
+
color: #ffd000;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
ul.menu {
|
| 60 |
+
display: flex;
|
| 61 |
+
gap: 20px;
|
| 62 |
+
list-style-type: none;
|
| 63 |
+
font-family: "Jaro", sans-serif;
|
| 64 |
+
font-optical-sizing: auto;
|
| 65 |
+
font-weight: 400;
|
| 66 |
+
font-style: normal;
|
| 67 |
+
|
| 68 |
+
}
|
| 69 |
+
.hed{
|
| 70 |
+
font-family: "Jaro", sans-serif;
|
| 71 |
+
font-optical-sizing: auto;
|
| 72 |
+
font-weight: 400;
|
| 73 |
+
font-style: normal;
|
| 74 |
+
margin: 70px 70px;
|
| 75 |
+
text-align: center;
|
| 76 |
+
font-size: 3rem;
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
ul.menu li a:hover {
|
| 80 |
+
color: #20ff00;
|
| 81 |
+
transform: translateY(-3px);
|
| 82 |
+
transition: all .3s ease 0s;
|
| 83 |
+
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
.decoration {
|
| 87 |
+
text-decoration: none;
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
div.container2 h3{
|
| 91 |
+
font-family: "Jaro", sans-serif;
|
| 92 |
+
font-optical-sizing: auto;
|
| 93 |
+
font-weight: 400;
|
| 94 |
+
}
|
| 95 |
+
div.container2 {
|
| 96 |
+
display: flex;
|
| 97 |
+
flex-direction: row;
|
| 98 |
+
margin: 70px 70px;
|
| 99 |
+
justify-content: center;
|
| 100 |
+
font-style: normal;
|
| 101 |
+
flex-wrap: wrap;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
div.card {
|
| 105 |
+
width: 15vw;
|
| 106 |
+
margin: 5px 5px 5px 5px;
|
| 107 |
+
padding: 30px 30px 30px 30px;
|
| 108 |
+
border: 1px solid gray;
|
| 109 |
+
border-radius: 12px;
|
| 110 |
+
box-sizing: border-box;
|
| 111 |
+
height: 50vh;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
div.card img {
|
| 115 |
+
width: 232px;
|
| 116 |
+
border-radius: 12px;
|
| 117 |
+
/* margin-left: 25px; */
|
| 118 |
+
height: 140px;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
.long-text {
|
| 122 |
+
overflow-wrap: break-word; /* Wrap long words */
|
| 123 |
+
white-space: normal;
|
| 124 |
+
}
|
| 125 |
+
.dot{
|
| 126 |
+
overflow: hidden;
|
| 127 |
+
white-space: nowrap;
|
| 128 |
+
text-overflow: ellipsis;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
|
| 132 |
+
.containerContactMe7{
|
| 133 |
+
display: flex;
|
| 134 |
+
/* justify-content:baseline ; */
|
| 135 |
+
margin: 60px 60px 60px 250px;
|
| 136 |
+
|
| 137 |
+
|
| 138 |
+
}
|
| 139 |
+
.name{
|
| 140 |
+
display: flex;
|
| 141 |
+
align-items: center;
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
|
| 145 |
+
i{
|
| 146 |
+
margin: 12px;
|
| 147 |
+
font-size: 40px;
|
| 148 |
+
}
|
| 149 |
+
.AboutMain{
|
| 150 |
+
font-family: "Jaro", sans-serif;
|
| 151 |
+
font-optical-sizing: auto;
|
| 152 |
+
font-weight: 400;
|
| 153 |
+
font-style: normal;
|
| 154 |
+
}
|
| 155 |
+
.rel{
|
| 156 |
+
font-size: .9rem;
|
| 157 |
+
}
|
| 158 |
+
|
| 159 |
+
div.btn{
|
| 160 |
+
display: flex;
|
| 161 |
+
gap: 20px;
|
| 162 |
+
margin-top: 30px;
|
| 163 |
+
}
|
| 164 |
+
.pad{
|
| 165 |
+
padding: 2px 12px 4px 12px;
|
| 166 |
+
border: none;
|
| 167 |
+
border-radius: 5px;
|
| 168 |
+
background-color: #4f0;
|
| 169 |
+
|
| 170 |
+
}
|
Webapp/templates/home.html
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
|
| 4 |
+
<head>
|
| 5 |
+
<meta charset="UTF-8">
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 8 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 9 |
+
<link href="https://fonts.googleapis.com/css2?family=Bonheur+Royale&display=swap" rel="stylesheet">
|
| 10 |
+
|
| 11 |
+
<link href="https://fonts.googleapis.com/css2?family=Lacquer&display=swap" rel="stylesheet">
|
| 12 |
+
|
| 13 |
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 14 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 15 |
+
<link href="https://fonts.googleapis.com/css2?family=Jaro:opsz@6..72&display=swap" rel="stylesheet">
|
| 16 |
+
<link rel="stylesheet" href="{{ url_for('static', filename='MainStyle.css') }}">
|
| 17 |
+
<link rel="stylesheet" href="{{ url_for('static', filename='home.css') }}">
|
| 18 |
+
<title>Game_Recommender</title>
|
| 19 |
+
</head>
|
| 20 |
+
|
| 21 |
+
<body>
|
| 22 |
+
<div class="container1">
|
| 23 |
+
<header class="navBar">
|
| 24 |
+
<a href="/" class="logo">
|
| 25 |
+
<span class="greyColor">
|
| 26 |
+
|
| 27 |
+
<span class="logoName">Game_Recommender</span>
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
</a>
|
| 31 |
+
<ul class="menu">
|
| 32 |
+
<li><a href="{{ url_for('home') }}" class="decoration">Home</a></li>
|
| 33 |
+
<li><a href="" class="decoration">Blank</a></li>
|
| 34 |
+
<li><a href="#Contact" class="decoration">Contact me</a></li>
|
| 35 |
+
</ul>
|
| 36 |
+
</header>
|
| 37 |
+
</div>
|
| 38 |
+
<h1 class="hed">Some Top Free Games </h1>
|
| 39 |
+
<hr style="width: 70%;">
|
| 40 |
+
<div class="container2">
|
| 41 |
+
|
| 42 |
+
{% for i in range(title|length) %}
|
| 43 |
+
<div class="card">
|
| 44 |
+
<img src="{{ image[i] }}" alt="">
|
| 45 |
+
<h3 class="long-text" >{{ title[i] }}</h3>
|
| 46 |
+
<p class="dot , rel">Developer : {{ developer[i] }}</p>
|
| 47 |
+
<p class="long-text , rel">Genre : {{ genre[i] }}</p>
|
| 48 |
+
<p class="long-text ,rel">Platform : {{ platform[i] }}</p>
|
| 49 |
+
<p class="long-text , rel">Release date : {{ release_date[i] }}</p>
|
| 50 |
+
<div class="btn">
|
| 51 |
+
<button class="pad"><a href="{{ game_url[i] }}" target="_blank" style="text-decoration: none; color: rgb(91, 31, 148);">Game</a></button>
|
| 52 |
+
<button class="pad"><a href="{{ freetogame_profile_url[i] }}" target="_blank" style="text-decoration: none; color: rgb(91, 31, 148)">Profile</a></button>
|
| 53 |
+
</div>
|
| 54 |
+
</div>
|
| 55 |
+
{% endfor %}
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
</div>
|
| 60 |
+
<div class="containerContactMe7">
|
| 61 |
+
<div class="greetDivision">
|
| 62 |
+
<div class="left">
|
| 63 |
+
<div class="name">
|
| 64 |
+
<h1 style="font-size: 3rem;" id="Contact">Contact Me</h1>
|
| 65 |
+
<img alt="☎️" draggable="false" src="https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/260e.png" style="height: 4em; width: 4em; margin: 0px 0.05em 0px 3.1em; vertical-align: -0.1em;">
|
| 66 |
+
</div>
|
| 67 |
+
<h3 class="AboutMain">Discuss a project or just want to say hi? My Inbox is open for all.</h3>
|
| 68 |
+
<h1 style="font-size: 2rem;">Ayushaiml14@gmail.com</h1>
|
| 69 |
+
<div class="ContactsContainer1">
|
| 70 |
+
<a href="https://github.com/AyushAI14" target="_blank"><i
|
| 71 |
+
class="fa-brands fa-square-github"></i></a>
|
| 72 |
+
<a href="https://www.linkedin.com/in/ayush-vishwakarma-a2450a28b/" target="_blank"><i
|
| 73 |
+
class="fa-brands fa-linkedin"></i></a>
|
| 74 |
+
<a href="mailto:ayushaiml14@gmail.com" target="_blank"><i class="fa-solid fa-envelope"></i></a>
|
| 75 |
+
</div>
|
| 76 |
+
</div>
|
| 77 |
+
|
| 78 |
+
</div>
|
| 79 |
+
<script src="https://kit.fontawesome.com/73c3b1fe1f.js" crossorigin="anonymous"></script>
|
| 80 |
+
|
| 81 |
+
</body>
|
| 82 |
+
|
| 83 |
+
</html>
|
dockerfile
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Base image
|
| 2 |
+
FROM python:3.12-slim
|
| 3 |
+
|
| 4 |
+
# Set the working directory inside the container
|
| 5 |
+
WORKDIR /Game-recommender
|
| 6 |
+
|
| 7 |
+
# Copy necessary files into the container
|
| 8 |
+
COPY requirements.txt requirements.txt
|
| 9 |
+
COPY model model
|
| 10 |
+
COPY Webapp Webapp
|
| 11 |
+
|
| 12 |
+
# Install dependencies
|
| 13 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 14 |
+
|
| 15 |
+
# Expose the required port
|
| 16 |
+
EXPOSE 5000
|
| 17 |
+
|
| 18 |
+
# Set the default command to run the Flask app
|
| 19 |
+
CMD ["python", "Webapp/app.py"]
|
model/Maindf.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c29e088998dd98bcc0acb680b4fc5fe142b02c39004c3ad45e293b65c7fda4a
|
| 3 |
+
size 97347
|
model/freegameRecommender.ipynb
ADDED
|
@@ -0,0 +1,780 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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},
|
| 9 |
+
"outputs": [],
|
| 10 |
+
"source": [
|
| 11 |
+
"import pandas as pd\n",
|
| 12 |
+
"import numpy as np"
|
| 13 |
+
]
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"cell_type": "code",
|
| 17 |
+
"execution_count": 5,
|
| 18 |
+
"metadata": {
|
| 19 |
+
"colab": {
|
| 20 |
+
"base_uri": "https://localhost:8080/",
|
| 21 |
+
"height": 597
|
| 22 |
+
},
|
| 23 |
+
"id": "YE9FKvyH0Eoq",
|
| 24 |
+
"outputId": "e8b7c977-8819-4ecf-de8d-d7447a0ceb12"
|
| 25 |
+
},
|
| 26 |
+
"outputs": [
|
| 27 |
+
{
|
| 28 |
+
"data": {
|
| 29 |
+
"text/html": [
|
| 30 |
+
"<div>\n",
|
| 31 |
+
"<style scoped>\n",
|
| 32 |
+
" .dataframe tbody tr th:only-of-type {\n",
|
| 33 |
+
" vertical-align: middle;\n",
|
| 34 |
+
" }\n",
|
| 35 |
+
"\n",
|
| 36 |
+
" .dataframe tbody tr th {\n",
|
| 37 |
+
" vertical-align: top;\n",
|
| 38 |
+
" }\n",
|
| 39 |
+
"\n",
|
| 40 |
+
" .dataframe thead th {\n",
|
| 41 |
+
" text-align: right;\n",
|
| 42 |
+
" }\n",
|
| 43 |
+
"</style>\n",
|
| 44 |
+
"<table border=\"1\" class=\"dataframe\">\n",
|
| 45 |
+
" <thead>\n",
|
| 46 |
+
" <tr style=\"text-align: right;\">\n",
|
| 47 |
+
" <th></th>\n",
|
| 48 |
+
" <th>title</th>\n",
|
| 49 |
+
" <th>thumbnail</th>\n",
|
| 50 |
+
" <th>short_description</th>\n",
|
| 51 |
+
" <th>game_url</th>\n",
|
| 52 |
+
" <th>genre</th>\n",
|
| 53 |
+
" <th>platform</th>\n",
|
| 54 |
+
" <th>publisher</th>\n",
|
| 55 |
+
" <th>developer</th>\n",
|
| 56 |
+
" <th>release_date</th>\n",
|
| 57 |
+
" <th>freetogame_profile_url</th>\n",
|
| 58 |
+
" </tr>\n",
|
| 59 |
+
" </thead>\n",
|
| 60 |
+
" <tbody>\n",
|
| 61 |
+
" <tr>\n",
|
| 62 |
+
" <th>0</th>\n",
|
| 63 |
+
" <td>Tarisland</td>\n",
|
| 64 |
+
" <td>https://www.freetogame.com/g/582/thumbnail.jpg</td>\n",
|
| 65 |
+
" <td>A cross-platform MMORPG developed by Level Inf...</td>\n",
|
| 66 |
+
" <td>https://www.freetogame.com/open/tarisland</td>\n",
|
| 67 |
+
" <td>MMORPG</td>\n",
|
| 68 |
+
" <td>PC (Windows)</td>\n",
|
| 69 |
+
" <td>Tencent</td>\n",
|
| 70 |
+
" <td>Level Infinite</td>\n",
|
| 71 |
+
" <td>2024-06-22</td>\n",
|
| 72 |
+
" <td>https://www.freetogame.com/tarisland</td>\n",
|
| 73 |
+
" </tr>\n",
|
| 74 |
+
" <tr>\n",
|
| 75 |
+
" <th>1</th>\n",
|
| 76 |
+
" <td>Overwatch 2</td>\n",
|
| 77 |
+
" <td>https://www.freetogame.com/g/540/thumbnail.jpg</td>\n",
|
| 78 |
+
" <td>A hero-focused first-person team shooter from ...</td>\n",
|
| 79 |
+
" <td>https://www.freetogame.com/open/overwatch-2</td>\n",
|
| 80 |
+
" <td>Shooter</td>\n",
|
| 81 |
+
" <td>PC (Windows)</td>\n",
|
| 82 |
+
" <td>Activision Blizzard</td>\n",
|
| 83 |
+
" <td>Blizzard Entertainment</td>\n",
|
| 84 |
+
" <td>2022-10-04</td>\n",
|
| 85 |
+
" <td>https://www.freetogame.com/overwatch-2</td>\n",
|
| 86 |
+
" </tr>\n",
|
| 87 |
+
" <tr>\n",
|
| 88 |
+
" <th>2</th>\n",
|
| 89 |
+
" <td>PUBG: BATTLEGROUNDS</td>\n",
|
| 90 |
+
" <td>https://www.freetogame.com/g/516/thumbnail.jpg</td>\n",
|
| 91 |
+
" <td>Get into the action in one of the longest runn...</td>\n",
|
| 92 |
+
" <td>https://www.freetogame.com/open/pubg</td>\n",
|
| 93 |
+
" <td>Shooter</td>\n",
|
| 94 |
+
" <td>PC (Windows)</td>\n",
|
| 95 |
+
" <td>KRAFTON, Inc.</td>\n",
|
| 96 |
+
" <td>KRAFTON, Inc.</td>\n",
|
| 97 |
+
" <td>2022-01-12</td>\n",
|
| 98 |
+
" <td>https://www.freetogame.com/pubg</td>\n",
|
| 99 |
+
" </tr>\n",
|
| 100 |
+
" <tr>\n",
|
| 101 |
+
" <th>3</th>\n",
|
| 102 |
+
" <td>Enlisted</td>\n",
|
| 103 |
+
" <td>https://www.freetogame.com/g/508/thumbnail.jpg</td>\n",
|
| 104 |
+
" <td>Get ready to command your own World War II mil...</td>\n",
|
| 105 |
+
" <td>https://www.freetogame.com/open/enlisted</td>\n",
|
| 106 |
+
" <td>Shooter</td>\n",
|
| 107 |
+
" <td>PC (Windows)</td>\n",
|
| 108 |
+
" <td>Gaijin Entertainment</td>\n",
|
| 109 |
+
" <td>Darkflow Software</td>\n",
|
| 110 |
+
" <td>2021-04-08</td>\n",
|
| 111 |
+
" <td>https://www.freetogame.com/enlisted</td>\n",
|
| 112 |
+
" </tr>\n",
|
| 113 |
+
" <tr>\n",
|
| 114 |
+
" <th>4</th>\n",
|
| 115 |
+
" <td>Genshin Impact</td>\n",
|
| 116 |
+
" <td>https://www.freetogame.com/g/475/thumbnail.jpg</td>\n",
|
| 117 |
+
" <td>If you’ve been looking for a game to scratch t...</td>\n",
|
| 118 |
+
" <td>https://www.freetogame.com/open/genshin-impact</td>\n",
|
| 119 |
+
" <td>Action RPG</td>\n",
|
| 120 |
+
" <td>PC (Windows)</td>\n",
|
| 121 |
+
" <td>miHoYo</td>\n",
|
| 122 |
+
" <td>miHoYo</td>\n",
|
| 123 |
+
" <td>2020-09-28</td>\n",
|
| 124 |
+
" <td>https://www.freetogame.com/genshin-impact</td>\n",
|
| 125 |
+
" </tr>\n",
|
| 126 |
+
" <tr>\n",
|
| 127 |
+
" <th>...</th>\n",
|
| 128 |
+
" <td>...</td>\n",
|
| 129 |
+
" <td>...</td>\n",
|
| 130 |
+
" <td>...</td>\n",
|
| 131 |
+
" <td>...</td>\n",
|
| 132 |
+
" <td>...</td>\n",
|
| 133 |
+
" <td>...</td>\n",
|
| 134 |
+
" <td>...</td>\n",
|
| 135 |
+
" <td>...</td>\n",
|
| 136 |
+
" <td>...</td>\n",
|
| 137 |
+
" <td>...</td>\n",
|
| 138 |
+
" </tr>\n",
|
| 139 |
+
" <tr>\n",
|
| 140 |
+
" <th>323</th>\n",
|
| 141 |
+
" <td>Ragnarok Online</td>\n",
|
| 142 |
+
" <td>https://www.freetogame.com/g/335/thumbnail.jpg</td>\n",
|
| 143 |
+
" <td>A popular fantasy MMORPG, back to the golden a...</td>\n",
|
| 144 |
+
" <td>https://www.freetogame.com/open/ragnarok-online</td>\n",
|
| 145 |
+
" <td>MMORPG</td>\n",
|
| 146 |
+
" <td>PC (Windows)</td>\n",
|
| 147 |
+
" <td>Gravity Interactive</td>\n",
|
| 148 |
+
" <td>Gravity Interactive</td>\n",
|
| 149 |
+
" <td>2003-06-01</td>\n",
|
| 150 |
+
" <td>https://www.freetogame.com/ragnarok-online</td>\n",
|
| 151 |
+
" </tr>\n",
|
| 152 |
+
" <tr>\n",
|
| 153 |
+
" <th>324</th>\n",
|
| 154 |
+
" <td>Entropia Universe</td>\n",
|
| 155 |
+
" <td>https://www.freetogame.com/g/17/thumbnail.jpg</td>\n",
|
| 156 |
+
" <td>A 3D MMO Multi Virtual World Real Cash Economy...</td>\n",
|
| 157 |
+
" <td>https://www.freetogame.com/open/entropia-universe</td>\n",
|
| 158 |
+
" <td>MMORPG</td>\n",
|
| 159 |
+
" <td>PC (Windows)</td>\n",
|
| 160 |
+
" <td>MindArk</td>\n",
|
| 161 |
+
" <td>MindArk</td>\n",
|
| 162 |
+
" <td>2003-01-30</td>\n",
|
| 163 |
+
" <td>https://www.freetogame.com/entropia-universe</td>\n",
|
| 164 |
+
" </tr>\n",
|
| 165 |
+
" <tr>\n",
|
| 166 |
+
" <th>325</th>\n",
|
| 167 |
+
" <td>Anarchy Online</td>\n",
|
| 168 |
+
" <td>https://www.freetogame.com/g/336/thumbnail.jpg</td>\n",
|
| 169 |
+
" <td>A free to play Sci-Fi MMO that has withstood t...</td>\n",
|
| 170 |
+
" <td>https://www.freetogame.com/open/anarchy-online</td>\n",
|
| 171 |
+
" <td>MMORPG</td>\n",
|
| 172 |
+
" <td>PC (Windows)</td>\n",
|
| 173 |
+
" <td>Funcom</td>\n",
|
| 174 |
+
" <td>Funcom</td>\n",
|
| 175 |
+
" <td>2001-06-27</td>\n",
|
| 176 |
+
" <td>https://www.freetogame.com/anarchy-online</td>\n",
|
| 177 |
+
" </tr>\n",
|
| 178 |
+
" <tr>\n",
|
| 179 |
+
" <th>326</th>\n",
|
| 180 |
+
" <td>The Lord of the Rings Online</td>\n",
|
| 181 |
+
" <td>https://www.freetogame.com/g/251/thumbnail.jpg</td>\n",
|
| 182 |
+
" <td>A free to play MMORPG set in the world of J.R....</td>\n",
|
| 183 |
+
" <td>https://www.freetogame.com/open/lotro</td>\n",
|
| 184 |
+
" <td>MMORPG</td>\n",
|
| 185 |
+
" <td>PC (Windows)</td>\n",
|
| 186 |
+
" <td>Warner Bros. Interactive Entertainment</td>\n",
|
| 187 |
+
" <td>Turbine, Inc.</td>\n",
|
| 188 |
+
" <td>2001-04-24</td>\n",
|
| 189 |
+
" <td>https://www.freetogame.com/lotro</td>\n",
|
| 190 |
+
" </tr>\n",
|
| 191 |
+
" <tr>\n",
|
| 192 |
+
" <th>327</th>\n",
|
| 193 |
+
" <td>Tibia</td>\n",
|
| 194 |
+
" <td>https://www.freetogame.com/g/339/thumbnail.jpg</td>\n",
|
| 195 |
+
" <td>A old-school free-to-play massively multiplaye...</td>\n",
|
| 196 |
+
" <td>https://www.freetogame.com/open/tibia</td>\n",
|
| 197 |
+
" <td>MMORPG</td>\n",
|
| 198 |
+
" <td>PC (Windows)</td>\n",
|
| 199 |
+
" <td>CipSoft</td>\n",
|
| 200 |
+
" <td>CipSoft</td>\n",
|
| 201 |
+
" <td>1997-01-07</td>\n",
|
| 202 |
+
" <td>https://www.freetogame.com/tibia</td>\n",
|
| 203 |
+
" </tr>\n",
|
| 204 |
+
" </tbody>\n",
|
| 205 |
+
"</table>\n",
|
| 206 |
+
"<p>328 rows × 10 columns</p>\n",
|
| 207 |
+
"</div>"
|
| 208 |
+
],
|
| 209 |
+
"text/plain": [
|
| 210 |
+
" title \\\n",
|
| 211 |
+
"0 Tarisland \n",
|
| 212 |
+
"1 Overwatch 2 \n",
|
| 213 |
+
"2 PUBG: BATTLEGROUNDS \n",
|
| 214 |
+
"3 Enlisted \n",
|
| 215 |
+
"4 Genshin Impact \n",
|
| 216 |
+
".. ... \n",
|
| 217 |
+
"323 Ragnarok Online \n",
|
| 218 |
+
"324 Entropia Universe \n",
|
| 219 |
+
"325 Anarchy Online \n",
|
| 220 |
+
"326 The Lord of the Rings Online \n",
|
| 221 |
+
"327 Tibia \n",
|
| 222 |
+
"\n",
|
| 223 |
+
" thumbnail \\\n",
|
| 224 |
+
"0 https://www.freetogame.com/g/582/thumbnail.jpg \n",
|
| 225 |
+
"1 https://www.freetogame.com/g/540/thumbnail.jpg \n",
|
| 226 |
+
"2 https://www.freetogame.com/g/516/thumbnail.jpg \n",
|
| 227 |
+
"3 https://www.freetogame.com/g/508/thumbnail.jpg \n",
|
| 228 |
+
"4 https://www.freetogame.com/g/475/thumbnail.jpg \n",
|
| 229 |
+
".. ... \n",
|
| 230 |
+
"323 https://www.freetogame.com/g/335/thumbnail.jpg \n",
|
| 231 |
+
"324 https://www.freetogame.com/g/17/thumbnail.jpg \n",
|
| 232 |
+
"325 https://www.freetogame.com/g/336/thumbnail.jpg \n",
|
| 233 |
+
"326 https://www.freetogame.com/g/251/thumbnail.jpg \n",
|
| 234 |
+
"327 https://www.freetogame.com/g/339/thumbnail.jpg \n",
|
| 235 |
+
"\n",
|
| 236 |
+
" short_description \\\n",
|
| 237 |
+
"0 A cross-platform MMORPG developed by Level Inf... \n",
|
| 238 |
+
"1 A hero-focused first-person team shooter from ... \n",
|
| 239 |
+
"2 Get into the action in one of the longest runn... \n",
|
| 240 |
+
"3 Get ready to command your own World War II mil... \n",
|
| 241 |
+
"4 If you’ve been looking for a game to scratch t... \n",
|
| 242 |
+
".. ... \n",
|
| 243 |
+
"323 A popular fantasy MMORPG, back to the golden a... \n",
|
| 244 |
+
"324 A 3D MMO Multi Virtual World Real Cash Economy... \n",
|
| 245 |
+
"325 A free to play Sci-Fi MMO that has withstood t... \n",
|
| 246 |
+
"326 A free to play MMORPG set in the world of J.R.... \n",
|
| 247 |
+
"327 A old-school free-to-play massively multiplaye... \n",
|
| 248 |
+
"\n",
|
| 249 |
+
" game_url genre \\\n",
|
| 250 |
+
"0 https://www.freetogame.com/open/tarisland MMORPG \n",
|
| 251 |
+
"1 https://www.freetogame.com/open/overwatch-2 Shooter \n",
|
| 252 |
+
"2 https://www.freetogame.com/open/pubg Shooter \n",
|
| 253 |
+
"3 https://www.freetogame.com/open/enlisted Shooter \n",
|
| 254 |
+
"4 https://www.freetogame.com/open/genshin-impact Action RPG \n",
|
| 255 |
+
".. ... ... \n",
|
| 256 |
+
"323 https://www.freetogame.com/open/ragnarok-online MMORPG \n",
|
| 257 |
+
"324 https://www.freetogame.com/open/entropia-universe MMORPG \n",
|
| 258 |
+
"325 https://www.freetogame.com/open/anarchy-online MMORPG \n",
|
| 259 |
+
"326 https://www.freetogame.com/open/lotro MMORPG \n",
|
| 260 |
+
"327 https://www.freetogame.com/open/tibia MMORPG \n",
|
| 261 |
+
"\n",
|
| 262 |
+
" platform publisher \\\n",
|
| 263 |
+
"0 PC (Windows) Tencent \n",
|
| 264 |
+
"1 PC (Windows) Activision Blizzard \n",
|
| 265 |
+
"2 PC (Windows) KRAFTON, Inc. \n",
|
| 266 |
+
"3 PC (Windows) Gaijin Entertainment \n",
|
| 267 |
+
"4 PC (Windows) miHoYo \n",
|
| 268 |
+
".. ... ... \n",
|
| 269 |
+
"323 PC (Windows) Gravity Interactive \n",
|
| 270 |
+
"324 PC (Windows) MindArk \n",
|
| 271 |
+
"325 PC (Windows) Funcom \n",
|
| 272 |
+
"326 PC (Windows) Warner Bros. Interactive Entertainment \n",
|
| 273 |
+
"327 PC (Windows) CipSoft \n",
|
| 274 |
+
"\n",
|
| 275 |
+
" developer release_date \\\n",
|
| 276 |
+
"0 Level Infinite 2024-06-22 \n",
|
| 277 |
+
"1 Blizzard Entertainment 2022-10-04 \n",
|
| 278 |
+
"2 KRAFTON, Inc. 2022-01-12 \n",
|
| 279 |
+
"3 Darkflow Software 2021-04-08 \n",
|
| 280 |
+
"4 miHoYo 2020-09-28 \n",
|
| 281 |
+
".. ... ... \n",
|
| 282 |
+
"323 Gravity Interactive 2003-06-01 \n",
|
| 283 |
+
"324 MindArk 2003-01-30 \n",
|
| 284 |
+
"325 Funcom 2001-06-27 \n",
|
| 285 |
+
"326 Turbine, Inc. 2001-04-24 \n",
|
| 286 |
+
"327 CipSoft 1997-01-07 \n",
|
| 287 |
+
"\n",
|
| 288 |
+
" freetogame_profile_url \n",
|
| 289 |
+
"0 https://www.freetogame.com/tarisland \n",
|
| 290 |
+
"1 https://www.freetogame.com/overwatch-2 \n",
|
| 291 |
+
"2 https://www.freetogame.com/pubg \n",
|
| 292 |
+
"3 https://www.freetogame.com/enlisted \n",
|
| 293 |
+
"4 https://www.freetogame.com/genshin-impact \n",
|
| 294 |
+
".. ... \n",
|
| 295 |
+
"323 https://www.freetogame.com/ragnarok-online \n",
|
| 296 |
+
"324 https://www.freetogame.com/entropia-universe \n",
|
| 297 |
+
"325 https://www.freetogame.com/anarchy-online \n",
|
| 298 |
+
"326 https://www.freetogame.com/lotro \n",
|
| 299 |
+
"327 https://www.freetogame.com/tibia \n",
|
| 300 |
+
"\n",
|
| 301 |
+
"[328 rows x 10 columns]"
|
| 302 |
+
]
|
| 303 |
+
},
|
| 304 |
+
"execution_count": 5,
|
| 305 |
+
"metadata": {},
|
| 306 |
+
"output_type": "execute_result"
|
| 307 |
+
}
|
| 308 |
+
],
|
| 309 |
+
"source": [
|
| 310 |
+
"Dataframe = pd.read_csv(\"/home/ayush/Documents/AI/Machine_Learning/Projects/Game-recommender/Dataset/free-games.csv\")\n",
|
| 311 |
+
"Dataframe"
|
| 312 |
+
]
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"cell_type": "code",
|
| 316 |
+
"execution_count": 6,
|
| 317 |
+
"metadata": {
|
| 318 |
+
"colab": {
|
| 319 |
+
"base_uri": "https://localhost:8080/"
|
| 320 |
+
},
|
| 321 |
+
"id": "c5Yj2WfP0RzB",
|
| 322 |
+
"outputId": "8e3132cb-ac26-4bcc-8fda-eeed3025acc0"
|
| 323 |
+
},
|
| 324 |
+
"outputs": [
|
| 325 |
+
{
|
| 326 |
+
"data": {
|
| 327 |
+
"text/plain": [
|
| 328 |
+
"array(['MMORPG', 'Shooter', 'Action RPG', 'Battle Royale', 'ARPG',\n",
|
| 329 |
+
" 'MMOARPG', 'Fighting', 'MOBA', 'Card', 'Action Game', 'Strategy',\n",
|
| 330 |
+
" 'Action', 'Sports', 'Racing', 'Card Game', 'MMO', 'Social',\n",
|
| 331 |
+
" 'Fantasy'], dtype=object)"
|
| 332 |
+
]
|
| 333 |
+
},
|
| 334 |
+
"execution_count": 6,
|
| 335 |
+
"metadata": {},
|
| 336 |
+
"output_type": "execute_result"
|
| 337 |
+
}
|
| 338 |
+
],
|
| 339 |
+
"source": [
|
| 340 |
+
"Dataframe['genre'].unique()"
|
| 341 |
+
]
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"cell_type": "code",
|
| 345 |
+
"execution_count": 7,
|
| 346 |
+
"metadata": {
|
| 347 |
+
"colab": {
|
| 348 |
+
"base_uri": "https://localhost:8080/"
|
| 349 |
+
},
|
| 350 |
+
"id": "DWUYQwEY0pmR",
|
| 351 |
+
"outputId": "186208cf-76b4-40c8-8d28-74b4cb73a5cc"
|
| 352 |
+
},
|
| 353 |
+
"outputs": [
|
| 354 |
+
{
|
| 355 |
+
"data": {
|
| 356 |
+
"text/plain": [
|
| 357 |
+
"291"
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"execution_count": 7,
|
| 361 |
+
"metadata": {},
|
| 362 |
+
"output_type": "execute_result"
|
| 363 |
+
}
|
| 364 |
+
],
|
| 365 |
+
"source": [
|
| 366 |
+
"Dataframe['developer'].nunique()"
|
| 367 |
+
]
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"cell_type": "code",
|
| 371 |
+
"execution_count": 8,
|
| 372 |
+
"metadata": {
|
| 373 |
+
"colab": {
|
| 374 |
+
"base_uri": "https://localhost:8080/"
|
| 375 |
+
},
|
| 376 |
+
"id": "ZGXETIGF2jsW",
|
| 377 |
+
"outputId": "57b1e0f4-607c-4ae9-a7e3-eb218575c6ca"
|
| 378 |
+
},
|
| 379 |
+
"outputs": [
|
| 380 |
+
{
|
| 381 |
+
"data": {
|
| 382 |
+
"text/plain": [
|
| 383 |
+
"263"
|
| 384 |
+
]
|
| 385 |
+
},
|
| 386 |
+
"execution_count": 8,
|
| 387 |
+
"metadata": {},
|
| 388 |
+
"output_type": "execute_result"
|
| 389 |
+
}
|
| 390 |
+
],
|
| 391 |
+
"source": [
|
| 392 |
+
"Dataframe['publisher'].nunique()"
|
| 393 |
+
]
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"cell_type": "code",
|
| 397 |
+
"execution_count": 9,
|
| 398 |
+
"metadata": {
|
| 399 |
+
"colab": {
|
| 400 |
+
"base_uri": "https://localhost:8080/",
|
| 401 |
+
"height": 398
|
| 402 |
+
},
|
| 403 |
+
"id": "dBco25-z3GCm",
|
| 404 |
+
"outputId": "a0f70169-aa17-4a3d-b8b3-be1a65cd39b0"
|
| 405 |
+
},
|
| 406 |
+
"outputs": [
|
| 407 |
+
{
|
| 408 |
+
"data": {
|
| 409 |
+
"text/plain": [
|
| 410 |
+
"title 0\n",
|
| 411 |
+
"thumbnail 0\n",
|
| 412 |
+
"short_description 0\n",
|
| 413 |
+
"game_url 0\n",
|
| 414 |
+
"genre 0\n",
|
| 415 |
+
"platform 0\n",
|
| 416 |
+
"publisher 0\n",
|
| 417 |
+
"developer 0\n",
|
| 418 |
+
"release_date 0\n",
|
| 419 |
+
"freetogame_profile_url 0\n",
|
| 420 |
+
"dtype: int64"
|
| 421 |
+
]
|
| 422 |
+
},
|
| 423 |
+
"execution_count": 9,
|
| 424 |
+
"metadata": {},
|
| 425 |
+
"output_type": "execute_result"
|
| 426 |
+
}
|
| 427 |
+
],
|
| 428 |
+
"source": [
|
| 429 |
+
"Dataframe.isnull().sum()"
|
| 430 |
+
]
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"cell_type": "code",
|
| 434 |
+
"execution_count": 10,
|
| 435 |
+
"metadata": {
|
| 436 |
+
"colab": {
|
| 437 |
+
"base_uri": "https://localhost:8080/"
|
| 438 |
+
},
|
| 439 |
+
"id": "Y2bJuH9p31Pb",
|
| 440 |
+
"outputId": "f578979d-4c0e-45f8-e804-ffec20ca408d"
|
| 441 |
+
},
|
| 442 |
+
"outputs": [
|
| 443 |
+
{
|
| 444 |
+
"data": {
|
| 445 |
+
"text/html": [
|
| 446 |
+
"<div>\n",
|
| 447 |
+
"<style scoped>\n",
|
| 448 |
+
" .dataframe tbody tr th:only-of-type {\n",
|
| 449 |
+
" vertical-align: middle;\n",
|
| 450 |
+
" }\n",
|
| 451 |
+
"\n",
|
| 452 |
+
" .dataframe tbody tr th {\n",
|
| 453 |
+
" vertical-align: top;\n",
|
| 454 |
+
" }\n",
|
| 455 |
+
"\n",
|
| 456 |
+
" .dataframe thead th {\n",
|
| 457 |
+
" text-align: right;\n",
|
| 458 |
+
" }\n",
|
| 459 |
+
"</style>\n",
|
| 460 |
+
"<table border=\"1\" class=\"dataframe\">\n",
|
| 461 |
+
" <thead>\n",
|
| 462 |
+
" <tr style=\"text-align: right;\">\n",
|
| 463 |
+
" <th></th>\n",
|
| 464 |
+
" <th>title</th>\n",
|
| 465 |
+
" <th>thumbnail</th>\n",
|
| 466 |
+
" <th>short_description</th>\n",
|
| 467 |
+
" <th>game_url</th>\n",
|
| 468 |
+
" <th>genre</th>\n",
|
| 469 |
+
" <th>platform</th>\n",
|
| 470 |
+
" <th>publisher</th>\n",
|
| 471 |
+
" <th>developer</th>\n",
|
| 472 |
+
" <th>release_date</th>\n",
|
| 473 |
+
" <th>freetogame_profile_url</th>\n",
|
| 474 |
+
" </tr>\n",
|
| 475 |
+
" </thead>\n",
|
| 476 |
+
" <tbody>\n",
|
| 477 |
+
" <tr>\n",
|
| 478 |
+
" <th>1</th>\n",
|
| 479 |
+
" <td>Overwatch 2</td>\n",
|
| 480 |
+
" <td>https://www.freetogame.com/g/540/thumbnail.jpg</td>\n",
|
| 481 |
+
" <td>A hero-focused first-person team shooter from ...</td>\n",
|
| 482 |
+
" <td>https://www.freetogame.com/open/overwatch-2</td>\n",
|
| 483 |
+
" <td>Shooter</td>\n",
|
| 484 |
+
" <td>PC (Windows)</td>\n",
|
| 485 |
+
" <td>Activision Blizzard</td>\n",
|
| 486 |
+
" <td>Blizzard Entertainment</td>\n",
|
| 487 |
+
" <td>2022-10-04</td>\n",
|
| 488 |
+
" <td>https://www.freetogame.com/overwatch-2</td>\n",
|
| 489 |
+
" </tr>\n",
|
| 490 |
+
" <tr>\n",
|
| 491 |
+
" <th>2</th>\n",
|
| 492 |
+
" <td>PUBG: BATTLEGROUNDS</td>\n",
|
| 493 |
+
" <td>https://www.freetogame.com/g/516/thumbnail.jpg</td>\n",
|
| 494 |
+
" <td>Get into the action in one of the longest runn...</td>\n",
|
| 495 |
+
" <td>https://www.freetogame.com/open/pubg</td>\n",
|
| 496 |
+
" <td>Shooter</td>\n",
|
| 497 |
+
" <td>PC (Windows)</td>\n",
|
| 498 |
+
" <td>KRAFTON, Inc.</td>\n",
|
| 499 |
+
" <td>KRAFTON, Inc.</td>\n",
|
| 500 |
+
" <td>2022-01-12</td>\n",
|
| 501 |
+
" <td>https://www.freetogame.com/pubg</td>\n",
|
| 502 |
+
" </tr>\n",
|
| 503 |
+
" <tr>\n",
|
| 504 |
+
" <th>3</th>\n",
|
| 505 |
+
" <td>Enlisted</td>\n",
|
| 506 |
+
" <td>https://www.freetogame.com/g/508/thumbnail.jpg</td>\n",
|
| 507 |
+
" <td>Get ready to command your own World War II mil...</td>\n",
|
| 508 |
+
" <td>https://www.freetogame.com/open/enlisted</td>\n",
|
| 509 |
+
" <td>Shooter</td>\n",
|
| 510 |
+
" <td>PC (Windows)</td>\n",
|
| 511 |
+
" <td>Gaijin Entertainment</td>\n",
|
| 512 |
+
" <td>Darkflow Software</td>\n",
|
| 513 |
+
" <td>2021-04-08</td>\n",
|
| 514 |
+
" <td>https://www.freetogame.com/enlisted</td>\n",
|
| 515 |
+
" </tr>\n",
|
| 516 |
+
" <tr>\n",
|
| 517 |
+
" <th>10</th>\n",
|
| 518 |
+
" <td>Crossout</td>\n",
|
| 519 |
+
" <td>https://www.freetogame.com/g/5/thumbnail.jpg</td>\n",
|
| 520 |
+
" <td>A post-apocalyptic MMO vehicle combat game!</td>\n",
|
| 521 |
+
" <td>https://www.freetogame.com/open/crossout</td>\n",
|
| 522 |
+
" <td>Shooter</td>\n",
|
| 523 |
+
" <td>PC (Windows)</td>\n",
|
| 524 |
+
" <td>Targem</td>\n",
|
| 525 |
+
" <td>Gaijin</td>\n",
|
| 526 |
+
" <td>2017-05-30</td>\n",
|
| 527 |
+
" <td>https://www.freetogame.com/crossout</td>\n",
|
| 528 |
+
" </tr>\n",
|
| 529 |
+
" <tr>\n",
|
| 530 |
+
" <th>11</th>\n",
|
| 531 |
+
" <td>World of Warships</td>\n",
|
| 532 |
+
" <td>https://www.freetogame.com/g/9/thumbnail.jpg</td>\n",
|
| 533 |
+
" <td>A 3D free to play naval action-themed MMO from...</td>\n",
|
| 534 |
+
" <td>https://www.freetogame.com/open/world-of-warships</td>\n",
|
| 535 |
+
" <td>Shooter</td>\n",
|
| 536 |
+
" <td>PC (Windows)</td>\n",
|
| 537 |
+
" <td>Wargaming</td>\n",
|
| 538 |
+
" <td>Wargaming</td>\n",
|
| 539 |
+
" <td>2015-07-02</td>\n",
|
| 540 |
+
" <td>https://www.freetogame.com/world-of-warships</td>\n",
|
| 541 |
+
" </tr>\n",
|
| 542 |
+
" <tr>\n",
|
| 543 |
+
" <th>...</th>\n",
|
| 544 |
+
" <td>...</td>\n",
|
| 545 |
+
" <td>...</td>\n",
|
| 546 |
+
" <td>...</td>\n",
|
| 547 |
+
" <td>...</td>\n",
|
| 548 |
+
" <td>...</td>\n",
|
| 549 |
+
" <td>...</td>\n",
|
| 550 |
+
" <td>...</td>\n",
|
| 551 |
+
" <td>...</td>\n",
|
| 552 |
+
" <td>...</td>\n",
|
| 553 |
+
" <td>...</td>\n",
|
| 554 |
+
" </tr>\n",
|
| 555 |
+
" <tr>\n",
|
| 556 |
+
" <th>282</th>\n",
|
| 557 |
+
" <td>theHunter</td>\n",
|
| 558 |
+
" <td>https://www.freetogame.com/g/291/thumbnail.jpg</td>\n",
|
| 559 |
+
" <td>An MMO shooter where players can hunt 22 diffe...</td>\n",
|
| 560 |
+
" <td>https://www.freetogame.com/open/thehunter</td>\n",
|
| 561 |
+
" <td>Shooter</td>\n",
|
| 562 |
+
" <td>PC (Windows)</td>\n",
|
| 563 |
+
" <td>Expansive Worlds , Avalanche Studios</td>\n",
|
| 564 |
+
" <td>Expansive Worlds , Avalanche Studios</td>\n",
|
| 565 |
+
" <td>2009-03-05</td>\n",
|
| 566 |
+
" <td>https://www.freetogame.com/thehunter</td>\n",
|
| 567 |
+
" </tr>\n",
|
| 568 |
+
" <tr>\n",
|
| 569 |
+
" <th>289</th>\n",
|
| 570 |
+
" <td>Ace Online</td>\n",
|
| 571 |
+
" <td>https://www.freetogame.com/g/319/thumbnail.jpg</td>\n",
|
| 572 |
+
" <td>A free to play fast action 3D sci-fi MMO where...</td>\n",
|
| 573 |
+
" <td>https://www.freetogame.com/open/ace-online</td>\n",
|
| 574 |
+
" <td>Shooter</td>\n",
|
| 575 |
+
" <td>PC (Windows)</td>\n",
|
| 576 |
+
" <td>Suba Games</td>\n",
|
| 577 |
+
" <td>MasangSoft</td>\n",
|
| 578 |
+
" <td>2008-08-29</td>\n",
|
| 579 |
+
" <td>https://www.freetogame.com/ace-online</td>\n",
|
| 580 |
+
" </tr>\n",
|
| 581 |
+
" <tr>\n",
|
| 582 |
+
" <th>297</th>\n",
|
| 583 |
+
" <td>Team Fortress 2</td>\n",
|
| 584 |
+
" <td>https://www.freetogame.com/g/310/thumbnail.jpg</td>\n",
|
| 585 |
+
" <td>Valve's iconic class-based free-to-play first-...</td>\n",
|
| 586 |
+
" <td>https://www.freetogame.com/open/team-fortress-2</td>\n",
|
| 587 |
+
" <td>Shooter</td>\n",
|
| 588 |
+
" <td>PC (Windows)</td>\n",
|
| 589 |
+
" <td>Valve</td>\n",
|
| 590 |
+
" <td>Valve</td>\n",
|
| 591 |
+
" <td>2007-10-10</td>\n",
|
| 592 |
+
" <td>https://www.freetogame.com/team-fortress-2</td>\n",
|
| 593 |
+
" </tr>\n",
|
| 594 |
+
" <tr>\n",
|
| 595 |
+
" <th>301</th>\n",
|
| 596 |
+
" <td>Crossfire</td>\n",
|
| 597 |
+
" <td>https://www.freetogame.com/g/15/thumbnail.jpg</td>\n",
|
| 598 |
+
" <td>A first person tactical shooter with a huge se...</td>\n",
|
| 599 |
+
" <td>https://www.freetogame.com/open/crossfire</td>\n",
|
| 600 |
+
" <td>Shooter</td>\n",
|
| 601 |
+
" <td>PC (Windows)</td>\n",
|
| 602 |
+
" <td>Neowiz Games</td>\n",
|
| 603 |
+
" <td>SmileGate</td>\n",
|
| 604 |
+
" <td>2007-05-03</td>\n",
|
| 605 |
+
" <td>https://www.freetogame.com/crossfire</td>\n",
|
| 606 |
+
" </tr>\n",
|
| 607 |
+
" <tr>\n",
|
| 608 |
+
" <th>302</th>\n",
|
| 609 |
+
" <td>Teeworlds</td>\n",
|
| 610 |
+
" <td>https://www.freetogame.com/g/313/thumbnail.jpg</td>\n",
|
| 611 |
+
" <td>A free to play retro multiplayer online shoote...</td>\n",
|
| 612 |
+
" <td>https://www.freetogame.com/open/teeworlds</td>\n",
|
| 613 |
+
" <td>Shooter</td>\n",
|
| 614 |
+
" <td>PC (Windows)</td>\n",
|
| 615 |
+
" <td>Teeworlds Team</td>\n",
|
| 616 |
+
" <td>Teeworlds Team</td>\n",
|
| 617 |
+
" <td>2007-05-27</td>\n",
|
| 618 |
+
" <td>https://www.freetogame.com/teeworlds</td>\n",
|
| 619 |
+
" </tr>\n",
|
| 620 |
+
" </tbody>\n",
|
| 621 |
+
"</table>\n",
|
| 622 |
+
"<p>93 rows × 10 columns</p>\n",
|
| 623 |
+
"</div>"
|
| 624 |
+
],
|
| 625 |
+
"text/plain": [
|
| 626 |
+
" title thumbnail \\\n",
|
| 627 |
+
"1 Overwatch 2 https://www.freetogame.com/g/540/thumbnail.jpg \n",
|
| 628 |
+
"2 PUBG: BATTLEGROUNDS https://www.freetogame.com/g/516/thumbnail.jpg \n",
|
| 629 |
+
"3 Enlisted https://www.freetogame.com/g/508/thumbnail.jpg \n",
|
| 630 |
+
"10 Crossout https://www.freetogame.com/g/5/thumbnail.jpg \n",
|
| 631 |
+
"11 World of Warships https://www.freetogame.com/g/9/thumbnail.jpg \n",
|
| 632 |
+
".. ... ... \n",
|
| 633 |
+
"282 theHunter https://www.freetogame.com/g/291/thumbnail.jpg \n",
|
| 634 |
+
"289 Ace Online https://www.freetogame.com/g/319/thumbnail.jpg \n",
|
| 635 |
+
"297 Team Fortress 2 https://www.freetogame.com/g/310/thumbnail.jpg \n",
|
| 636 |
+
"301 Crossfire https://www.freetogame.com/g/15/thumbnail.jpg \n",
|
| 637 |
+
"302 Teeworlds https://www.freetogame.com/g/313/thumbnail.jpg \n",
|
| 638 |
+
"\n",
|
| 639 |
+
" short_description \\\n",
|
| 640 |
+
"1 A hero-focused first-person team shooter from ... \n",
|
| 641 |
+
"2 Get into the action in one of the longest runn... \n",
|
| 642 |
+
"3 Get ready to command your own World War II mil... \n",
|
| 643 |
+
"10 A post-apocalyptic MMO vehicle combat game! \n",
|
| 644 |
+
"11 A 3D free to play naval action-themed MMO from... \n",
|
| 645 |
+
".. ... \n",
|
| 646 |
+
"282 An MMO shooter where players can hunt 22 diffe... \n",
|
| 647 |
+
"289 A free to play fast action 3D sci-fi MMO where... \n",
|
| 648 |
+
"297 Valve's iconic class-based free-to-play first-... \n",
|
| 649 |
+
"301 A first person tactical shooter with a huge se... \n",
|
| 650 |
+
"302 A free to play retro multiplayer online shoote... \n",
|
| 651 |
+
"\n",
|
| 652 |
+
" game_url genre platform \\\n",
|
| 653 |
+
"1 https://www.freetogame.com/open/overwatch-2 Shooter PC (Windows) \n",
|
| 654 |
+
"2 https://www.freetogame.com/open/pubg Shooter PC (Windows) \n",
|
| 655 |
+
"3 https://www.freetogame.com/open/enlisted Shooter PC (Windows) \n",
|
| 656 |
+
"10 https://www.freetogame.com/open/crossout Shooter PC (Windows) \n",
|
| 657 |
+
"11 https://www.freetogame.com/open/world-of-warships Shooter PC (Windows) \n",
|
| 658 |
+
".. ... ... ... \n",
|
| 659 |
+
"282 https://www.freetogame.com/open/thehunter Shooter PC (Windows) \n",
|
| 660 |
+
"289 https://www.freetogame.com/open/ace-online Shooter PC (Windows) \n",
|
| 661 |
+
"297 https://www.freetogame.com/open/team-fortress-2 Shooter PC (Windows) \n",
|
| 662 |
+
"301 https://www.freetogame.com/open/crossfire Shooter PC (Windows) \n",
|
| 663 |
+
"302 https://www.freetogame.com/open/teeworlds Shooter PC (Windows) \n",
|
| 664 |
+
"\n",
|
| 665 |
+
" publisher \\\n",
|
| 666 |
+
"1 Activision Blizzard \n",
|
| 667 |
+
"2 KRAFTON, Inc. \n",
|
| 668 |
+
"3 Gaijin Entertainment \n",
|
| 669 |
+
"10 Targem \n",
|
| 670 |
+
"11 Wargaming \n",
|
| 671 |
+
".. ... \n",
|
| 672 |
+
"282 Expansive Worlds , Avalanche Studios \n",
|
| 673 |
+
"289 Suba Games \n",
|
| 674 |
+
"297 Valve \n",
|
| 675 |
+
"301 Neowiz Games \n",
|
| 676 |
+
"302 Teeworlds Team \n",
|
| 677 |
+
"\n",
|
| 678 |
+
" developer release_date \\\n",
|
| 679 |
+
"1 Blizzard Entertainment 2022-10-04 \n",
|
| 680 |
+
"2 KRAFTON, Inc. 2022-01-12 \n",
|
| 681 |
+
"3 Darkflow Software 2021-04-08 \n",
|
| 682 |
+
"10 Gaijin 2017-05-30 \n",
|
| 683 |
+
"11 Wargaming 2015-07-02 \n",
|
| 684 |
+
".. ... ... \n",
|
| 685 |
+
"282 Expansive Worlds , Avalanche Studios 2009-03-05 \n",
|
| 686 |
+
"289 MasangSoft 2008-08-29 \n",
|
| 687 |
+
"297 Valve 2007-10-10 \n",
|
| 688 |
+
"301 SmileGate 2007-05-03 \n",
|
| 689 |
+
"302 Teeworlds Team 2007-05-27 \n",
|
| 690 |
+
"\n",
|
| 691 |
+
" freetogame_profile_url \n",
|
| 692 |
+
"1 https://www.freetogame.com/overwatch-2 \n",
|
| 693 |
+
"2 https://www.freetogame.com/pubg \n",
|
| 694 |
+
"3 https://www.freetogame.com/enlisted \n",
|
| 695 |
+
"10 https://www.freetogame.com/crossout \n",
|
| 696 |
+
"11 https://www.freetogame.com/world-of-warships \n",
|
| 697 |
+
".. ... \n",
|
| 698 |
+
"282 https://www.freetogame.com/thehunter \n",
|
| 699 |
+
"289 https://www.freetogame.com/ace-online \n",
|
| 700 |
+
"297 https://www.freetogame.com/team-fortress-2 \n",
|
| 701 |
+
"301 https://www.freetogame.com/crossfire \n",
|
| 702 |
+
"302 https://www.freetogame.com/teeworlds \n",
|
| 703 |
+
"\n",
|
| 704 |
+
"[93 rows x 10 columns]"
|
| 705 |
+
]
|
| 706 |
+
},
|
| 707 |
+
"execution_count": 10,
|
| 708 |
+
"metadata": {},
|
| 709 |
+
"output_type": "execute_result"
|
| 710 |
+
}
|
| 711 |
+
],
|
| 712 |
+
"source": [
|
| 713 |
+
"def genreRecommender(genre):\n",
|
| 714 |
+
" if genre in Dataframe['genre'].values:\n",
|
| 715 |
+
" return Dataframe[Dataframe['genre'] == genre]\n",
|
| 716 |
+
"\n",
|
| 717 |
+
"genreRecommender(\"Shooter\")\n",
|
| 718 |
+
"# h = genreRecommender(\"Shooter\")\n",
|
| 719 |
+
"# h[\"genre\"].unique()\n"
|
| 720 |
+
]
|
| 721 |
+
},
|
| 722 |
+
{
|
| 723 |
+
"cell_type": "code",
|
| 724 |
+
"execution_count": 11,
|
| 725 |
+
"metadata": {
|
| 726 |
+
"id": "km8A28Qp5xn1"
|
| 727 |
+
},
|
| 728 |
+
"outputs": [],
|
| 729 |
+
"source": [
|
| 730 |
+
"homedf = Dataframe.head(50)"
|
| 731 |
+
]
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"cell_type": "code",
|
| 735 |
+
"execution_count": 12,
|
| 736 |
+
"metadata": {
|
| 737 |
+
"id": "Qb4EfTlI-rA9"
|
| 738 |
+
},
|
| 739 |
+
"outputs": [],
|
| 740 |
+
"source": [
|
| 741 |
+
"import pickle\n",
|
| 742 |
+
"pickle.dump(homedf,open(\"homedf.pkl\",\"wb\"))\n",
|
| 743 |
+
"pickle.dump(Dataframe,open(\"Maindf.pkl\",\"wb\"))"
|
| 744 |
+
]
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"cell_type": "code",
|
| 748 |
+
"execution_count": null,
|
| 749 |
+
"metadata": {
|
| 750 |
+
"id": "7UzAM5hn_qRm"
|
| 751 |
+
},
|
| 752 |
+
"outputs": [],
|
| 753 |
+
"source": []
|
| 754 |
+
}
|
| 755 |
+
],
|
| 756 |
+
"metadata": {
|
| 757 |
+
"colab": {
|
| 758 |
+
"provenance": []
|
| 759 |
+
},
|
| 760 |
+
"kernelspec": {
|
| 761 |
+
"display_name": "env",
|
| 762 |
+
"language": "python",
|
| 763 |
+
"name": "python3"
|
| 764 |
+
},
|
| 765 |
+
"language_info": {
|
| 766 |
+
"codemirror_mode": {
|
| 767 |
+
"name": "ipython",
|
| 768 |
+
"version": 3
|
| 769 |
+
},
|
| 770 |
+
"file_extension": ".py",
|
| 771 |
+
"mimetype": "text/x-python",
|
| 772 |
+
"name": "python",
|
| 773 |
+
"nbconvert_exporter": "python",
|
| 774 |
+
"pygments_lexer": "ipython3",
|
| 775 |
+
"version": "3.12.3"
|
| 776 |
+
}
|
| 777 |
+
},
|
| 778 |
+
"nbformat": 4,
|
| 779 |
+
"nbformat_minor": 0
|
| 780 |
+
}
|
model/homedf.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b918451a455659f8ef45626e811638080dd06e0fc61ccbb02a0ef81f9f9129bd
|
| 3 |
+
size 15047
|
requirements.txt
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
asttokens==3.0.0
|
| 2 |
+
blinker==1.9.0
|
| 3 |
+
click==8.1.8
|
| 4 |
+
comm==0.2.2
|
| 5 |
+
debugpy==1.8.11
|
| 6 |
+
decorator==5.1.1
|
| 7 |
+
executing==2.1.0
|
| 8 |
+
Flask==3.1.0
|
| 9 |
+
ipykernel==6.29.5
|
| 10 |
+
ipython
|
| 11 |
+
itsdangerous==2.2.0
|
| 12 |
+
jedi==0.19.2
|
| 13 |
+
Jinja2==3.1.5
|
| 14 |
+
jupyter_client==8.6.3
|
| 15 |
+
jupyter_core==5.7.2
|
| 16 |
+
MarkupSafe==3.0.2
|
| 17 |
+
matplotlib-inline==0.1.7
|
| 18 |
+
nest-asyncio==1.6.0
|
| 19 |
+
numpy
|
| 20 |
+
packaging==24.2
|
| 21 |
+
pandas==2.2.3
|
| 22 |
+
parso==0.8.4
|
| 23 |
+
pexpect==4.9.0
|
| 24 |
+
platformdirs==4.3.6
|
| 25 |
+
prompt_toolkit==3.0.48
|
| 26 |
+
psutil==6.1.1
|
| 27 |
+
ptyprocess==0.7.0
|
| 28 |
+
pure_eval==0.2.3
|
| 29 |
+
Pygments==2.18.0
|
| 30 |
+
python-dateutil==2.9.0.post0
|
| 31 |
+
pytz==2024.2
|
| 32 |
+
pyzmq==26.2.0
|
| 33 |
+
six==1.17.0
|
| 34 |
+
stack-data==0.6.3
|
| 35 |
+
tornado==6.4.2
|
| 36 |
+
traitlets==5.14.3
|
| 37 |
+
tzdata==2024.2
|
| 38 |
+
wcwidth==0.2.13
|
| 39 |
+
Werkzeug==3.1.3
|