Infinite tournament games loop with AI
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 940
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 160
Description
Tournament with AI can goes to infinite games loop:
```
INFO 2019-12-22 08:51:34,494 GAME END gameId: ffd9e11d-b8d2-4879-813a-cc4022662d61 [Computer Player 5 => L] - [Computer Player 4 => L] =>[GAME ffd9e11d-b8d2-4879-813a-cc4022662d61] GameImpl.play
INFO 2019-12-22 08:51:34,494 GAME started 40d7cd8b-403c-4fba-a57a-892b366ff85d [] null - Computer Player 4 - Computer Player 5 =>[GAME ffd9e11d-b8d2-4879-813a-cc4022662d61] TableController.startGame
INFO 2019-12-22 08:51:34,707 GAME END gameId: 3dbff681-8e50-451b-94a4-6c1c24883635 [Computer Player 3 => L] - [Computer Player 2 => L] =>[GAME 3dbff681-8e50-451b-94a4-6c1c24883635] GameImpl.play
INFO 2019-12-22 08:51:34,707 GAME started c1eafdc8-048c-4fb7-98fe-5a862c0fc6a4 [] null - Computer Player 2 - Computer Player 3 =>[GAME 3dbff681-8e50-451b-94a4-6c1c24883635] TableController.startGame
INFO 2019-12-22 08:51:35,495 GAME END gameId: 40d7cd8b-403c-4fba-a57a-892b366ff85d [Computer Player 4 => L] - [Computer Player 5 => L] =>[GAME 40d7cd8b-403c-4fba-a57a-892b366ff85d] GameImpl.play
INFO 2019-12-22 08:51:35,496 GAME started b1761a24-4629-43ec-9ce0-77b036a37100 [] null - Computer Player 4 - Computer Player 5 =>[GAME 40d7cd8b-403c-4fba-a57a-892b366ff85d] TableController.startGame
INFO 2019-12-22 08:51:35,708 GAME END gameId: c1eafdc8-048c-4fb7-98fe-5a862c0fc6a4 [Computer Player 2 => L] - [Computer Player 3 => L] =>[GAME c1eafdc8-048c-4fb7-98fe-5a862c0fc6a4] GameImpl.play
INFO 2019-12-22 08:51:35,709 GAME started 28607213-0b60-4740-9cdb-ced6d746a098 [] null - Computer Player 2 - Computer Player 3 =>[GAME c1eafdc8-048c-4fb7-98fe-5a862c0fc6a4] TableController.startGame
INFO 2019-12-22 08:51:36,497 GAME END gameId: b1761a24-4629-43ec-9ce0-77b036a37100 [Computer Player 4 => L] - [Computer Player 5 => L] =>[GAME b1761a24-4629-43ec-9ce0-77b036a37100] GameImpl.play
INFO 2019-12-22 08:51:36,497 GAME started bb5b35f4-ad4d-4726-939c-2db14cbd8cf9 [] null - Computer Player 4 - Computer Player 5 =>[GAME b1761a24-4629-43ec-9ce0-77b036a37100] TableController.startGame
INFO 2019-12-22 08:51:36,709 GAME END gameId: 28607213-0b60-4740-9cdb-ced6d746a098 [Computer Player 2 => L] - [Computer Player 3 => L] =>[GAME 28607213-0b60-4740-9cdb-ced6d746a098] GameImpl.play
INFO 2019-12-22 08:51:36,710 GAME started 8fe6a02a-4fc5-473b-9a98-33106f4a6b03 [] null - Computer Player 3 - Computer Player 2 =>[GAME 28607213-0b60-4740-9cdb-ced6d746a098] TableController.startGame
```


Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce a tournament with AI players and inspect the repeated GAME END and GAME started entries around GameImpl.play and TableController.startGame. Trace why completed games start new games indefinitely; done means the tournament advances normally and no longer loops endlessly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- ai, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100