This project is part of my journey through The Odin Project course, specifically focusing making a battleship game. The goal is to enhance my understanding of testing methodologies, including unit testing and test-driven development (TDD). It's also a conclusion to my javascript's course, showing off everything i learnt so far from this course.
- ai player who attacks adjacent shots of whenever it hits a ship
- randomise button
- ability to place ships in a grid
- replayable game
- Programming Language: Javascript
- Testing Framework: Jest
- Additional Technologies: Check the devDependencies in packages.json
Play Battleship here! https://vincent0103.github.io/battleship
- Execute
npm test
to test - All the tests are located in the /test folder.
- Please keep in mind that it is using an experimental feature of jest testing that allows me to use import/export statements of ES6, for more information check the test npm script in package.json.
This project is licensed under the Layboy License.
The Odin Project for providing valuable resources and guidance.