+
Skip to content

estomagordo/xi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

Picking the greatest ever XI

Subject to the following rules:

  • Players must have played while you were alive.
  • No two players from the same country
  • No two players who have represented the same club

As detailed in this tweet

Anyone can use this utitlity to find their own dream eleven.

It must be said though, that it is mosty built for my needs and is not intended as a super-user-friendly application.

Just add, remove or edit any data as you see fit. The last value for a player is a subjective rating on that player's strength, or quality as a player. Obviously make sure you agree with this before running the program.

To run: Make sure your system has Python 3 installed. Then open a terminal and the same directory as xi.py and type

python xi.py

Or use python3 if that is the name of your executable, of course.

That's it. By default, it displayes the three best elevens for 4-3-3, 4-4-2 and 3-4-3 formations. This is obviously configurable too.

Just beware, the actual runtime of this program can be several minutes, and grows quickly with the number of players and formations.

Currently, I am getting 94 point teams at best. Here are my two favourites:

Team strength: 94

   Salah                              Shearer                              Messi
  Zidane          David Silva                         Valderrama           Giggs
                    Maldini          Koulibaly         Matthäus
                                       Oblak

Team strength: 94

                     Messi                              Drogba
  Zidane            Gerrard         David Silva       Valderrama           Giggs
                    Maldini          Koulibaly         Matthäus
                                       Oblak

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载