In this tutorial we will use a database of images previously scraped from a Reddit JSON document to create a simple game based on an idea of guessing which of two images has a better upvotes score (karma).
Regarding Reddit JSON API, you can get a JSON document by adding /.json to any Reddit URL. This can be used to extract various data from any subreddit. To show how to do that in HTML5 using Phaser framework, we will create a Reddit’s Image Scraper application.