Skip to content

Repository files navigation

Fantasy World Cup

About

Fantasy WC is a full-stack web application cloned and inspired by Fantasy Premier League with a twist. The game involves building a tema of past and present world cup heroes to get the highest score and brag to your friends.

Click to view FantasyWC Live

💻 Tech Stack

Languages:

JavaScript Python HTML CSS

Backend Development:

Flask

Frontend Development:

react react-router redux

Features:

Leagues

Users can create and join leagues to compete with friends. Leagues can be customized to allow different team budgets, and set varrying combinations of world cups to choose players from.

img

Teams

Create teams to fill out your fantasy of being a manager during the World Cup. Managers may change team formations and gain points every matchday depending on their starting 11.

img

Player Transfers

Managers can transfer players in and out of their team during the World Cup. Have Toni Kroos 2014 for the 7-1 semi-final thrashing of Brazil, and transfer him out for Iniesta's 2010 goal and man of the match performance in the final. You better not transfer out Messi 2022 though, you'd be shooting yourself in the foot.

img

Leaderboards

Each league comes with a dedicated leaderboard to track which teams and managers performed the best. Scores are updated as new team's join and earn points.

img

📁 Installation

  1. Clone this repository (only this branch)

  2. Install dependencies

    pipenv install -r requirements.txt
  3. Create a .env file based on the example with proper settings for your development environment

  4. Make sure the SQLite3 database connection URL is in the .env file

  5. This starter organizes all tables inside the flask_schema schema, defined by the SCHEMA environment variable. Replace the value for SCHEMA with a unique name, making sure you use the snake_case convention.

  6. Get into your pipenv, migrate your database, seed your database, and run your Flask app

    pipenv shell
    flask db upgrade
    flask seed all
    flask run
  7. To run the React App in development, checkout the README inside the react-app directory.

About

Fantasy Premier League type clone made using historical data from past world cups

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages