Skip to content

Vincent0103/battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

battleship

Description

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.

Features

  • ai player who attacks adjacent shots of whenever it hits a ship
  • randomise button
  • ability to place ships in a grid
  • replayable game

Technologies Used

  • Programming Language: Javascript
  • Testing Framework: Jest
  • Additional Technologies: Check the devDependencies in packages.json

Getting Started

Play Battleship here! https://vincent0103.github.io/battleship

Testing

  • 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.

License

This project is licensed under the Layboy License.

Acknowledgements

The Odin Project for providing valuable resources and guidance.

About

TOP purposes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published