An open API service indexing awesome lists of open source software.

https://github.com/luisfernandovillalon/battleship-tod

The Odin Project: Battleship
https://github.com/luisfernandovillalon/battleship-tod

css html javascript module-manager npm ui webdevelopment webpack

Last synced: 3 months ago
JSON representation

The Odin Project: Battleship

Awesome Lists containing this project

README

        

# Battleship

Project: Battleship game application - The Odin Project

# Summary

This application allows the user to play the classic game of Battleship against a computer.
The application first asks for the user to inpu their name. Then the application will ask the user to set their 5 boats on the gameboard. Once the ships have been set the game can begin. Everytime the user clicks on a cell the computer's gameboard, the gameboard will indicate whether the user hit a target ship or missed. Whenever the user clicks on a computer gameboard cell, the computer automatically runs their turn. The computer's decision is random. The computer's boats are set to be in the same position every game.

# Technologies

HTML, CSS, JavaScript, Modules, Jest