neyric/wireit

View on GitHub
sandbox/planar-game/planar-game.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>
<head>
  <title>Planar Game</title>
  <link rel="stylesheet" type="text/css" href="planar-game.css" />
</head>
<body>
    
<div id='aboutFrame'>
    <p id="title">Planar Game</p>
    <p>Inspired by <a href="http://www.planarity.net/" target="_new">Planarity</a>, made as an example for the <a href="../../index.html" target="_new">WireIt library</a>.</p>
    
    <p><b>Instructions:</b></p>
    <p>Arrange the vertices such that no edges overlap.<br />
        <br />Click on the <i>"Check"</i> button when you are done.</p>
    <p id='level'>Level <span id='levelContainer'>1</span></p>
    <button id="checkButton">Check !</button>
    
    <div id="footer">Made by <a href="http://www.neyric.com/" target="_new">Eric Abouaf</a></div>
    
</div>
    
<script src="https://yui-s.yahooapis.com/3.6.0/build/yui/yui.js"></script>
<script type="text/javascript" src="../../src/loader.js"></script>
<script type="text/javascript" src="planar-game.js"></script>
    
</body>
</html>