Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
A HTML game code for my website any help. Video Game Some web pages are written in a comibination of HTML and JavaScript. In this Application, you will create a video game using HTML and JavaScript. The idea of the game is that an image will move on screen randomly and the player will try to click the image as many times as possible before time runs out. The score will increase each time the player successfully clicks the image. Perform the following steps: 1. Create a Web page called "game.html" and place it in the root directory. To that page, add a layer, which will be treated as an object, with an image for its contents. Add another image which will start the game when clicked on. When the game starts, the layer, including the image, will move randomly in any direction but not more than 10 pixels. The layer will not leave the visible screen space. You may assume an 800x600 resolution setting. Be creative when choosing your images, but avoid anything that may be considered explicit or offensive. 2. Add a timer, or loop, to determine how long the game will run. This should be set to 30 seconds. You will need to experiment to determine how many times a loop must repeat to make it last 30 seconds. One of the ways to accomplish this is by using the command "setTimeout()" which executes a code some time in the future. As an example, the following command will call the function "FlyLogoIE" exactly 50 milliseconds after this line is executed: setTimeout("FlyLogoIE()",50); 3. The game should proceed as follows: a. The score starts at 0. Each time the user clicks the image, one point is added to the score. This score is constantly displayed either on the status bar or somewhere in the background. b. On every click, the layer also moves randomly, by not more than 10 pixels, to another part of the screen. c. The game continues until the time runs out. Optionally, a dialog box appears telling the user his or her final score. The user now has the option to restart the game by clicking the "Start" image again. 4. For an extra challenge, implement levels of difficulty for the game. Add instructions that prompt the user for the level of difficulty at which he or she wants to play. A higher level of difficulty would correspond to either faster motion, a smaller target, or both. Perform this step only if all other requirements are met and you still have time before the due date. No extra points will be given to you for this step. 5. Add a link from your homepage to this web page. 6. Test the code thoroughly before publishing it. 7. Publish your work by uploading the new and modified files to your web host. 8. You can use the checklist to test the code thoroughly after it has been uploaded. It is highly unlikely that your game will work perfectly the first time. This step illustrates the need for code validation, especially on dynamic content. Use this rubric to estimate your grade on the assignment. Submit a copy of the completed form with your assignment. Zip your files, including the Word document, into a single file and submit it.
Draw the following protein molecule, Need to draw the following molecule (using the lewis condensed line structure).
what is the conclusion for determination of percent composition in hydrated compound
If you were to perform this reaction in a lab, you would make far less than the theoretical yield of product due to a wide range of outside factors. We can compare the actual yield to the theoretical yield to calculate the percent yield:
What is the net ionic equation for a solution of calcium chloride and a solution of mercury (I) nitrate
A solution of acetic acid is prepared in water by adding 11.1 g of sodium acetate to a volumetric flask and bringing the volume to 1.0 L with water. the final pH is measured to be 5.25. what are the contrations of acetate and acetate acid in solut..
Calculate the partial pressure of each gas and the total pressure if the temperature of the gas is 18 degrees celsius
Arrange equimolar solutions of the following compounds in the increasing pH (lowest to highest). Explain your answer.
An unknown metal forms two different compounds with oxygen. When a 2.412 g sample of the metal is combined with oxygen, 3.466 g of Oxide A are formed. What is the cation charge for oxide A
Some alloys of early and late transition metals (e.g., ZrPt3) have much higher enthalpies of vaporization (per metal atom) than either of the pure metals
eject electrons from a mixed alkali metal photocathode, what is the longest wavelength in nm of light necessary to eject these electrons by the photoelectric effect?
How many liters of O2 are needed to react completely with 45.0L of H2S at STP? 2H2S(g) + 3O2(g) -> 2SO2(g) +2H20(g)
What is the density of gallium in grams per cubic centimeter at 25 C if a 1.00 cube has a mass of 0.2133.
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd