Wednesday, October 5, 2011

It's Your Move!

Today I spent some time applying some more columns and cleaning the code up a little. There were some for each loops and case statements that could have been a little less complicated to begin with. All nice and tidy now!
But more importantly:

  • The Players' Move
    The idea of this game is that the player selects a Quart, and then selects an adjacent Quart to swap it with. If the swap connects three Quartz of the same colour in a row (either vertically or horizontally) then those quartz are deleted from the grid. And from our work before if there's any quartz above they fill in the gap.

  • Who's Keeping Score?
    Also adding a basic Score system whereby each successful move gives the player 10 points. This score is updated and displayed on screen. There is also a multiplier function that multiplies each successful move that generates additional connections. so if the player makes a connection and some Quartz drop, and another connection is automatically made, their score is multiplied by the Multiplier (which is also displayed under the score). When the player makes another move that doesn't create any additional connections, the multiplier is reset.

    Should the player make an unsuccessful move, and no connection is made from the swap, then the Quartz return to their original position ie. they are swapped back.

  • Level Design
    After playing around with screen sizes and amounts of Quartz to display on screen, I decided to go with an initial 5x5 grid. This gives enough room to expand the grid size to increase difficulty as the levels progress.

    Next Step, Play Testing and Fine Tuning the Rules a bit. Also I'll upload a playable demo of the game so far - so Stay Tuned!
  • No comments:

    Post a Comment