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.
- 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.
To get started, clone the repository and install dependencies:
git clone git@github.com:implexrr/battleship.git
cd battleship
npm installLaunch the app in development mode:
npm run serveTo create a production-ready bundle:
npm run prodContributions, issues, and feature requests are welcome! Feel free to submit a pull request or open an issue.
This project is licensed under the MIT License.
