Skip to content

implexrr/battleship

Repository files navigation

Battleship

A simple SPA built in vanilla js that lets the user the battleship against a computer. I mainly built this app to familiarize myself with testing apps via jest.

Live Demo

Preview:

Demo


Key Features

  • Single-Page Application (SPA): Dynamic component rendering without page reloads.
  • Keyboard Controls: Players can rotate and change ship types via keyboard
  • Webpack Integration: Optimized bundling for fast loading and performance.

Installation

To get started, clone the repository and install dependencies:

git clone git@github.com:implexrr/battleship.git
cd battleship
npm install

Running the App

Development Mode

Launch the app in development mode:

npm run serve

Production Build

To create a production-ready bundle:

npm run prod

Contributing

Contributions, issues, and feature requests are welcome! Feel free to submit a pull request or open an issue.

License

This project is licensed under the MIT License.

About

A web app of the popular game "Battleship". Built with vanilla JS, tested with jest and bundled with webpack.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors