Skip to content
ulg edited this page Apr 17, 2015 · 17 revisions

1. Overview

URF Omikuji is sacred lots. A kind of fortune-telling. The result luck rank depends on a match duration time of a URF match selected randomly.

2. Demo

  1. Access here. http://ulgapp.appspot.com/urf/urfquiz.html

  2. Click the "Draw" button.

  3. Your luck rank will be displayed.

  4. You can see the match detail on the LoL official page from the link "Match History" below.

URF Omikuji Demo

3. Program

3-1. Equipments

Server : Google App Engine

Language : Java, JavaScript, ajax, HTML

IDE : Eclipse

Browser: Chrome

API : Riot API

3-2. Flow

  1. Pick time randomly with 5 minute offset

  2. Call API(api-challenge-v4.1) and get an URF match id list.

  3. Pick an URF match id from the list randomly.

  4. Call API(match-v2.2 and lol-static-data-v1.2), then get a match detail and champions details.

  5. Put the data into JSON and return to the client.

  6. Parse JSON and put them on HTML by using JavaScript and ajax.

URF Omikuji Program Flow

Clone this wiki locally