battlesheep.mp4
Live Demo
A "sheepish" take on the classic Battleship game.
- Drag and drop sheep to place on the left board
- Keep placing sheep until you are prompted to attack
- When prompted to attack, click on the grass fields on the right board
- Each side has 17 sheep. The first to destroy all 17 wins.
- Vanilla Javascript
- Sass
- Jest
- Test Driven Development
- Recursion
- Factory Functions
- Implementing drag and drop
- Creating/hiding drag images