Inspiration

Our inspiration comes from a funny website where a chatbot gothers data and 'analyzes' your music tastes. Since we like soccer, we decided to start with gathering statistics from soccer super stars and allow our users to compare players in the market and build the best team.

What it does

There are three major functions: purchasing, building and comparing. The users can first explore the 'market' page and pick players based on their first impression. Then, they can choose to either start building a 5-men soccer team with the players they just added on the 'team' page, or go to the 'compare' page and compare more detailed statistics between twe players.

How we built it

We first retrieved data of 2700+ real soccer players from FBref.com using Python. Meanwhile, we started building the website with html, javascript and css. While some of us focused on completing the website as planned, the others kept looking for images and additional data for the top 65 players in our database. Finally, we tried to implement our collected data on the website.

Challenges we ran into

While retrieving data from the soccer website, many players were duplicated due to the winter transfers ( the same players that have two different records in diffrent clubs before and after the transfer). Also, since we were less familiar with javascript, we were often stuck by errors and bugs.

Accomplishments that we're proud of

We feel proud that as beginners, we were able to extract thousands of data from a website and aplly them with a fairly interactive (hopefully interesting) website.

What we learned

We have learned that it is still important to take breaks during a hackathon, otherwise it can be really really exhausting. Also, we have learned that we should be organize our files and name them nicely so that we decrease the chance of making deadly mistakes :(

What's next for Soccer Team Fantasy

We will update the players' statistics once a while based as the season goes on. We would also try to add more pages, functions, players or maybe even a 'chatbot' to the website.

Share this project:

Updates