Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

38-XI

A football draft simulator inspired by 38-0.app. Pick a league, spin for a club and season, build your ultimate XI from their squad, then simulate a full 38-game season to see where you finish.

How to Play

  1. Choose a league — La Liga or Turkish Süper Lig
  2. Set your era — filter to a specific range of seasons using the slider
  3. Pick your formation and difficulty
  4. Spin the wheel — you get a random club and season
  5. Draft players from that squad into your XI
  6. Move players mid-draft to free up positions (e.g. move your CM to LB to unlock a new CM slot)
  7. Simulate the season — 38 gameweeks, live match ticker, goal scorers included
  8. See your result — final table position, W/D/L record, match history

Features

  • La Liga and Turkish Süper Lig support
  • Historical squads from the early 1980s through 2025-26
  • Prime Mode — every player at their career-best rating
  • Position-based or squad-first draft modes
  • Move players around after drafting to optimise your XI
  • Season history — tracks your last 10 squads with expandable squad details (saved in browser)
  • Fully self-contained — one HTML file, no install, no server needed

Files

File Purpose
38-xi-draft.html The game — open this in any browser
collector.html Tool for scraping and exporting player data
player_data.json Player database (injected into the game by build.py)
build.py Merges player_data.json into the HTML to keep it self-contained

Adding Player Data

  1. Open collector.html in your browser
  2. Select a league (La Liga or Süper Lig)
  3. Use the bookmarklet on sofifa.com or fifaindex.com to extract players
  4. Paste the data, set the season, click Add to Collection
  5. When done, click Export player_data.json
  6. Run python build.py to inject the data into 38-xi-draft.html

Playing Online

Just open 38-xi-draft.html in any browser — or share the GitHub Pages link with friends. No account or install needed.

About

38-XI is a squad builder for LaLiga and Turkish Super Lig

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages