954,545 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

What design pattern should I use to make this game??

Ok so my university has assigned me the task of creating a brick breaker game for android phones (full spec below).
What I would simply like to know is which design pattern I should be using to structure my program?
If I should be using more than one which should I use and for which aspects (i.e. which parts of the program) should I use them in?

FULL SPEC:
game should
• Have functionality to start and stop games on screen (i.e. a splash screen to control game play)
• Display the score while playing
• Have a Paddle to keep ball(s) alive.
o Controlled by touches on the screen and/or sensors within the phone
o The player will lose a “life” if the paddle doesn’t keep it alive. (Try different breakout games for inspiration.)
• Have a Ball (more balls will attract a higher mark)
o The ball bounces off walls except for the wall with the paddle
o When the ball hits a box it is removed for a reward (score)
• Have Boxes
o More than one box to be removed (for a reward in score)
o More than one game level, with different layouts and numbers of boxes.
o Levels must be created in a dynamic manner, so that new levels can be created easily.
• Use Multiple Threads

To receive high marks. One must:
• Add multi-phone / multiplayer functionality (using TCP networking) with two players playing against (or collaborate with) each other simultaneously, i.e. two paddles on-screen simultaneously, one controlled by each player (worth max. 15%).

Thanks

tomtaila
Newbie Poster
4 posts since Jan 2012
Reputation Points: 10
Solved Threads: 0
 
NormR1
Posting Expert
Moderator
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
 
tomtaila
Newbie Poster
4 posts since Jan 2012
Reputation Points: 10
Solved Threads: 0
 

It is allowed IF you post links to the other sites where you have asked the same question.
No one likes to waste answering a question that has already been answered.
It allows everyone to follow all the responses for the question.

NormR1
Posting Expert
Moderator
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
 
It is allowed IF you post links to the other sites where you have asked the same question. No one likes to waste answering a question that has already been answered. It allows everyone to follow all the responses for the question.


Ok, lol actually that makes a lot of sense I was thinking "whats the problem?" before you put it that way. I'll keep it in mind for next time- cheers

tomtaila
Newbie Poster
4 posts since Jan 2012
Reputation Points: 10
Solved Threads: 0
 

Good. We'll all appreciate it.

NormR1
Posting Expert
Moderator
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: