Welcome to the Gamiverse!

Background:

Are you tired of intrusive ads, long wait times, and a cluttered screen when you go to look up that one cool game? So are we! Welcome to the Gamiverse, where there are no ads, so we pay for your enjoyment! Lightning quick loads on our searches and the most recent games that have come out and are about to come out, all 1-2 clicks away after loading our page! We hope you enjoy!

Users:

Back End - Our trained monkeys,

*cough*

I mean our trained and highly valued programmers work around the clock to keep you up to date on whats coming up, and where you can find the games you are looking for!

Front End - That would be our valued users! The people tired of dealing with the ‘man’ of video game information, just in it for a quick lookaround and not the victims of targeted intrusive advertisements. They get to see where they can go shopping near them, whats about to come out and what has come out, and they get to see what the other anti-establisment gamers out there are looking for!

Use cases:

Speed - we have the fastest game searches and loads on the net!

Location - Need a store near you? Let us take care of us with our built in store locator!

Functional Requirements:

Users need nothing! Were all about the anonymity, so just pop on, see whats up and head out on your merry way! (disregard our store locator, we promise we aren’t using it when you aren’t looking)

Non-functional Requirements:

Internet, power and an internet connected device!

Design Specs:

Content needs - We know nothing Jon Snow <Game of Thrones quote/>. Seriously, we don’t need to know anything about you aside from maybe your location, if you want to see what stores are near you!

Media Needs - This is the media, you’ll never need anything else for looking at video games ever again!

External Links - Games courtesy of Giant Bomb, and map courtesy of GoogleMaps

http://adamsasi.com/final/index.html

Final blog is just below this one

|

v

Final log, stardate April 18th, 2014

Morale is at all time low with the looming finals, so this may well be my last message to you.

Thank you Nitish and Rahul, you have both been a great help these past few weeks. Thank you as well Professor, this has been a very educational experience. That being said, onto my final summary of the final project:

There are 5 pages worth looking at, with a total of six official pages.

New releases takes the API from giant bomb, and makes a list of all the games that have come out in the past 7 days (it is dynamic and I am proud), with their name, an image (if available, otherwise a default image is chosen), and a hyperlink on the image to a full article on the game.

Upcoming Releases is about the same as new releases, except it grabs the games coming out in the next seven days.

Find a store is a simple google map embed, showing anything on the map that falls under the tag ‘video game store’

Search uses Giant Bombs API to grab a list of the 10 most relevant games to a users search, grabs an available image and hyperlinks it, and shows the name and descriptions next to the image. There is a problem with this that I wasn’t able to fix, search keeps writing to the same page, and all searches will keep writing to the same div. You can see the javascript I used inside the js folder, in the file api.js

Recent searches I am proud of, it gathers the searches anyone performs on my site and writes them to a database, and shows them here. I tried to implement a login system for this, so that you could only access the features for it if you were registered, but I could not get it working. If you want to see what I tried, the relevant hidden urls are not used, but they are: register.php, register2.php, database.php, cookie.php, and login.php

I attempted to use two different resources, the first was http://tutorialzine.com/2009/10/cool-login-system-php-jquery/, this one was buggy and I could not fix it, so I tried http://www.killersites.com/community/index.php?/topic/5778-basic-login-system-for-any-website/, and I almost had it working, but time was not on my side, so the login feature is just a ghost hidden in the ether on my page.

Captains log, March 28, 2014

So far, I have been working on making my final project’s search feature, and it has been a very solid pain so far. Next to no good documentation, and few and far between results from google for my woes. Right now it returns a JSONP object if you will look under the network response in the web inspector, I attempted to extract the relevent data from it to give information on the game, but for some reason it refuses to do so. The search functionality is slightly broken, in an annoying way. I’m not sure how to pass the input string from the search bar to the ajax function call i use to form the api, so by default, on tapping the search button it searches for ‘mass effect’

I’m hopeful that once I get the search working, the rest of it will come easily enough, since the search is the hardest part of this project.

Captains Log, March 14th 2014

Started a website the right way this time, by making it look pretty at first, and keeping it pretty as I build it, the reservations system had bad style.

I spent my time deciding on what kinds of information I would like to have hosted on my site, and building the links to it that I felt would make a good site.

As of right now, the site has no content other than functional webpages and a footnote that is very high up on the pages, with a redirect to the source of the API I will be using.

TODO: Figure out how to use the API, and see if I can eliminate any of my current plans for pages and add new pages that make use of what can actually be done.

Final Project Proposal

I want to design a webpage using API from giantbomb.com to create a search engine for video games, with pages showing lists of recent games, most popular games, and games coming out soon.

Users are people who want to check in and see what’s coming out soon, or what has come out recently that people like.

Users will come to browse the most recent material and to search for specific games.

Design spec:

search functionality, display images, redirect to a page with data extracted from the API about the games

Linking to giantbomb.com

Captains log, February 25 2014

Fixed validation that had somehow managed to get broken while I was working on the database section.

Right now my site is still missing collision detection for the database, and I still need to change the coloration of the hyperlinks, but that is it I believe.

My site is pretty fun for anyone who has seen the movie How to Train Your Dragon (if you haven’t seen it, its really good!) It fills out all of the criteria quite well, and I cite the sources I used was well in the credits page.

Captains log, February 21, 2014

I was able to get my database operational, mainly in thanks to W3schools. The reservation page sends an email outlining what you put in to the fields. The database also is written to the php page you go to after clicking Contact Us! with the most recent entry added to the database

There isn’t any kind of collision detection at the moment, so the database cannot tell if a given rider is actually available when you, I’d like to get some help on this for next week.

The idea of the reservation system is this:

Look through the dragons and riders and select one of each, type in their names to the fields with the rest of your information. I have three tables in my database, one for the names of riders and one for dragon names to search to see if the name the user wrote in actually exists, and a third to host the current reservation list. That is my current plan.

Files modified: reservation.html, reservationreturn.php and the dbconn.php file.

dbconn has password deleted before it is uploaded to github

Captains Log, February 14, 2014

Was not able to attend a TA’s hours this week, I was out of commission on Wednesday, so I didn’t get the chance to attend office hours for the bug I had last week, so I got help from Prof. Fell after class on Friday, and we didn’t find any obvious problems, so I nuked the public version and uploaded again, and my problem was fixed.

I used http://www.w3schools.com/php/php_mail.asp to build a simple email, it works fairly effectively with only a line of php.

Captains log, February 7, 2014

Began homework after class on Friday after a busy but successful week

To start, I used http://www.w3schools.com/php/php_forms.asp to understand how to .send data from a text box to another page. I also used http://www.tutwow.com/htmlcss/create-a-simple-and-secure-contact-form-with-jquery-and-php/  to understand how to secure the reservation, and incorporated and expanded on it to work for my own criteria. All was going well until about 7:30, at which point I had both the redirect to the php page working and the input security/errors working. I attempted to split up my contact.html page (which had two irrelevant fields to contact and would have fit better in the reservation page) into my reservation page on reservation.html. To do this I originally separated the relevant tables to their best page, but having them both point to a single js file seemed to cause problems, so I created a copy and modified both it and the original to reflect the input types.

All seemed good until I clicked on the contact us button. Now on both pages the console complains about something within jquery. I’ve tried regressing my code to as early as possible before a file was closed and reopened, I’ve tried to change versions of jquery, and I’ve tried examining in excruciating detail all of the code I have written for this, but I cannot find what on earth is the cause.


To rectify this, I plan on visiting the TA’s next week, and for the future I will update my github repository when I have a working version of code before I try and play with it.

Signing off, Adam.

Captains Log, January 28th, 2014

Started the assignment after class, the past week having been the busiest of my life (expecting 3 more like this from this semester).

Tried to implement the slideshow functionality on the starship booking, but it was failing and I had to find a simpler resource. One Google later, I found a very useful article explaining how to implement it with a fully functional example of the javascript necessary to utilize it. I scavenged this for my page, and toyed around with it. It took me a while to figure out that I needed to have multiple copies of the same file in order to have multiple slideshows playing at the same time. The rest of the page is a little bare, but it has been a rough week, and I now have the capability to implement slideshows whenever the need arises at least.