The Random object is created only once
Functional game mode