In this thread I will reveal the workings of the match simulation program and also any updates to it.
Match Simulation v0.2
Relevant stats: SRV, RTN, ATT, DEF, STA
On serve, base point win chance of server : 65%
This is adjusted based on server 's SRV stat and returner 's RTN stat: 65% + (SRV - RTN)/2
Point win chances are further adjusted using players' ATT and DEF stats; differences are taken (between both ATTs and both DEFs) and divided by 4.
STA's effect is more complicated. Average point length is calculated using the difference between both players' DEFs and both players' ATTs (more defensive play results in longer rallies). The longer the average point, the faster a player tires.
TRD (tired) is set to 100 at the start of the match for both players. It is increased by (2.5/STA) each stroke. Each point, the point win chance of players is adjusted by the difference between TRD and TRD.
So far, STS (status) and PSF (preferred surface) have no effect on gameplay.
That's it so far. Criticism, ideas, etc. are always welcome!