zinagithub / battleship

An online Battleship app that simulates the function of the original Battleship board game, allowing users to play against a computer until your opponent's ships are all sunk.

Home Page:https://zinagithub.github.io/battleship/dist/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

battleship

An online Battleship app that simulates the function of the original Battleship board game. Created from the scratch with TDD Aproach using Jest Framwork. Allowing users to play against a computer until your opponent's ships are all sunk. Assignment: https://www.theodinproject.com/courses/javascript/lessons/battleship

Authors: Talaa Zina

Screenshot

screenshot

Prerequisities

node, javascript
npm
webpack
jest
HTML, CSS

Clone project

git clone https://github.com/zinagithub/battleship.git $ npm run build $ npm start

Basic configuration :

    npm init -y
npm install webpack --save-dev
npm install webpack-cli --save-dev
npm install --save-dev style-loader css-loader
npm install --save-dev webpack-dev-server
npm install eslint --save-dev
npm install -D babel-loader @babel/core @babel/preset-env webpack
npm i -D jest

Live version :

https://zinagithub.github.io/battleship/dist

About

An online Battleship app that simulates the function of the original Battleship board game, allowing users to play against a computer until your opponent's ships are all sunk.

https://zinagithub.github.io/battleship/dist/


Languages

Language:JavaScript 94.1%Language:CSS 5.9%