The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Battleship game
You are provided with files that run a rudimentary version of Archaeology. In its current form, it digs in one hard-coded cell when the page is loaded. Additional digs require calls from the console. Your task is to work out better approaches for interacting with the game and displaying the outcomes of the player's actions.
The files will be reviewed in class. To extend the game, you do not need to modify the board.js file to meet the basic requirements of the assignment. However, you will need to further develop the game.js file. In addition, you will need to add counters that keep track of the player's performance.
Requirements
You are provided with files that run a rudimentary version of Archaeology. In its current form, it digs in one hard-coded cell when the page is loaded. Additional digs require calls from the console. Your task is to work out better approaches for interacting with the game and displaying the outcomes of the player's actions.
The files will be reviewed in class. To extend the game, you do not need to modify the board.js file to meet the basic requirements of the assignment. However, you will need to further develop the game.js file. In addition, you will need to add counters that keep track of the player's performance.
 your game must meet the following requirements:
In addition to these game requirements, the html and js code should follow good scripting practices including the following:
Â
Attachments: