not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Jeffery R dd9271cbe8 changed server edit 7 years ago
googletrendsgame changed server edit 7 years ago
words added words list 7 years ago
.DS_Store After Small Frontend Overhaul, got Socket Communication is a go. 7 years ago
README.md fixed server side bugs 7 years ago
game.html Add files via upload 7 years ago

README.md

GoogleTrendsGame

Guess the trends beat your friends

alt text

Server dependencies

npm init
npm install express
npm install socket.io
npm install mysql
npm install sanitizer
npm install google-trends-api
npm install promise

##Database Construction create database googleTrends;

use googleTrends;

create table users( user_id mediumint unsigned not null AUTO_INCREMENT, name varchar(30) not null, primary key(user_id) );

create table data( data_id mediumint unsigned not null AUTO_INCREMENT, user_id mediumint unsigned not null, word varchar(100) not null, score mediumint not null, primary key(data_id) );

grant all on googleTrends.* to trendingUser@localhost identified by "password";