2016-09-06 21:44:06 +00:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
nocard: true
|
|
|
|
title: Markov Chains
|
|
|
|
---
|
|
|
|
<link rel="stylesheet" type="text/css" href="/css/markov.css">
|
|
|
|
|
|
|
|
<div class="card buttons">
|
2017-01-12 02:04:47 +00:00
|
|
|
<div class="card-content">
|
|
|
|
<span class="button" onclick="rock();">✊</span>
|
|
|
|
<span class="button" onclick="paper();">✋</span>
|
|
|
|
<span class="button" onclick="scissors();">✌</span>
|
|
|
|
</div>
|
2016-09-06 21:44:06 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="versus" class="card">
|
2017-01-12 02:04:47 +00:00
|
|
|
<div class="card-content">
|
|
|
|
<span class="text">you →</span><span class="button" id="player">✊</span>
|
|
|
|
<span class="text" style="display: inline-block; vertical-align: middle;">VS</span>
|
|
|
|
<span class="button" id="com">✊</span><span class="text">← me</span>
|
|
|
|
<br />
|
|
|
|
<h3 id="result">Computer Wins</h3>
|
|
|
|
</div>
|
2016-09-06 21:44:06 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="stats card">
|
2017-01-12 02:04:47 +00:00
|
|
|
<div class="card-content">
|
|
|
|
<span class="card-title">Stats</span>
|
|
|
|
<p>
|
|
|
|
computer wins: <span id="loss">0</span><br />
|
|
|
|
 expected: <span id="loss_expected">0</span><br /><br />
|
|
|
|
player wins: <span id="win">0</span><br />
|
|
|
|
 expected: <span id="win_expected">0</span> <br /><br />
|
|
|
|
ties: <span id="tie">0</span><br />
|
|
|
|
 expected: <span id="tie_expected">0</span><br />
|
|
|
|
</p>
|
|
|
|
</div>
|
2016-09-06 21:44:06 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<script src="/js/markov.js" type="text/javascript"></script>
|