I have an interesting one that I'm a bit stuck on!
I am trying to work out what caused this bug https://boardgamearena.com/bug?id=147610, so that I can stop it happening.
The bug is that when the game is refreshed (most noticeable in turn based mode) the logs are showing out of order: imgur.com/a/LR48KLq
I have thought for a while that the game was just logging too much, and that the timestamps of logs were too close together for BGA to cope with showing them correctly, so my solution is to not log as often.
However, when I think of other games that cause lots of logs in a short space of time e.g. exploding kittens (example game: https://boardgamearena.com/3/explodingk ... =722696613), I can't find any evidence of this being a problem.
So I don't really understand why the issue is only present in the below code. What is it doing wrong/differently to everything else?
The code with the bug is here (note that it's on the original edition branch, not Main): https://github.com/ShaPhi7/loveletter/b ... r.game.php
I am trying to work out what caused this bug https://boardgamearena.com/bug?id=147610, so that I can stop it happening.
The bug is that when the game is refreshed (most noticeable in turn based mode) the logs are showing out of order: imgur.com/a/LR48KLq
I have thought for a while that the game was just logging too much, and that the timestamps of logs were too close together for BGA to cope with showing them correctly, so my solution is to not log as often.
However, when I think of other games that cause lots of logs in a short space of time e.g. exploding kittens (example game: https://boardgamearena.com/3/explodingk ... =722696613), I can't find any evidence of this being a problem.
So I don't really understand why the issue is only present in the below code. What is it doing wrong/differently to everything else?
The code with the bug is here (note that it's on the original edition branch, not Main): https://github.com/ShaPhi7/loveletter/b ... r.game.php