Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Python module that uses the PostgreSQL database to keep track of players and matches in a game tournament.

Notifications You must be signed in to change notification settings

navinesh/tournament-results

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Tournament results

Python module that uses the PostgreSQL database to keep track of players and matches in a game tournament.

The game tournament uses the Swiss system for pairing up players in each round.

Required Libraries and Dependencies

What's included

Within the download you will find the following directory and files.

tournament/
├── tournament.sql
├── tournament.py
├── tournament_test.py

How to Run the Project

  1. Fork https://github.com/navinesh/fullstack-nanodegree-vm
  2. Clone the newly forked repository to your computer
  3. Using the terminal, change directory to vagrant (cd vagrant), then type vagrant up to launch your virtual machine
  4. Once it is up and running, type vagrant ssh to log into it
  5. Change directory to vagrant/tournament (cd /vagrant/tournament)
  6. Run the command psql -f tournament.sql to log into the database, create tables and views
  7. Run the command python tournament_test.py to test database tables and views, and tournament.py module

Extra Credit Description

Prevents rematches between players

Creator

Navinesh Chand

About

Python module that uses the PostgreSQL database to keep track of players and matches in a game tournament.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published