test set up working.  small refactor in random games