You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 7, 2024. It is now read-only.
ConnectFour always chooses first player to join as player to start first instead of being truly random.
The following is the code associated with selecting a random entry from a generic list.
Other methods of generating pseudo-random numbers will be employed in order to get a more variable outcome.
The problem
ConnectFour always chooses first player to join as player to start first instead of being truly random.
The following is the code associated with selecting a random entry from a generic list.
Other methods of generating pseudo-random numbers will be employed in order to get a more variable outcome.
Note
We have tried both using the Basic (0.3) RandomUtils utility and a modified one, but neither produce a favorable outcome.