Ticket #1401 (new task)

Opened 13 months ago

Last modified 13 months ago

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.

Change History

comment:1 Changed 13 months ago by wraitii

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.

Note: See TracTickets for help on using tickets.