Skip to content

Commit

Permalink
spock
Browse files Browse the repository at this point in the history
  • Loading branch information
tgdwyer committed Apr 13, 2020
1 parent 2f53b98 commit 5088a93
Show file tree
Hide file tree
Showing 14 changed files with 436 additions and 13 deletions.
425 changes: 425 additions & 0 deletions Rock_paper_scissors_lizard_spock.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/rockPaperScissorsLizardSpock-key.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/rockPaperScissorsLizardSpock-opponentschoice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/rockPaperScissorsLizardSpock-xaxis-top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/rockPaperScissorsLizardSpock-xaxis.jpg
Binary file not shown.
Binary file added images/rockPaperScissorsLizardSpock-xaxis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/rockPaperScissorsLizardSpock-yaxis.jpg
Binary file not shown.
Binary file added images/rockPaperScissorsLizardSpock-yaxis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/rockPaperScissorsLizardSpock-yourchoice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/rockPaperScissorsLizardSpock.jpg
Binary file not shown.
Binary file added images/rockPaperScissorsLizardSpock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/rockPaperScissorsLizardSpockAll.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 11 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,31 +86,29 @@ <h2>Diagonal pan constraint</h2>
<h2>Anti-diagonal pan constraint</h2>
<table>
<tr>
<td> <div style="writing-mode: vertical-lr;font-size: 24pt;transform: rotate(180deg);">
Opponent's Choice</div>
<!-- <img src="images/rockPaperScissorsLizardSpock-opponentschoice.png"></img> -->
<td style="vertical-align:middle;"> <img src="images/rockPaperScissorsLizardSpock-opponentschoice.png" height="390px"></img>
</td>
<td><div id="rockPaperScissorsLizardSpock"></div></td>
<td style="font-size: 24pt; text-align: center;"> &nbsp;&nbsp;&nbsp;&nbsp;Your Outcome: <br><img src="images/rockPaperScissorsLizardSpock-key.jpg"></img></td>
<td>
<div id="rockPaperScissorsLizardSpock"></div></td>
<td style="font-size: 32pt; text-align: center;"> &nbsp;&nbsp;&nbsp;&nbsp;Your Outcome: <br><img width="200px" src="images/rockPaperScissorsLizardSpock-key.png"></img></td>
</tr>
<tr>
<td></td>
<td><div style="font-size: 24pt; text-align: center;">
Your Choice</div>
<!-- <img src="images/rockPaperScissorsLizardSpock-yourchoice.png"></img> -->
<td style="align-content: center;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/rockPaperScissorsLizardSpock-yourchoice.png" width="390px"></img>
</td>
<td></td>
</tr>
</table>
<p>A directed graph with the special self edges (the draws) mapped to the anti-diagonal. An <code>"antidiagonal"</code> pan constraint keeps those draws where we can easily track them.</p>
<p>Adapted from <a href="https://steemit.com/programming/@dkmathstats/a-rock-paper-scissors-lizard-spock-chart-in-r">A Rock, Paper, Scissors, Lizard, Spock Chart In R</a>.</p>
<p>Images from <a href="https://upload.wikimedia.org/wikipedia/commons/8/89/Rock_paper_scissors_lizard_spock.svg">wikimedia</a></p>
<script>
wrapChart("rockPaperScissorsLizardSpock",
"images/rockPaperScissorsLizardSpock.jpg",
null,
"images/rockPaperScissorsLizardSpock-xaxis.jpg",
"images/rockPaperScissorsLizardSpock-yaxis.jpg",
null,
"images/rockPaperScissorsLizardSpock.png",
"images/rockPaperScissorsLizardSpock-xaxis-top.png",
"images/rockPaperScissorsLizardSpock-xaxis.png",
"images/rockPaperScissorsLizardSpock-yaxis.png",
"images/rockPaperScissorsLizardSpock-yaxis-right.png",
"antidiagonal")
</script>
</body>
Expand Down

0 comments on commit 5088a93

Please sign in to comment.