Embezzle/client/simpleclient/index.html

122 lines
4.4 KiB
HTML
Raw Normal View History

<html>
<head>
<link rel="stylesheet" type="text/css" href="index.css">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding"/>
<script src="index.js"></script>
2020-05-02 18:09:22 +00:00
<script type="text/javascript">
//sorry
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
_paq.push(["setCookieDomain", "*.nannal.com"]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//matomo.nannal.com/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
(function(f, a, t, h, o, m){
a[h]=a[h]||function(){
(a[h].q=a[h].q||[]).push(arguments)
};
o=f.createElement('script'),
m=f.getElementsByTagName('script')[0];
o.async=1; o.src=t; o.id='fathom-script';
m.parentNode.insertBefore(o,m)
})(document, window, '//fathom.nannal.com/tracker.js', 'fathom');
fathom('set', 'siteId', 'QYBFW');
fathom('trackPageview');
</script>
<noscript><p><img src="//matomo.nannal.com/matomo.php?idsite=1&amp;rec=1" style="border:0;" alt="" /></p></noscript>
</head>
<body>
2020-05-02 18:09:22 +00:00
<h1>Embezzle</h1>
<div id="controls">
<div id="Reigster-Container">
<div id="faq">
<h2>How To Play</h2>
By joining a game you become apointed to the board of a multinational company who in the name of extreme altruism (and for some significant tax breaks) must distribute some of their immesne profits to lowly charities. As the cunning fox you are, you've setup your own charity and must now redirect as much of this firehose of funds from silly rinky-dink operations like oxfam to your own back pocket.
</br>
However, you can't be <i>entierly</i> blatant about it as, after each quaters funds are distributed, a board member must be fired as they are undoubtedly performing the heinous crime of cold-heartedly stealing what few morsels of funding the benevolent company has seen fit to bestow on the worlds most needy and vulnerable. <b>The swines!</b>
<ul>Join a board of directors</ul>
<ul>Distribute funds to yourown and other's charities</ul>
<ul>Vote out one of your fellow board members</ul>
<ul>Have the most capital in your charity when only two members remain on the board to win</ul>
</div>
</br>Register a player</br>
<input id="register" type="text" placeholder="Name"/> <button onclick="register()">Register</button>
</div>
2020-05-02 18:09:22 +00:00
<div id="Make-Container">
</br>Make A game (Select a number of player slots)</br>
<input id="makeSeats" type="number"/> <button onclick="make()">Make</button>
</div>
2020-05-02 18:09:22 +00:00
<div id="Join-Container">
</br>Join a game (Using a GameID)</br>
<input id="join" type="text" placeholder="Name"/> <button onclick="join()">Join</button>
</div>
2020-05-02 18:09:22 +00:00
<div id="Start-Container">
</br>Start the game!</br>
<button onclick="start()">Start</button>
</div>
2020-05-02 18:09:22 +00:00
<div id="Donate-Container">
</br>Donate</br>
<select id="donate" name="list" class="donateInput">
<option value="stringthatbrickstheserver">If you can see this, you're being naughty</option>
</select>
2020-05-02 18:09:22 +00:00
<input id="amount" type="number" class="donateInput">
<button onclick="donate()">Donate</button>
</div>
2020-05-02 18:09:22 +00:00
<div id="Accuse-Container">
</br>Accuse a player of embezzlement</br>
2020-05-02 18:09:22 +00:00
<select id="accuse" name="list" class="accuseInput">
<option value="stringthatbrickstheserver">If you can see this, you're being naughty</option>
</select>
<button onclick="accuse()">Accuse</button>
</div>
</div>
<div id="info">
2020-05-02 18:09:22 +00:00
<div id="gameID"></div>
<div id="messages"></div>
<div id="games"></div>
<div id="gameInfo"></div>
2020-05-02 18:09:22 +00:00
<div id="playerInfo"></div>
<div id="myCharity"></div>
<div id="charityStatus"></div>
<div id="boardFunding"></div>
<div id="transactionLog"></div>
<div id="accusationLog"></div>
</div>
</body>
2020-05-02 18:09:22 +00:00
</html>