Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
iPhone Game Blueprints

You're reading from   iPhone Game Blueprints If you're looking for inspiration for your first or next iPhone game, look no further. This brilliant hands-on guide contains 7 practical projects that cover everything from animation to augmented reality. Game on!

Arrow left icon
Product type Paperback
Published in Dec 2013
Publisher Packt
ISBN-13 9781849690263
Length 358 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Igor Uduslivii Igor Uduslivii
Author Profile Icon Igor Uduslivii
Igor Uduslivii
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Starting the Game FREE CHAPTER 2. Ergonomics 3. Gesture Games 4. Card and Board Games 5. Puzzles 6. Platformer 7. Adventure 8. Action Games 9. Games with Reality Index

Powerful objects


Roughly speaking, any board or card game is a comparison of one object's properties and abilities with another. Let's take two cards; one is white and holds the number 1, the other is black and holds the number 2. If the most obvious rules are applied, the second card is more powerful, so it wins because two is greater than one.

This is the basis of a strategic game called Stratego (http://en.wikipedia.org/wiki/Stratego). It uses simple arithmetic comparisons to determine the winner of battle between two game pieces (each of them can represent soldiers, officers, or special items such as bombs). In most cases, the piece with a higher rank defeats its opponent; for example, a colonel, who ranks at 8 easily overpowers a sergeant who ranks at 4. The logic is pretty elementary and very descriptive, but it has not much intrigue as there are no unexpected turns. This problem can be fixed by introducing extra conditions that work on special occasions.

Let's return to our example...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image