Skip to content

Experience classic naval warfare in this digital rendition of Battleship. Strategically position your fleet, engage in thrilling battles against an AI opponent, and aim for victory on the high seas.

License

shravzzv/ODIN-Battleship-project

Repository files navigation

Battleship

Project demo

Description

Battleship is a web-based implementation of the classic board game. The game allows players to strategically place their ships on the board and engage in battles with an intelligent computer opponent. It provides an interactive and challenging gaming experience, staying true to the essence of the traditional Battleship game.

The project is part of The Odin Project curriculum. Look here for the project source and description.

Features

  • Ship Placement: Strategically place your ships on the board, ensuring they are not adjacent to each other for a fair challenge.
  • Intelligent Computer Opponent: Face off against a smart computer opponent that retaliates with tactical moves, adding an extra layer of challenge to the game.
  • Immersive Experience: Enjoy sounds and animations that bring the game to life, adding a lively touch to your Battleship experience.

Technologies Used

My Skills

Installation

To install the project, follow these steps:

git clone https://github.com/shravzzv/ODIN-Battleship-project
cd ODIN-Battleship-project
npm install

Open the dist/index.html in your browser.

If you want to build on top of this project, you need to run the script npm run dev to be able to view your changes. Check the package.json for more details.

How to Contribute

If you'd like to contribute, follow these steps:

  1. Fork the repository on GitHub.

  2. Clone your fork locally.

    git clone https://github.com/shravzzv/ODIN-Battleship-project
    cd project-folder
  3. Create a new branch for your feature or bug fix.

    git checkout -b feature-or-bug-fix-name
  4. Make your changes, commit them, and push them to your fork.

    git add .
    git commit -m "Your commit message here"
    git push origin feature-or-bug-fix-name
  5. Open a Pull Request on GitHub, comparing your branch to the original repository's main branch.

Issue Tracker

Find a bug or want to request a new feature? Please let us know by submitting an issue.

License

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


About

Experience classic naval warfare in this digital rendition of Battleship. Strategically position your fleet, engage in thrilling battles against an AI opponent, and aim for victory on the high seas.

Topics

Resources

License

Stars

Watchers

Forks