Implementing the Battleship game in JavaScript following TDD principles using the Jest testing framework.
- Allow players to take turns during the game
- Make the computer capable of making random plays
- it should not make the same move twice
- it should be smart (it should try adjacent slots after placing a 'hit')
- End the game once one player's ships have all been sunk
- OPTIONAL:
- Create a two player option that lets users take turns by passing the device back and forth
- make sure the game is playable on a mobile device
- implement a "pass device" feature
- Create a two player option that lets users take turns by passing the device back and forth
- HTML5
- CSS3
- JavaScript
https://mogoatlhe.github.io/battleship - Not yet live
- TDD
- Learnt how dragging and dropping HTML elements works