Codeforces and Polygon may be unavailable from December 6, 19:00 (UTC) to December 6, 21:00 (UTC) due to technical maintenance. ×

Hepic_Antony_Skarlatos's blog

By Hepic_Antony_Skarlatos, history, 9 years ago, In English

I wanted to use codeforces api for something and I came up with a game called 'super deal'. For any who doesnt know it,it is a game with bags. Each bag has its value(Here I use cf api. I take values from the rating of users. For example the highest you will see is for tourist .), and you pick a bag,and after some other selection and negotiations you take the money of the bag you had last.

Source is simple: "https://github.com/Hepic/Super-Deal-Cf-Style-" If someone is free and wants, he can contribute free. I would love that :)

Also I uploaded here, for any who wants to see it: "http://zabidey.com/whateveridontcarelol/Super%20Deal(Cf%20Style)/index.html"

(For windows because of ajax you need to open chrome writing in cmd: "start chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security"). If someone can improve it, go ahead. :)

Thank you for your time !!!

»
9 years ago, # |
  Vote: I like it +1 Vote: I do not like it

Read about JSONP in CF API FAQ, it should help you to solve that ajax problem.

»
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it

I tried to open the page by the way that you said but it's just an empty page for me...

  • »
    »
    9 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Else you can take the source locally,and paste it,or send me your skype in pm,to show you from there.