Monday, 14 November 2016

Advancing our Game further

Previous: Complete C# code
We learn the basics of working with unity. The game developed so far is a skeleton game. Only one box dropped and collected.

What we know:
Story line:
The game involves some boxes that drop from above and the player is required to collect the boxes. At the end of the game. the player should be able to tell how many boxes we generate and how many s/he managed to collect.

What we have done so far:
Dropped a box and collect it and, display the number of box collected . To further our game, we need to drop more boxes and collect them. This will enable us display the total boxes generated.  We need to advance our story line:

Updated Story line:
The game involves some boxes that drop from above and the player is required to collect the boxes.The boxes drop from any point above the catch up box. We move the catch up box to collect the boxes on left or right. No box should fall down. At the end of the game. the player should be able to tell how many boxes we generate and how many s/he managed to collect.

The new story line provides:
  1. We generate the boxes randomly.
  2. Move catch up box right or left. This now defines the player. 
  3. Display the boxes lost.
  4. Display total boxes dropped
To break the game, we advance our code to move the catch up box, then generate more boxes before displaying our score. We then need to redefine our pseudo code to reflect the new changes

Next: Update our pseudo code

No comments:

Post a Comment