Wednesday, October 15, 2014

MoleMasher

This is a blog about app inventor 2 by MIT. 

Today I have made an extremely complex game called Mole Masher. In this game you have to tap moles to score points within a time limit. 

This is the graphical interface of the game. 

This is all the coding for the game. 

This creates a variable named score and sets it to 0. 

This calls the mole sprite to move any were on the screen. 

This block shows the variable score on a label called score. 

This block adds 1 to the variable score and plays a sound every time the mole is tapped. 

This block sets the variable score to 0 and calls the update score block when the start button is clicked. 

This calls the move mole block when the timer runs out.


From making this game I have learnt how to make very advanced games and how to use variables. Thx for reading and please let me know what you think of my blog by commenting, I would really like to know what you think.



1 comment:

  1. very good post over all especially the fact that you split each block into a picture and put a little more info between each block and explain them

    good job!

    ReplyDelete