Help I am stuck

Hello,

I need help with my class project. I have no outline for the following and need help getting started. Its to develop a matching game.

TCIS112_Final_Quiz_Silly_Game.aia (44.4 KB) The app is supposed to work as follows:

  1. When the app initializes, the space above the CLICK ME!! button should be empty, and the Matches and Mismatches values should be set to 0.
  2. When the CLICK ME!! button is clicked, two random images should appear above the button. This step must make use of the getRandomImages procedure. The procedure block is already in the app, but it needs to be finished and correctly implemented.
  3. If the two images are the same, the Matches amount should increase by 1.
  4. If the two images are different, the Mismatches amount should increase by 1.
  5. There is one major error in the existing code that needs to be fixed in order to complete a key task.
  6. Add a RESET button so that the app goes back to the same state as in item 1. Create and implement a procedure block called init to accomplish this. Be sure to call init when the app initializes and also when the RESET button is clicked.
  7. Tidy up the app design by making sure the CLICK ME!! button has a different background color than the RESET button (you can pick any colors you like). Additionally, make sure the RESET button takes up the full width of its parent, and also change its font size to 16.

Welcome Elizabeth.

Final Quiz? You have no outline? Did you load the Project aia file? It seems there are Blocks already started in the Blocks screen and the basic components are in the Designer.

What help do you need in getting started? The aia contains the required images.

Still stuck? Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles

How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also look here http://kio4.com/appinventor/index.htm and here http://www.imagnity.com/tutorial-index/ for more tutorials.

Learn about components http://ai2.appinventor.mit.edu/reference/components/
and visit the Library http://appinventor.mit.edu/explore/library Help>Library on the MENU

I am looking on how to build on it. The outline is as follows.

  1. When the app initializes, the space above the CLICK ME!! button should be empty, and the Matches and Mismatches values should be set to 0.
  2. When the CLICK ME!! button is clicked, two random images should appear above the button. This step must make use of the getRandomImages procedure. The procedure block is already in the app, but it needs to be finished and correctly implemented.
  3. If the two images are the same, the Matches amount should increase by 1.
  4. If the two images are different, the Mismatches amount should increase by 1.
  5. There is one major error in the existing code that needs to be fixed in order to complete a key task.
  6. Add a RESET button so that the app goes back to the same state as in item 1. Create and implement a procedure block called init to accomplish this. Be sure to call init when the app initializes and also when the RESET button is clicked.
  7. Tidy up the app design by making sure the CLICK ME!! button has a different background color than the RESET button (you can pick any colors you like). Additionally, make sure the RESET button takes up the full width of its parent, and also change its font size to 16.

Sorry Elizabeth, you have to do this. Did you load the aia into the Designer?

Lewis Carrol wrote in Alice in Wonderland “Begin at the beginning," the King said, very gravely, "and go on till you come to the end: then stop.” Start at # 1 and end at # 6 in the outline.

Maybe you would like to start by making a List of images instead of # 1? Start with icon.1png and fill in all the empty puzzle slots using red Text boxes? (You might have to type icon1.png into the first piece...and do something similar until your List contains all the images don't you think?)

sillygame

Good luck. :slight_smile: