fassetar/penguins-rising

View on GitHub
src/index.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html manifest="static/Offline.appcache" itemscope itemtype="http://schema.org/VideoGame">

<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
  <title>Penguins Rising</title>
  <meta name="description" content="A Shot'm up zombie game from a top down view set in a classic tower defence system." />
  <link rel="stylesheet" type="text/css" href="content/style.css" />
</head>

<body itemscope="" itemtype="http://schema.org/Game">
  <div id="dialog-modal">
    <!-- <div id="loginDiv" style="position: fixed;left: 5px;z-index: 1;">
      <a href="login.showLoginDialog()">
        <img src="http://fassetar.github.io/penguins-rising/content/img/gplus.png" />
      </a>
    </div> -->
    <button style="position: fixed;left: 100%;z-index: 1;" type="button" onclick="!document.getElementById('articwind').pause();">Audio</button>
    <br />
    <img src="http://fassetar.github.io/penguins-rising/content/img/splashscreen.png" alt="Penguins Rising" />
    <div id="welcome">
      <div class="startMenu buttons" id="message"></div>
    </div>
    <button id="playGame" class="action redbtn" onclick="welcome.startGame();">
      <span class="label" id="Gamer">Loading</span>
    </button>
    <button class="action redbtn" onclick="welcome.showCredits('dialog-modal', 'credits');">
      <span class="label" id="Gamer">Credits</span>
    </button>
    <div>
    </div>
  </div>
  <div id="credits">
    <h2>Developers</h2>
    <p>Devroy Queen</p>
    <p>Andrew Peek</p>
    <p>Anthony Fassett</p>
    <p>
      <i>Your Name Here</i>
    </p>
    <p>
      <a href="static/PenguinsRising2.zip" onclick="achManager.unlockAchievement('CgkInoXkzIgWEAIQDQ');">Orginal Game</a>
    </p>
    <button class="action redbtn" onclick="welcome.showCredits('dialog-modal', 'credits');">
      <span class="label" id="Gamer">Back</span>
    </button>
  </div>
  <div class="pause">
    Game Paused
    <button class="action redbtn" onclick="Pause(false);" style="border-color: green !important;font-size: 12px;">Resume</button>
  </div>
  <div class="LvlComplete">
    <label>Money: $</label>
    <label>Cost: </label>
    <p class="action">Autosaved at each level</p>
    <button class="action" onclick="NextLevel();">Next Level!</button>
  </div>
  <div id="game">
    <div id="rightSide"></div>
    <canvas id="window">Sorry but Canvas is not Supported</canvas>
  </div>
  <div id="GameData">
    <audio id="gunshot">
      <source src="http://fassetar.github.io/penguins-rising/content/audio/wav/gunshot.wav" type="audio/wav"></source>
      <source src="http://fassetar.github.io/penguins-rising/content/audio/mp3/gunshot.mp3" type="audio/mpeg"></source>
      Your browser does not support the audio format.
    </audio>
    <audio autoplay loop="" id="articwind">
      <source src="http://fassetar.github.io/penguins-rising/content/audio/wav/arcticwind.wav" type="audio/wav"></source>
      <source src="http://fassetar.github.io/penguins-rising/content/audio/mp3/arcticwind.mp3" type="audio/mpeg"></source>
      Your browser does not support the audio format.
    </audio>
  </div>
  <footer id="footer">
    <div class="left">
      <div class="g-plus" data-action="share" data-annotation="bubble" onclick="achManager.unlockAchievement('CgkInoXkzIgWEAIQDw');" data-href="http://www.penguinsontherise.appspot.com"></div>
    </div>
    <div class="right">
      <!-- <a href="https://plus.google.com/115994908921270042556" rel="publisher" target="_blank">Google+</a> -->
      <a href="https://github.com/fassetar/penguins-rising/commits/master" target="_blank">Updates</a>
    </div>
  </footer>
  <noscript>
    Well this is kinda weird... You don't have Javascript?
  </noscript>
  <!-- build:js js/game.min.js -->
  <script src="js/app.js"></script>
  <script src="js/game.js"></script>
  <script src="js/achievements.js"></script>
  <script src="js/leaderboard.js"></script>
  <script src="js/login.js"></script>    
  <script src="js/snow.js"></script>
  <!-- endbuild -->
</body>
</html>