This program is designed to manage a Football Death Pool game. In this game, participants choose one team per week that they believe will win their game. If the chosen team loses, the participant is eliminated from the pool. The game continues until one participant remains.
- Initialize a new game with participants and their initial picks
- Update weekly game outcomes
- Check for participant elimination based on weekly game outcomes
- Output updated participant list and their status
- Web interface for easier management and display (optional)
- Python 3.x
- Pandas library
- Openpyxl library (for reading Excel files)
- Flask
- Flask-WTF for forms
- Install Python 3.x from here.
- Install required Python packages:
pip install pandas pip install openpyxl
- Install Flask and Flask-WTF:
pip install Flask pip install Flask-WTF
- Prepare an Excel file (
PlayerList.xlsx
) that contains the list of participants and their picks for each week. - Place this file in the
./data/
directory.
- Run the program:
python DeathPool.py
- The program will read the
PlayerList.xlsx
andWeeklyGameOutcome.csv
files to update the game state. - The program will output updated CSV files with the current state of the game.
- Update the
WeeklyGameOutcome.csv
file with the outcomes of the games for the week. - Run the program again to update the game state.
- Navigate to the directory containing
app.py
. - Run
flask run
. - Open a web browser and go to
http://127.0.0.1:5000/
to interact with the web interface.
Feel free to fork the project and submit a pull request with your changes!
This project is licensed under the GNU General Public License v3.0