Add a method for seeding the random number generator so that the game is not always the same
after Reset. (See the srandom() function in stdlib.h) Seeding is often done based on a
timer value – e.g. wait for a user to press a button to start the game and use the time that happens
as the seed value.
Add a method for seeding the random number generator so that the game is not always the same after Reset. (See the srandom() function in stdlib.h) Seeding is often done based on a timer value – e.g. wait for a user to press a button to start the game and use the time that happens as the seed value.