Random reigns supreme
Being able to pull and effectively use random numbers is another game development essential. With random numbers, you can make sure every card deal is different, like you've just done with your Robot Repair game. You can make enemies behave unpredictably, making it seem as though they're acting intelligently (without having to bother with complicated Artificial Intelligence programming! See Chapter 12, Game #5 –Kisses 'n' Hugs, for more on this technique.) You can make spaceships attack from surprising angles. You can build an avatar system with a Shuffle button that randomly dresses up your player's character.
The best game developers use random numbers to make their games meatier, more visually appealing, and more fun! The worst game developers use random numbers in all the wrong ways. Imagine a game where, whenever you shot a gun, the bullet traveled in a completely random direction! Random numbers can dramatically help or hinder your gameplay. Use them wisely, and...