Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (40 sloc) 1.75 KB
<!DOCTYPE html>
<html>
<head>
<title>The Black Hole - Game</title>
<link rel="icon" href="images/icon.png" type="image/png">
<meta charset="UTF-8">
<meta name="description" content="The Black Hole is a game or simple universe or galaxy simulation of a black hole, stars, planets and moons applying gravitational force on each other in the space. Made using HTML5 Canvas 2D">
<meta name="keywords" content="html5, game, web, canvas, javascript, app">
<meta property="og:image" content="http://circularbit.com/images/theblackhole.png">
<link rel="stylesheet" type="text/css" href="style.css">
<script src="main.js"></script>
<meta name="viewport" content="initial-scale=1, width=device-width, height=device-height" />
</head>
<body>
<div id="topbar">
<button id="pause">pause</button>
<button id="star">Star</button>
<button id="planet">planet</button>
<button id="moon">moon</button>
<button id="trace">Hide Trace</button>
<p id="score">Score: <span id="scorenumber"></span></p>
<p id="showinst">Instructions</p>
</div>
<p id="inst">
- Click anywhere on the screen to add objects.<br>
- You can choose the object you want (sun, planet, moon).<br>
- just click on it then click anywhere on the screen.<br>
- If The Black Hole Swallowed an object you will lose.<br>
- If two object has hit each other you will lose.<br>
- The closer the object pass by the black hole the higher score you get.<br>
- The big object get higher score than the small one.<br>
- It's just that simple, Enjoy :)<br>
<span id="closeinst">Close</span>
</p>
<span id="state"></span>
<span id="ng">Play Again :)</span>
<canvas id="spacecanvas"></canvas>
<a id="aboutlink" href="about.html">About</a>
</body>
</html>