My version of Udacity's Full Stack Nanodegree "Tournament" project(P2).
This backend database program is a good boilerplate for coding a tournament match functionality in your app. It has all of the logic necessary to manage a tournament in the popular "Swiss Tournament" style.
##Installation:
- Install all requirements.
- Download the contents of this repo.
- Open command prompt.
- Enter
cd [directory of your choice] && python tournament_init.py
- Some console messages should print, ending with "Success! All tests pass!"
- You may now run any of the functions inside
tournament.py
- Profit!
##Requirements:
(_Alternatively_, if you run vagrant and git, you can just:
`git clone https://github.com/udacity/fullstack-nanodegree-vm.git fullstack`
and `vagrant up`.)
##Issues:
Scaffolding script in tournament_init.py
fails and halts when 'tournament'
database already exists. If the database already exists, the script should
continue to create/replace tables and test database functionality in the
preexisting database.
###Todo: Make script continue if database already exists.
##License: TournamentTester is distributed under the MIT License.