Ticket #1401 (new task)
Generate a network syncronised random seed for AI's
| Reported by: | quantumstate | Owned by: | |
|---|---|---|---|
| Priority: | Should Have | Milestone: | Backlog |
| Component: | UI & Simulation | Keywords: | |
| Cc: |
Description
AI's can currently use the Math.random() function but the seed is always the same. This should be set randomly at the start of a match.
Currently AI's try to use the game's state to generate some entropy in the random numbers which is not ideal.
Note: See
TracTickets for help on using
tickets.

Adding to this: for debugging purposes, it would be nice to have this as a configurable variable (or to be able to overwrite it). It's sometimes nice to have games following the same patterns for debugging AIs.