repl.it
@PercyCho/

powerset

HTML, CSS, JS

For people who can't go on the repl.it at school

fork
loading
Files
  • index.html
  • images
  • script
  • style
  • index-singleplayer.html
  • LICENSE
  • PowerSet-Guide.zip
  • README.md
  • singleplayer-changelog.html
  • singleplayer-game.html
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html>
	<head>
		<title>PowerSet</title>
		<meta charset="UTF-8">
		<meta name="description" content="A chess-like game with a leader, 7 pawns, 2 helpers, and a power bar.">
		<meta name="author" content="PercyCho">
		<link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
		<link rel="stylesheet" href="style/style.css" type="text/css" media="all"/>
	</head>
	<body>
		<img id="backgroundfavicon" src="images/favicon.png">
		<div id="jsdisabled">
			<div>It looks like you have JavaScript disabled<br>That's a bummer<br>If you can enable javascript, great! Enable it in the site settings and reload the page.<br>If you can't, here's an award:</div>
			<img width="256px" height="256px" src="images/welp.png"></div>
		<div id="title"><span class="titlecapital">P</span>ower<span  class="titlecapital">S</span>et&nbsp;<a id="hiddentitle" href="index-singleplayer.html"><span class="titlecapital">S</span>ingleplayer&nbsp;</a><span id="multi-version">v0.0</span></div>
		<div id="titleline"></div>
		<div id="optionsbar">
			<a href="PowerSet-Guide.zip" target="_blank"><div id="guidelink" class="optionsbutton">How to<br>Play</div></a>
			<a href="#" target="_blank"><div id="leaderboardlink" class="optionsbutton">Leader<br>Board</div></a>
			<a href="http://percycho.github.io/bbho" target="_blank"><div id="websitelink" class="optionsbutton">My<br>Website</div></a>
			<a href="https://www.discord.gg/JdwYxAz" target="_blank"><div id="discordlink" class="optionsbutton">Discord</div></a>
			<a href="http://petris.herokuapp.com/" target="_blank"><div id="petrislink" class="optionsbutton">Petris</div></a>
			<div id="bgchanger" onclick="darkMode()" class="optionsbutton">Dark Mode</div>
		</div>
		<div id="changelog" style="display: none;"></div>
		<div id="safariwarningmessage">Because you are using Safai, some elements on the site or the game might not load correctly. Use Chrome for all elements to load correctly. <span id="hidewarningmessage" onclick="hideWarningMessage()">Hide</span></div>
		<div id="single-error">
			Singleplayer Powerset is currently unavailable :(<br>Try reloading the page or checking to see if your JavaScript has loaded.
		</div>
		<div id="multi-error">
			Multiplayer PowerSet has not been made yet.<br>Hover over the PowerSet logo and click "Singleplayer"<br>to get to the available PowerSet
		</div>
	</body>
	<script type="text/javascript" src="script/script.js"></script>
</html>
result
console