Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.
/ 448_g13_p1 Public archive

Battleship clone developed for the web browser using basic JavaScript with HTML and SVG graphics. KU EECS 448 Group 13 Project 1.

Notifications You must be signed in to change notification settings

amacgillivray/448_g13_p1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battleship Project

p1

The project uses JavaScript and SVG elements to create the game.

Most of the game's logic exists in the "game.js" file, which provides thorough explanations for some all of the variables and functions.

Here's how the game works:

The Game class is created. It creates two Player objects. Each player object is given a first turn, where they create and place 1-5 Ship objects. Then, each player is given "targeting" turns until someone wins.

Other Notes

Unused Assets

There are unused assets (carrier.svg) in the /assets folder that would make a beautiful improvement to the game board if completed.

Ships (Per Player) - Interpretation

Our group was uncertain about the interpretation of "Number of Ships (per player)" and interpreted it to mean that each player chooses their own number of ships.

About

Battleship clone developed for the web browser using basic JavaScript with HTML and SVG graphics. KU EECS 448 Group 13 Project 1.

Topics

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •