Why Choose Us?
0% AI Guarantee
Human-written only.
24/7 Support
Anytime, anywhere.
Plagiarism Free
100% Original.
Expert Tutors
Masters & PhDs.
100% Confidential
Your privacy matters.
On-Time Delivery
Never miss a deadline.
The assignment must be completed on Khan academy's programming environment
The assignment must be completed on Khan academy's programming environment. Please follow the direction on the attachment pdf file. For this mole mash game, the program will use my bitmoji (digital drawn image of me), in place of the mole. In this link here, I've coded and drawn my bitmoji, and this code will need to be used in the mole mash game. here's a link to the bitmoji code: https://www.khanacademy.org/computer-programming/bitmoji-mash-game/5312377031442432 You can either use that project there to code the mole mash game, and save it accordingly, or you can start another program entirely, with this link, https://www.khanacademy.org/computer-programming/new/pjs But the instructions for the assignment are detailed explicitly on the pdf attachment and it includes a solution outline
A. Programming A Mole Mash Game
You will create a Javascript program in Khan Academy that creates a mole mash game. Mole mash is an arcade game where the mole pops up and you try to bop it with a hammer. You should use all the concepts and skills you learned about in your Khan
Academy course materials to create your program.
- Create a Khan Academy Javascript program by clicking here. Make sure you are logged into your Khan Academy account and regularly save your work!
- Watch the video to see an example of the program running. https://www.youtube.com/watch?v=EMtGLZqnyW8
- Review the MOLE MASH SOLUTION OUTLINE below to see a code outline as a
possible solution to implementing your mole mash game in Javascript.
- Write a program that creates a mole mash game. It must meet the following requirements:
? Create a mash game where your bitmoji
(https://www.khanacademy.org/computer-programming/bitmoji-code /5300960203063296) pops up at random locations and the user gets one point for every time they click on it.
? When the user gets to five points, change the scene background and speed the game up.
? When the user gets to ten points, the game is over.
- ? Your program must meet exactly these specifications. Deviation from these specifications will result in your program receiving a zero.
Javascript Mole Mash Solution Outline
You may use the following code outline as a possible solution to help you implement your mole mash game in Javascript:
/*
- Have the mash character's X and Y coordinates be global variables characterX and characterY.
- Keep a global variable for the score.
- Set the frameRate. Look at the documentation for the draw function's frame rate. Set the framerate to 0.5 at first to make the game easy. For
Level 2 increase the frame rate to 1.
*/
/*
Define mouseClicked built-in function
- Have it check to see if the mouse was clicked on the mash character by checking mouseX relative to characterX and mouseY relative to characterY.
- If the mouse was clicked on the character, increment the score and text the new score to the screen.
*/
/*
Define a game function
- Have it draw a background.
- Have it set characterX and character Y to random values.
- Have it call your drawBitmoji function at characterX and characterY.
- Have it put the score on the screen.
*/
/*
Define the draw function
Call the game function
*/
? Save this program as lastname_molemash, where lastname is your last name.
Provide the sharable link to the khan academy programG
GRADING RUBRIC

Expert Solution
PFA
Archived Solution
You have full access to this solution. To save a copy with all formatting and attachments, use the button below.
For ready-to-submit work, please order a fresh solution below.





