dannyhammer / TwoPlayerGames

Undergraduate research into the mechanics of simple two-player games.
3 stars 2 forks source link

Allow Players to be compared by fitness and wins #97

Open dannyhammer opened 3 years ago

dannyhammer commented 3 years ago

Currently, Players are compared by their fitness. However, if both players have an identical fitness, they are said to be at an equal level, regardless of how many games they have played.

Fix: Set it up so that two players with identical fitness will be compared by their number of wins. This should be a simple fix inside the player class, in the comparison methods.