New random function for 6x8 game