This is a simple simulator of football matches on PHP.
At the input, a CSV file with the following structure is expected:
Country;Total games;Wins;Draws;Losses;Scored and missed goals
Brazil;104;70;17;17;221 - 102
Germany;106;66;20;20;224 - 121
Italy;83;45;21;17;128 - 77
Argentina;77;42;14;21;131 - 84
Columns delimiter - ;
.
Total columns - 6
.
The 2-5 columns must contain integer values.
The last column expects two numeric values separated by a hyphen.
First line - is header.
After the first line a list of football teams is expected. The number of teams must be divisible by two.
- PHP 5.x/7.x
The MIT License (MIT)
Copyright © 2017, @meet-aleksey