Dueling Platform for Competitive Programming. Learn through Games.

Overview

CP-Dueling

Dueling Platform for Competitive Programming. Learn through Games.

Setting Up

  • Minimum Python version needed = 3.9.9
  • Install Virtualenv and use virtualenv venv on the root directory.
  • Access the created virtual environment using venv/scripts/activate for powershell and Source venv/bin/activate for linux/bash.
  • pip install -r requirements.txt
  • Download postgresql and create credentials.
  • Download .env file from wiki page of this repo and replace your credentials wherever required. Place the .env file on the root directory.
  • Run the server using uvicorn main:app --reload. The server should be running on PORT 8000.

Access Swagger API

  • Navigate to localhost:8000/docs, i.e, /docs route to view the SWAGGERAPI.
You might also like...
Open source Board Games Like Tic Tac Toe, Connect 4, Ludo, Snakes and Ladder etc...

Board-Games What to do... Add Board games like Tic Tac Toe, Connect 4, Ludo, Snakes and Ladder etc... How to do... Fork the repo Clone the repo git cl

A converter for the .BMR / .RLE bitmap files used in some Neversoft PS1 games.

Requirements python3 pyqt5 - can be installed with pip install PyQt5 pypng - Included Usage Instructions This program can be running py main.py in the

Lutris helps you install and play video games from all eras and from most gaming systems.

Lutris Lutris helps you install and play video games from all eras and from most gaming systems. By leveraging and combining existing emulators, engin

Minesweeper clone with 3 modes of difficulty, UI scaling and custom games feature.

Insect Sweeper Minesweeper clone with 3 modes of difficulty, UI scaling and custom games feature. Mines are replaced with random insects that a player

Editing tool (read/write) .sc files (*_tes.sc , *.sc, *_dl.sc ) from Supercell games (Brawl Stars, Clash Royale, Clash of Clans and others).

SupercellSWF Version 0.1.0.2 About Editing tool (read/write) .sc files (*_tes.sc , *.sc, *_dl.sc ) from Supercell games (Brawl Stars, Clash Royale, Cl

Official PyTorch implementation of NAC from the paper:  Neural Auto-Curricula in Two-Player Zero-Sum Games.
Official PyTorch implementation of NAC from the paper: Neural Auto-Curricula in Two-Player Zero-Sum Games.

NAC Official PyTorch implementation of NAC from the paper: Neural Auto-Curricula in Two-Player Zero-Sum Games. We release code for: Gradient based ora

Launch any Heroic-Games-Launcher game using bash scripts without having to open Heroic.

HeroicBashLauncher Ever wanted to launch your EGS games installed through Heroic Games Launcher directly from the terminal, Lutris or any other fronte

Sukoku-solver Python About Sudoku is one of the most popular puzzle games of all time
Sukoku-solver Python About Sudoku is one of the most popular puzzle games of all time

Sukoku-solver Python About Sudoku is one of the most popular puzzle games of all time. As a logic puzzle, Sudoku is also an excellent brain game. Bein

Cheats for shooter games

Cheats Cheats for shooter games Download Trigger Bot trigger.exe // trigger.sha256 Download Certify Bot certify.exe // certify.sha256 Note: Check sha2

Comments
  • Suggest to loosen the dependency on databases

    Suggest to loosen the dependency on databases

    Dear developers,

    Your project CP-Dueling requires "databases==0.5.5" in its dependency. After analyzing the source code, we found that the following versions of databases can also be suitable without affecting your project, i.e., databases 0.5.4. Therefore, we suggest to loosen the dependency on databases from "databases==0.5.5" to "databases>=0.5.4,<=0.5.5" to avoid any possible conflict for importing more packages or for downstream projects that may use ddos_script.

    May I pull a request to further loosen the dependency on databases?

    By the way, could you please tell us whether such dependency analysis may be potentially helpful for maintaining dependencies easier during your development?



    Details:

    Your project (commit id: 10c4a20d56be816020b6a13b561fb3a1ef49f191) directly uses 1 APIs from package databases.

    databases.core.Database.__init__
    

    Beginning fromwhich, 7 functions are then indirectly called, including 4 databases's internal APIs and 3 outsider APIs as follows:

    [/bhavesh-20/CP-Dueling]
    +--databases.core.Database.__init__
    |      +--databases.core.DatabaseURL.__init__
    |      +--databases.core.Database._get_backend
    |      +--databases.importer.import_from_string
    |      |      +--databases.importer.ImportFromStringError.__init__
    |      |      +--importlib.import_module
    |      +--aiocontextvars.ContextVar
    |      +--contextvars.ContextVar
    

    Since all these functions have not been changed between any version for package "databases" from [0.5.4] and 0.5.5. Therefore, we believe it is safe to loosen the corresponding dependency.

    opened by Agnes-U 0
Owner
Bhavesh
Hello, I am Bhavesh kumar, an undergraduate in IIIT SriCity, an ML enthusiast and competitive programmer.
Bhavesh
Datamining of 15 Days of (free) Games at the Epic Games Store (EGS).

EGS: 15 Days of Games This repository contains Python code to data-mine the 15 Days of (free) Games at the Epic Games Store (EGS). Requirements Instal

Wok 9 Dec 27, 2022
Overview: copain, your friendly AI framework to learn and play games

Overview: copain, your friendly AI framework to learn and play games Interface fceux with python and run reinforcement learning. Compatibility Current

fcharras 1 Dec 16, 2021
learn and have fun developing 2D retro games using python and pygame

Retro 2D Game Development Using Python + PyGame Skill up your programming skills with a walk down the memory lane. Learn how to create a retro 2D game

Marvin Trilles 1 Feb 23, 2022
pygame is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.

pygame is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.

pygame 5.6k Jan 1, 2023
AI Games and its programming solution with Python.

Problem: Save the princess: Problem defination on Hackerrank: https://www.hackerrank.com/challenges/saveprincess About problem: Princess Peach is trap

Hasit Parmar 1 Feb 19, 2022
A comprehensive, feature-rich, open source, and portable, collection of Solitaire games.

PySol Fan Club edition This is an open source and portable (Windows, Linux and Mac OS X) collection of Card Solitaire/Patience games written in Python

Shlomi Fish 368 Dec 28, 2022
To solve games using AI, we will introduce the concept of a game tree followed by minimax algorithm.

To solve games using AI, we will introduce the concept of a game tree followed by minimax algorithm.

Vaibhaw 7 Oct 13, 2022
An all-inclusive Python framework for the Riot Games League of Legends API. We focus on making the data easy and fun to work with, while providing all the tools necessary to create a website or do data analysis.

Cassiopeia A Python adaptation of the Riot Games League of Legends API (https://developer.riotgames.com/). Cassiopeia is the sister library to Orianna

Meraki Analytics 473 Jan 7, 2023
Automates cubemap generation for Source Engine games.

AutoCube Automates cubemap generation for Source Engine games during compile-time. Download: see the release page Installation Using with CompilePal A

null 5 Feb 18, 2022
Gamelib is a pure-Python single-file library/framework for writing simple games.

Gamelib is a pure-Python single-file library/framework for writing simple games. It is intended for educational purposes (e.g. to be used in b

Diego Essaya 15 Dec 22, 2022