GithubHelp home page GithubHelp logo

jaizzer / battleship Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 286 KB

Battleship game

Home Page: https://jaizzer.github.io/battleship/

License: MIT License

JavaScript 82.86% HTML 0.48% CSS 16.67%
battleship battleship-game good-first-issue html5 online-game vanilla-css vanilla-javascript

battleship's Introduction

Battleship

Overview

Play Game

This Battleship game is a classic strategy game implemented in JavaScript. The goal of the game is to sink all of your opponent's ships before they sink yours. Players take turns guessing the coordinates of their opponent's ships on a grid. The first player to sink all of their opponent's ships wins the game.

Features

  • Single Player Mode: Play against the computer AI.
  • Multiplayer Mode: Play against a friend on the same device.
  • Responsive Design: Play the game on any device, including desktops, tablets, and smartphones.
  • Easy to Use Interface: Intuitive user interface for a seamless gaming experience.

Getting Started

To play the Battleship game, simply open Battleship.

How to Play

  1. Setup: Each player places their ships on the grid.
  2. Take Turns: Players take turns guessing the coordinates of their opponent's ships.
  3. Hit or Miss: If a guess hits an opponent's ship, it's a hit. Otherwise, it's a miss.
  4. Sink Ships: Continue guessing until all of your opponent's ships are sunk.
  5. Winning: The first player to sink all of their opponent's ships wins the game.

License

This project is licensed under the MIT License - see the LICENSE file for details.

battleship's People

Contributors

jaizzer avatar

Stargazers

 avatar  avatar

Watchers

 avatar

battleship's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.