Book Image

HTML5 Game Development Hotshot

By : Seng Hin Mak, Makzan Makzan (Mak Seng Hin)
Book Image

HTML5 Game Development Hotshot

By: Seng Hin Mak, Makzan Makzan (Mak Seng Hin)

Overview of this book

Table of Contents (15 chapters)
HTML5 Game Development HOTSHOT
About the Author
About the Reviewers

Mission briefing

At the beginning of the game, we will show the player a new city. The player will act as its mayor, create buildings in his/her way, and earn coins.

We'll build a tiny economy system, which is made up of coins, diamonds, a power supply, and populations. Coins are the major currency, diamonds are the luxury resource, each building increases the population of the city, and the power supply building generates power to support the population. The power capacity of the supplies must be larger than the required population in order to create new buildings.

We introduced three types of buildings that affect the economy. They are the coins generator, power supply, and merchant. The player's goal is to create a beautiful city and collect as many coins and diamonds as possible.

You can visit to play the example game in order to have a better understand of what we will build throughout this project:

The following is a screenshot of the game...