implemented a random time delay between 1 and 3 seconds for bot decision making