Instructions:

Start by clicking group buttons in whichever order you want, each will simulate that group´s matches and write out resulting table. Tables are sorted by points, goal difference, goals scored and if teams have all of those stats tied result from match between them is the deciding factor.

When you are done with groups, button for next phase will appear and so on, until you have your simulated World Cup 2018 winner and "Try again" button appears, which resets this whole thing and you can start again.

Score is simulated with team power taken into account, which is it´s FIFA ranking somewhat modified by Russia being a host and my knowledge of football. A stronger team has better chance of winning, but, like in real world, sometimes surprises can happen!

If match ends in draw in later stages, one of the teams will win either in extra time or on penalties.

In the end, besides the winner, particularly exciting matches will be mentioned if those happened(read: many goals, not completely one-sided).

Enjoy!