move random_guess() to games module