您最多能選擇 25 個主題 主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
 
 
 
javier-barea 40b58e74c5
Final commit for design purposes
4 年前
documentation More documentation, fixed some stuff about titles. 4 年前
lib Update READMEs and documentation (#6) 4 年前
src Final commit for design purposes 4 年前
.DS_Store edited ship buttons and board #3 4 年前
.gitignore Add basic libraries and file structure 4 年前
README.md Update READMEs and documentation (#6) 4 年前
buttonArrow.png Added buttonArrow.png file for buttons 4 年前
index.html Added few styles to the <hr> lines, fixed some indenting, formatting and positions of overall icons and buttons. 4 年前

README.md

Battleship

EECS 448 - Project 1

This is a basic battleship game created as our submission for project 1 for EECS 448 at the University of Kansas.

Structure Info

This project has been wired up to use Vue.js to help organize components of the game.

These components are defined in files that end in the .component.js extension, and are located in the src/components/ directory.

The entry point for the project is the index.html. This file contains the basic logic for loading Vue, and adding the game board to the page.

Obviously, we'll flesh out the look-and-feel as we go along. This is just a basic starter for now.

How to Run

The easiest way to run this project is by creating a basic static web server using Python. This is super simple:

  1. Open a terminal or command prompt to the root of this project (i.e. the directory this file is in).
  2. Start the server: python -m http.server

This will start a web server on port 8000. You can then run the game by navigating to http://localhost:8000/ from a web browser.

Documentation

You can preview it here. Otherwise, it is generated by JSDoc in the documentation/generated directory.

Re-generating the documentation

To regenerate the docs, you need Node.js and the Yarn package manager installed. Then, just:

cd documentation
./generate.sh

Contributors

  • Lucas Brakenridge
  • Javier Barea Lara
  • Garrett Mills
  • Evan Powell
  • Alec Horlick-Mills