Add simple game logic and generate randNum function between 1-9.