-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Unity 4.x Game Development by Example: Beginner's Guide
By :

If you're the kind of reader who's in it for the pictures, you may have found this chapter challenging. An important skill of a computer programmer is to describe nonvisual things, like thought, in concrete steps that a computer can easily digest. But first you, as a human, have to properly digest them!
By using the example of a fairly simple game like Tic Tac Toe, you've walked half a block in the shoes of the computer scientists who programmed a computer to defeat the world's best chess player at his, and humankind's, own game.
In this chapter, you:
Learned to break a strategy game down into its core elements
Explored game trees, and how they can be used to map out all of the branching positions possible in a strategy game
Prioritized a list of strategic options to create a preferred plan of attack.
Used the ||
(or) operator to build more sophisticated conditional statements
Discovered how to create the illusion of thought by adding pauses in the computer's actions, and by choosing randomly...
Change the font size
Change margin width
Change background colour