Top Trumps Game for ATP tennis players
Explore the docs »
View Live Demo
·
Report Bug
·
Request Feature
Table of Contents
In the style of the Top Trumps game, you start with ten cards with stats on pro tennis players. Choose the best stat and if it beats your opponents card you get their card. If your card stat is weaker you lose and your opponent gets your card.
The advantage of using plotly is everything from the front-end to the back-end is built using python. No need to learn javascript and seamlessly put online with https://pythonanywhere.com (free account to get you going). Pythonanywhere has most python packages installed on their own side so you just need to put your .py file and it should run straight away.
To get a local copy up and running follow these simple example steps.
Install Python (better to use Anaconda https://www.anaconda.com/)
- Clone the repo
git clone https://github.com/gkennaugh/tennis-top-trumps.git
- Install required packages from requirements.txt
pip install -r requirements.txt
3a. Move totaldf.csv to a new folder called tennis_atp-master
3b. Unzip pictures.zip and move all the pictures to a new folder as follows... /static/assets/atp/
- Run python app.py in a new Anaconda Command Prompt
Open the app in your local browser at http://localhost:8061
python app.py
To play a Top Trumps style game with ATP tennis players
For more examples, please refer to the Documentation
- [-] Find and download and clean stats on pro tennis players for the last 10 or so years
- [-] Find and modify images of pro players
- [-] Create dashboard of the game
- [-] Scoring system and moving cards to winner
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GNU General Public License v3.0. See LICENSE.txt
for more information.
Your Name - @twitter_handle) - info@oriondvd.co.uk
Project Link: https://github.com/gkennaugh/tennis-top-trumps