Codeforces и Polygon могут быть недоступны в период с 6 декабря, 22:00 (МСК) по 7 декабря, 00:00 (МСК) в связи с проведением технических работ. ×

Блог пользователя Hepic_Antony_Skarlatos

Автор Hepic_Antony_Skarlatos, история, 9 лет назад, По-английски

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 !!!

  • Проголосовать: нравится
  • +8
  • Проголосовать: не нравится

»
9 лет назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

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

»
9 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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