8000 GitHub - bwal3822/FootballDeathPool: Managing a single elimination deathpool by week for current football season
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bwal3822/FootballDeathPool

Repository files navigation

Football Death Pool Program

Introduction

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.

Features

  • 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)

Requirements

For Command Line Version

  • Python 3.x
  • Pandas library
  • Openpyxl library (for reading Excel files)

For Web Version

  • Flask
  • Flask-WTF for forms

Installation

Command Line Version

  1. Install Python 3.x from here.
  2. Install required Python packages:
    pip install pandas
    pip install openpyxl
    

Web Version

  1. Install Flask and Flask-WTF:
    pip install Flask
    pip install Flask-WTF
    

Usage

Initialization for Both Versions

  1. Prepare an Excel file (PlayerList.xlsx) that contains the list of participants and their picks for each week.
  2. Place this file in the ./data/ directory.

Running the Command Line Program

  1. Run the program: python DeathPool.py
  2. The program will read the PlayerList.xlsx and WeeklyGameOutcome.csv files to update the game state.
  3. The program will output updated CSV files with the current state of the game.

Weekly Update for Command Line Version

  1. Update the WeeklyGameOutcome.csv file with the outcomes of the games for the week.
  2. Run the program again to update the game state.

Running the Web Version

  1. Navigate to the directory containing app.py.
  2. Run flask run.
  3. Open a web browser and go to http://127.0.0.1:5000/ to interact with the web interface.

Contributing

Feel free to fork the project and submit a pull request with your changes!

License

This project is licensed under the GNU General Public License v3.0

About

Managing a single elimination deathpool by week for current football season

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0