Test your knowledge of English Premier League players by guessing who has the higher stat in Goals, Assists, or Appearances. Correct answers swap the lower-rated player with a new one. If the same player is the higher-rated for two rounds in a row, they are replaced. Witty comments add fun to the game based on your score!
🔗 Play the Game Here: StatOff
- Choose between Goals, Assists, or Appearances.
- Guess the player with the higher stat.
- Correct answers swap players, and repeated higher players get replaced.
- Enjoy witty score-based comments.
- Built with React JS and Tailwind CSS.
In this project, I learned about web scraping after struggling to find an API for player data. I used Claude AI to help me write a web scraper for the website Transfermarkt. The scraper collected data for around 200 Premier League players, which was then parsed into a JSON format.
The web scraper code is located in the api folder (to be run in the console), and the resulting JSON with player data is stored in the src/assets folder. This process helped me dive into web scraping and gave me hands-on experience in extracting and working with real-world data. It also improved my ability to handle and organize data efficiently.