Question: Create a game using HTML/JAVA SCRIPT create a game using HTML/ JAVA SCRIPT , make a moving car running and avoiding obstacles such as road
Create a game using HTML/JAVA SCRIPT create a game using HTML/ JAVA SCRIPT
, make a moving car running and avoiding obstacles such as road hazards and give it a nice background and good controls, players can able to move the car with arrow keys and when it crashes the says "game over"
There must be a clear way to start your program when the page initially loads (note you can use any of the event handles such as onclick, on mouseover, onload, etc.). "Style" points will be awarded for things like well-commented and nicely structured code. Poor structure can include things like duplicated code, needlessly complicated organization or program flow, etc. Use multiple variables and/or an array (i.e., a list) in your project in some way. Your project must meet the following minimum requirements for types of control statements and I/O statements used: must use at least two input fields (textbox, button, ) must use at least one loop must use at least one if-else statement must use at least two functions of your own creation must use at least two variables and/or a list the webpage must not be blank in terms of background - i.e., add some style and color to the HTML must be interactive such that there are places where program behavior is based upon input by the user.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
