Giter VIP home page Giter VIP logo

fullstack-nanodegree-vm's Introduction

Tournaments

Description

This project work with PostgreSQL database to setup a database of tournament and generate Swiss-System tournament.

What's included?

Tournament Project

  • tournament.sql
  • tournament.py
  • tournament_test.py

tournament.sql

This sql file sets up the tournament database schema like player, matches and views

tournament.py

This python file contains methods to connect, read, add, delete players and matches them into swiss-pairings.

tournament_test.py

This python file has scripts to test the methods implemented in tournament.py file which are required for passing the tests.

How to setup environment?

Follow the guidelines provided here Don't fork / Clone the git repo mentioned there, instead clone this

How to execute tests?

After setting up the environment.

  1. Navigate to the project folder cd /vagrant/tournament
  2. Open psql like this psql
  3. Initialize database like this \i tournament.sql
  4. Quit and execute the test like this python tournament_test.py
  5. Test results will be printed on the screen.

fullstack-nanodegree-vm's People

Contributors

lobrown avatar ishan1608 avatar forbiddenvoid avatar karlud avatar pmallory avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.