- a way to replay past codechef contests.
This Web app lets you play Codechef Contests as virtual contests.
It feels just like a real contest with real contestants competing alongside with the participants who participate a virtual contest.
UPD: We won 2nd prize. :D Ranking
WebApp is hosted at - http://149.129.145.244 (not anymore, since Codechef made their API private)
Please refer to Video link or Slides for better understanding of project.
It will be very helpful for the preparation of short contests. Few of the features are :
- You can add friends and see their separate rank list during the live virtual contest.
- Several people can play the virtual contest together and see each other's ranking.
- All COOKOFF's starting from COOK01 to recent COOK98A/B are available to play as a virtual contest.
- You can compare yourself with other people while the virtual contest is in play.
- Video tutorial to Use WebApp : Video link (Just a short 12 min video, you can watch at 1.5x :P)
Slides for a better understanding of App: Slides(We both are very poor in making slides, we apologize beforehand _/\_)
Note: Judgement result takes a while to reflect in standings as Codechef restricts no. of API requests in a min.(6 calls/min), just refresh the page in a while.
- Flask
- MongoDB
- Jinja2 Template
pip3 install -r requirements.txt
- You also need to put your
client_id
,client_secret
,redirect_uri
inapp_data
collection in db. - The Database server is hosted on Alibabacloud, thus requires URI, and password, which you need to set up in file
db_conn.py
, setDB_PASS
environment variable which has passkey to your DB. - Deploy using Gunicorn using
gunicorn app:app -b 127.0.0.1:5000
Developed during Codechef API Hackathon by Hasan Alirajpurwala and Vishvanath Dutt Sharma