View the step-by-step solution to:

HELLO I NEED SOME HELP This program will show the user a table of values and their job will be to match 3 or more in a row (or column) of any of the...

HELLO I NEED SOME HELP

This program will show the user a table of values and their job will be to match 3 or more in a row (or column) of any of the available values. Many popular examples of these types of games include bejeweled, candy crush, and puzzle quest. 

Obviously there will be some kind of 2 dimensional board which will hold all of the tiles/cells. Each tile can then be switched with a tile adjacent to it, which may MAKE A 3 or more of the same (or corresponding) tiles. Typically, in these games when 3 or more of the same KIND Are together they disappear and all the tiles above will drop down (there are many variations on this though). New tiles then fill the empty place at the top. 

The objective is to get as many points as possible, clear the board (by not creating new tiles at the top), collect certain types of tiles, or MAKE A match on every tile/cell (clear the icing in candy crush). Detecting the win condition and showing the user's progress (score or number of tiles hit) will be challenging. There should be at least 3 different win conditions available.

These games are also typically limited by time and the number of moves you can make. Whether the game limits time or not, it should still be taken note of. That any the number of moves taken should be shown to the user in some kind of completion screen. Otherwise, if the user loses, then it should show an appropriate end game screen and allow them to try again. 

The cells are filled typically with jewels or candy but in this case all you have is text (it could be colored). You can however color the text to make it a bit more interesting. For more of a challenge you could create cells that are larger than 1 character in size making symbols.

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question