red42 / HTML5_Genetic_Cars

A genetic algorithm car evolver in HTML5 canvas.
zlib License
1.19k stars 290 forks source link

Make initial random seed derive from initial text in seed textbox, rather than random value #24

Closed Wolfe-Lyon closed 7 years ago

Wolfe-Lyon commented 8 years ago

When initialising, a random seed is chosen randomly, however when resetting the world the random seed is derived from the content of the random seed text box.

This change makes things more consistent, such that the random seed is always derived from the content of the random seed text box regardless of whether we are resetting or initialising.

red42 commented 7 years ago

Sorry for taking this long to reply. This is by design. The idea is to have a new experience every time the page is loaded.