Giter Club home page Giter Club logo

gamerecommender's Introduction

Isaias Pomales
12.04.2014

Start running the application with the 'GameRecommendations.html' file.

Query for XML feed:
select titles that have a rating higher than 3 but the frequency played is less than 10.

Queries used to verify patterns:

Operating systems and the number of games that support them.
SELECT os, count(*) AS num
FROM supports
GROUP BY os;

Average rating of titles where the player plays a game of their preference.
SELECT d.title, AVG(d.rating) AS avgrating
FROM	(SELECT b.title, a.id
	FROM players a, games b
	WHERE a.preference = b.category) c, plays d
WHERE c.id = d.gamerid 	AND c.title = d.title
GROUP BY d.title
ORDER BY d.title asc;

Average rating of titles where player plays a game from the same country as them.
SELECT f.title, AVG(rating) AS avgrating
FROM plays f, (SELECT d.title, c.id
		FROM produced d, (SELECT a.id, b.company
				  FROM players a, developers b
				  WHERE a.location = b.country) c
		WHERE c.company = d.company) e
WHERE e.id = f.gamerid AND f.title = e.title
GROUPY BY f.title
ORDER BY f.title asc;

Average hours played when game is either role-playing or multiplayer online game.
SELECT c.title, AVG(c.hours) AS avghours
FROM plays c, (SELECT a.title
		FROM GAMES a
		WHERE a.category LIKE '%RPG%' OR a.category LIKE '%MMOG%') b
WHERE b.title = c.title
GROUP BY c.title
ORDERBY c.title asc;

gamerecommender's People

Contributors

impomales avatar

Watchers

James Cloos avatar suleozturk 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.