Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bow and Arrow #2329

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Bow and Arrow/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Bow And Arrow Game
This is a Bow And Arrow Game made using HTML, CSS and Javascript

# How To Play?
- Click Start to play.
- Mouse Click or press any key to fire the arrow!
- Goal: Hit the Target as many times as you can for the highest score.


25 changes: 25 additions & 0 deletions Bow and Arrow/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<title>Bow And Arrow</title>
<meta name="viewport" content="width=device-width, initial-scale=1" >
<link rel="stylesheet" type="text/css" href="styles.css">

<meta charset="utf-8">
</head>
<body>
<div id="mainContainer">
<canvas id="myCanvas"></canvas>
<canvas id="animCanvas"></canvas>
<h1 id="score">0</h1>
<div id="showPoint"><p id="arrs">&uarr;</p><span class="u">&uarr; +4</span></div>
<div id="startMenu">
<h1 id="title"><span style="font-size:60px">B</span>OW<br><span style="font-size:60px">A</span>ND<br><span style="font-size:60px">A</span>RROW</h1>
<button>START</button>
<h2><span id="best">0</span><br>Best</h2>
</div>
</div>

<script src="script.js"></script>
</body>
</html>
23 changes: 23 additions & 0 deletions Bow and Arrow/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "Bow and Arrow",
"description": "A fun and engaging web game",
"start_url": "/index.html",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#000000",
"icons": [
{
"src": "/icons/icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/icons/icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"orientation": "portrait",
"lang": "en-US"
}

Loading
Loading