So I made an app for soccer stats and I currently face difficulties making a leaderboard as in the image attached.
I want to do the same thing in my app. And I want to make a list with Teams followed by: wins, draws, loses, games played and team points.
And I want every time I add one of those to one of the teams, the points to be increased.
1 win = 3 points
1 draw = 1 point
1 lose = 0 points
As you can see in the image, FC Barcelona has 6 points because they’ve won 2 games.
I don’t know how to explain this any better but I hope you understood.
I hope you guys can help me with this problem. Thank you so much for your effort!