Skip to content

Guikin/Battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mega Space Battleship X

Mega space Battlehip X is a take on the the popular battleship game reconstructed from scratch with HTML, CSS, Javascript and Jquery in a spacey and respect to the Meagaman X Theme games. The game features drag and drop of ships on grids with ability to rotate or reset all ships, computer Ai and fancy sound effects when ships are hit or missed.

(back to top)

Built With

  • [JQuery]
  • [HTML]
  • [Javascript]
  • [CSS]

(back to top)

How to play

  1. Drag and drop your ship on the "PlayerGrid" and press Play
  2. The game starts with the players turn so you can click on any grid in the "Maverick Zone"
  3. The goal is to destroy all your opponent's ships before they destroy yours
  4. Once all ships are destroyed on either side the game is over and you can replay again.

(back to top)

Logics and event used

  1. Drag and drop Dom events
  2. Grid respondance events
  3. Cool pictures i found on the internet
  4. Megaman x's gifs and more.

Bugs

  1. Bug where the the computer AI will be stuck in a recursion loop
  2. if click and drag on Mavarick grid after game as started breaks the whole game requiring refresh of webpage.
  3. Many more. I need more coffee.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published