Let’s build a Battleship gameOur first attempt...First, a high-level designA few more details...Representing the shipsGetting user inputDisplaying the resultsWorking through the PseudocodeOh, before we go any further, don’t forget the HTML!Writing the Simple Battleship codeNow let’s write the game logicStep One: setting up the loop, getting some inputHow prompt worksChecking the user’s guessSo, do we have a hit?Adding the hit detection codeHey, you sank my battleship!Provide some post-game analysisAnd that completes the logic!Doing a little Quality AssuranceCan we talk about your verbosity...Finishing the Simple Battleship gameHow to assign random locationsThe world-famous recipe for generating a random numberBack to do a little more QACongrats on your first true JavaScript program, and a short word about reusing code