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

Update flappybird.html #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
16 changes: 6 additions & 10 deletions Project/flappybird.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<!--The footer.js external file uses document.write() to create a footer element that can be included across multiple pages and edited once to update-->
<script src="scripts/footer.js"></script>
</head>

<body onload="updateScore()">
<!--Anchor to return to top of page from bottom-->
<a id="topofpage"></a>

<div class="menu stretch">
<div id="menu" class="center"></div><!-- menu.js: displays the menu here -->
<script src="scripts/menu.js"></script>
Expand All @@ -51,7 +51,7 @@ <h2 id="trackTitleID">Current Track: 1</h2>
<div class="center">
<button id="difficultyID" onclick="setDifficulty()">Difficulty: Medium</button>
<button id="muteID" onclick="muteAudio()" class="cancelbtn">FX Off</button>
<button id="backID" onclick="skipBackwards()" title="Skip Track Backwards"><<</button>
<button id="backID" onclick="skipBackwards()" title="Skip Track Backwards"></button>
<button id="playID" onclick="playMusic()" title="Play/Pause Current Track">Play Music</button>
<button id="forwardID" onclick="skipForwards()" title="Skip Track Forwards">>></button>
<button id="randomID" onclick="playRandomMusic()" title="Play A Random Music Track">Random Track</button>
Expand All @@ -65,38 +65,34 @@ <h2 id="trackTitleID">Current Track: 1</h2>
<div class="body-border">
<button class="accordion">Current Top Score: <span id="scoreID"></span></button>
<div class="panel">
<p>

<h2>Top Scores</h2>
<!--ul>
<li><b>Joe</b> 100</li>
<li><b>Ian</b> 90</li>
<li><b>Martin</b> 80</li>
</ul-->
<p id="allScoresID"></p>
</p>

</div>

<button class="accordion">Controls</button>
<div class="panel">
<p>
<ul>
<li>Mouse Click</li>
<li>Spacebar</li>
</ul>
</p>
</div>

<button class="accordion">Info</button>
<div class="panel">
<p>
<h2>How To Play</h2>
<ul>
<li>Stay between the pipes</li>
<li>Stay up off the ground</li>
<li>Don't hit the pipes or the ground</li>
<li>Simples</li>
</ul>
</p>
<h2>About</h2>
<p>
Flappy bird is a mobile game developed by Dong Nguyen a video game artist from Vietnam.
Expand All @@ -115,4 +111,4 @@ <h2>About</h2>
<script>createFooter("regular-footer")</script>
</body>

</html>
</html>