Skip to content

abstractdev/battlesheep

Repository files navigation

battlesheep.mp4

Live Demo
A "sheepish" take on the classic Battleship game.


How To Play

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

Built With

  • Vanilla Javascript
  • Sass
  • Jest

Concepts / Things I learned

  • Test Driven Development
  • Recursion
  • Factory Functions
  • Implementing drag and drop
  • Creating/hiding drag images

About

A "sheepish" take on the classic Battleship game

Topics

Resources

Stars

Watchers

Forks