Wednesday 16 November 2022

World Cup 2022 Simulation - footballsimulationengine v4.0.0

 World Cup 2022 - Football Simulation Engine


I have revamped the World Cup 2018 from a few years ago https://aidensgallyvanting.blogspot.com/2018/06/russia-world-cup-2018-simulator.html and updated it with the latest teams and players. 

1. Pick your two teams and click select teams.
Hint: If you don't pick any teams or only pick one, just click "select teams" and it'll randomly pick two teams. 

This dynamically generates 11 selection boxes with each countries squad displayed in each box, ready to pick your team. You will also need to select your formation or it won't work!

2. Pick your players. Not sure who to pick? Just click random select and it will pick a formation. This will fill in each position with either a Goalkeeper, a Defender, a Midfielder or a Forward depending on the formation and the players preferred position.
Hint: Not all player of a certain type will be put in their best position i.e. an RB in a CB position!

3. Hit simulate match. After you hit "Simulate Match" you'll see a screen with all the players selected and the positions they were put in. At which point you can either do a "Quick Match" which simulates the match with updates to the statistics or you can "Watch Match" which will give a graphical view.

--------------------------------------------------------------------------------------------

First Match - Qatar vs Ecuador


Results

You can store your results in the 'public/WC22.html' file in the html table. Which looks something like so..

I'll post an update on how close the first round of results were next week after the real matches have occurred. 

No comments:

Post a Comment