- Mark as unread from here
- Posted: 10 years ago
- Modified: 10 years ago
-
Post #1
So I notice time to time the end of a players turn and the beginning of the next player's turn overlap. It usually just looks odd in the log, but occasionally it can ruin a game. Like this one:
10 Feb, 19:53 gerk224 ran out of time.
10 Feb, 19:50 gerk224 received 3 troops for territories.
10 Feb, 19:50 gerk224 has been defeated by cbt711.
10 Feb, 19:50 gerk224 started the turn.
10 Feb, 19:50 cbt711 ran out of time.
10 Feb, 19:50 cbt711 received a card.
10 Feb, 19:50 Eastern Australia (cbt711) attacks Papua New Guinea (gerk224) conquering it, killing 1 troops, losing 1.
I suggest maybe a 500ms (millisecond) delay for critical events like running out of time, player turns ending, conquering a player. Just so there can't be an overlap of player's turns like this. It obviously ruined the game as chaining together runs at players is how you win most of the time and this ended said chain. The result was Gerk224 had a turn with no territories to place troops on, and had to time out. Either he should have been defeated and time extended, or time should have ran out and he should have 1 troop and 1 territory left, but obviously not both. I think a simple for loop or while loop or do loop (Programmer preference) for 250 to 500 ms to let the program catch up between turns could help.
Thanks for your time.
10 Feb, 19:53 gerk224 ran out of time.
10 Feb, 19:50 gerk224 received 3 troops for territories.
10 Feb, 19:50 gerk224 has been defeated by cbt711.
10 Feb, 19:50 gerk224 started the turn.
10 Feb, 19:50 cbt711 ran out of time.
10 Feb, 19:50 cbt711 received a card.
10 Feb, 19:50 Eastern Australia (cbt711) attacks Papua New Guinea (gerk224) conquering it, killing 1 troops, losing 1.
I suggest maybe a 500ms (millisecond) delay for critical events like running out of time, player turns ending, conquering a player. Just so there can't be an overlap of player's turns like this. It obviously ruined the game as chaining together runs at players is how you win most of the time and this ended said chain. The result was Gerk224 had a turn with no territories to place troops on, and had to time out. Either he should have been defeated and time extended, or time should have ran out and he should have 1 troop and 1 territory left, but obviously not both. I think a simple for loop or while loop or do loop (Programmer preference) for 250 to 500 ms to let the program catch up between turns could help.
Thanks for your time.