Skip to content

bivainis/BattleshipGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BattleshipGame

School assignment - Battleship Game

Created by: Gediminas Bivainis

Deadline: September 13th, 2014

v1 specs:

  • board has 7x7 tiles
  • there are 3 ships in total
  • each battleship takes 3 tiles
  • ships can be horizontal or vertical
  • ships can't overlap
  • clicking any tile shows an image which tells if we hit or miss
  • when all ships are hit, congratulations message is shown

v2

  • adjustable board size
  • ability to add various sized ships
  • display ship sizes in a sidebar
  • adjust board size if largest ship is too big
  • board is centered on the page based on board size

v3 (todo):

  • press a btn to launch v2, v3, etc
  • maybe canvas
  • different colors for different ship sizes

About

School assigment - Battleship Game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published