Skip to content

Changing Requirements

Brenton Ashworth edited this page Jun 20, 2013 · 9 revisions

Changing Requirements

This is the first section in part two of the tutorial. In this part we will transform the simple counter application into a fun and interactive game.

The current application is kind of like a game. We get a score and we can see the score of our opponents. The current rules of the game are simple: see how fast you can click the button. It is a game of endurance. You just keep clicking until everyone else gives up.

As we will see, it won't take much to turn this into something fun.

As we create this game we will learn the following Pedestal concepts:

  • Rendering without the DOM
  • Messages with parameters
  • Building muti-page applications
  • Parallel processing
  • Controlling dataflow propagation

The Game

The new game is called "Bubble Master 2013". Instead of a button, a bubble will appear on the screen and we have pop the bubble to get a point. All we have to do to pop a bubble is touch it would our cursor. To make the game a little bit harder, the bubble will be moving around in random directions and speeds. To make the game competitive, each player will be competing to pop the some bubbles. The faster you are, the more points you get and fewer points the other players will get.

We will enhance the game by allowing players to join and use their real names instead of a UUID. We will also make it so that games start and finish.

Next steps

Let's get started.

Home | Integrating the new Design

Clone this wiki locally