The About page

Hi! My name is William May, and I'd like to wish you a warm welcome to Soccer Simulation.

This website is designed to showcase the latest incarnation of a football simulation project that has been a lifelong passion of mine. You might like to discover more by reading this article.

How to create your own simulation
  1. Go to the New Simulation page
  2. Here you will be presented with four different fields...
    • The System you choose determines from which pool of randomly generated city names the clubs in the simulation have their names drawn from
    • Num. clubs is the number of clubs that will compete in the single league competition that is simulated. This can be any value from 8 to 32. The higher this number is, the longer the simulation will take to run
    • Num. players per club is self-explanatory. This can be any value from 15 to 40. The higher this number is, the longer the simulation will take to run
    • Add custom clubs allows you to replace any number of the randomly-generated club names used in the simulation with your own, custom club names
  3. Click submit and wait for the simulation to complete. There is a progress bar and an estimated time to completion provided for your convenience, but for longer-running simulations, it's probably best to submit your email address via the input field provided, close the window and await the automated email informing you that the simulation is complete
  4. Enter your simulation and inspect the data! Almost everything on the simulation page is clickable, so my advice is to start clicking straight away and "follow your nose". The simulation is deep, so if you have an inquisitive mind and love data I'm sure there will be plenty to interest you!

    If you are viewing the app on a laptop or desktop PC, you will notice that the left-hand side of the simulation page is static, whilst the right-hand side of the page is loaded with new data with each click. This was a design decision: I figured keeping the most important data permanently visible on the left-hand side of the page would mean you are able to quickly and easily access detailed Club, Result or Player data with a single click, minimising back and forth travel.

A few practical things to note
  • The simulation page is best viewed on a laptop or desktop computer. On mobile devices one cannot view Club, Result or Player pages
  • Due to the website running off Heroku's free dynos, which go to sleep after 30 minutes of inactivity, initial page load time can be extremely slow. Read more about this in my article Heroku and the Irreplicable Problem of the Sleeping Dyno
  • Simulations are by default stored on a free MongoDB instance with a limited capacity of 512 MB. Because of these constraints, all simulations are automatically deleted from the server after 12 hours
  • If you want to persist your simulation indefinitely, you can download it as a binary file by clicking "Download" in the top-right corner of the simulation page, and then access the simulation via this application at a later date by uploading the binary file on the Existing Simulation page and hitting submit
  • Or, if you are a rabid Pythonista and want to explore the simulation on your own computer, one way to do this would be to read in and de-pickle (pickle.loads()) the file in Python

Happy simulating!