-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from abdullahjamal1/chrome-extension
Chrome extension
- Loading branch information
Showing
26 changed files
with
1,339 additions
and
107,600 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: pages build and deployment | ||
run-name: ${{ github.actor }} is publishing to GitHub Pages 🚀 | ||
on: [push] | ||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '20.x' | ||
- name: Install npm dependencies | ||
run: npm install | ||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v3 | ||
- name: Build with Jekyll | ||
uses: actions/jekyll-build-pages@v1 | ||
with: | ||
source: ./ | ||
destination: ./_site | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
|
||
# Deployment job | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{steps.deployment.outputs.page_url}} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
.DS_Store | ||
.DS_Store | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,43 @@ | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Battleship Board Game</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link href="css/style.css" rel="stylesheet" type="text/css"/> | ||
<link rel="manifest" href="/manifest.json"> | ||
<html> | ||
<head> | ||
<title>Battleship Board Game</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link href="css/style.css" rel="stylesheet" type="text/css" /> | ||
<link rel="manifest" href="/manifest.json" /> | ||
<script defer src="/js/app.js"></script> | ||
</head> | ||
<body> | ||
|
||
|
||
</body> | ||
<!-- <h1 id="no-select" style = "text-align:center; color:white;"> BATTLESHIP OASIS </h1> --> | ||
|
||
<!-- p5.js library --> | ||
<script src="libs/p5.js"></script> | ||
|
||
<!-- config file --> | ||
<script src="js/setup/sketch.js"> </script> | ||
|
||
<!-- class files --> | ||
<script src="js/classes/networkClass.js"> </script> | ||
<script src="js/classes/shipClass.js"> </script> | ||
<script src="js/classes/playerClass.js"> </script> | ||
<script src="js/classes/botClass.js"> </script> | ||
<script src="js/classes/buttonClass.js"> </script> | ||
<script src="js/classes/animationClass.js"> </script> | ||
|
||
<script src="js/mapSwap.js"> </script> | ||
|
||
<!-- Game state files --> | ||
<script src="js/states/menuState.js"> </script> | ||
<script src="js/states/newMapState.js"></script> | ||
<script src="js/states/singlePlayerState.js"> </script> | ||
<script src="js/states/multiPlayerOfflineState.js"> </script> | ||
<script src="js/states/multiPlayerOnlineState.js"> </script> | ||
<script src="js/states/instructionsState.js"> </script> | ||
<script src="js/states/creditsState.js"> </script> | ||
<script src="js/states/statisticsState.js"> </script> | ||
<script src="js/states/winStateCall.js"> </script> | ||
|
||
<!-- main file --> | ||
<script src="js/draw.js"> </script> | ||
|
||
</head> | ||
|
||
<body></body> | ||
<!-- <h1 id="no-select" style = "text-align:center; color:white;"> BATTLESHIP OASIS </h1> --> | ||
|
||
<!-- p5.js library --> | ||
<script src="node_modules/p5/lib/p5.min.js"></script> | ||
|
||
<!-- config file --> | ||
<script src="js/setup/sketch.js"></script> | ||
|
||
<!-- class files --> | ||
<script src="js/classes/networkClass.js"></script> | ||
<script src="js/classes/shipClass.js"></script> | ||
<script src="js/classes/playerClass.js"></script> | ||
<script src="js/classes/botClass.js"></script> | ||
<script src="js/classes/buttonClass.js"></script> | ||
<script src="js/classes/animationClass.js"></script> | ||
|
||
<script src="js/mapSwap.js"></script> | ||
|
||
<!-- Game state files --> | ||
<script src="js/states/menuState.js"></script> | ||
<script src="js/states/newMapState.js"></script> | ||
<script src="js/states/singlePlayerState.js"></script> | ||
<script src="js/states/multiPlayerOfflineState.js"></script> | ||
<script src="js/states/multiPlayerOnlineState.js"></script> | ||
<script src="js/states/instructionsState.js"></script> | ||
<script src="js/states/creditsState.js"></script> | ||
<script src="js/states/statisticsState.js"></script> | ||
<script src="js/states/winStateCall.js"></script> | ||
|
||
<!-- main file --> | ||
<script src="js/draw.js"></script> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.