mirror of https://github.com/dirtbags/tanks.git
Twiddling tanks figures
This commit is contained in:
parent
14202511ec
commit
f476b65c6f
|
@ -127,12 +127,15 @@ dd {
|
|||
max-width: inherit;
|
||||
}
|
||||
|
||||
.figure {
|
||||
figure {
|
||||
margin: 0.5em 1em;
|
||||
float: right;
|
||||
font-size: small;
|
||||
text-align: center;
|
||||
}
|
||||
figcaption {
|
||||
fount-style: italic;
|
||||
}
|
||||
|
||||
.scoreboard {
|
||||
background: #222;
|
||||
|
|
|
@ -239,8 +239,6 @@ function start(id, game) {
|
|||
for (i in turn) {
|
||||
tanks[i].draw_tank()
|
||||
}
|
||||
|
||||
document.getElementById('frameid').innerHTML = idx;
|
||||
}
|
||||
|
||||
function update() {
|
||||
|
|
|
@ -7,8 +7,8 @@ scripts:
|
|||
# Tanks Introduction
|
||||
|
||||
<figure>
|
||||
<figcaption>"ChashTank" dominates this short round.</figcaption>
|
||||
<canvas id="shortround"></canvas>
|
||||
<figcaption>"ChashTank" dominates this short round.</figcaption>
|
||||
<script type="text/javascript">
|
||||
start("shortround", shortround);
|
||||
</script>
|
||||
|
@ -34,9 +34,8 @@ description of Tanks extensions.
|
|||
## Quick Start for the Impatient
|
||||
|
||||
<figure>
|
||||
<figcaption>"Crashmaster" pwns the lame default tank provided in this
|
||||
section.</figcaption>
|
||||
<canvas id="default"></canvas>
|
||||
<figcaption>"Crashmaster" pwns the lame default tank provided in this section.</figcaption>
|
||||
<script type="text/javascript">
|
||||
start("default", default_);
|
||||
</script>
|
||||
|
@ -63,8 +62,8 @@ Don't forget the [Forf manual](forf.md) and the
|
|||
## Tank Specifications
|
||||
|
||||
<figure>
|
||||
<figcaption>"Ant Lion" nails "Rabbit With Gun".</figcaption>
|
||||
<canvas id="antlion"></canvas>
|
||||
<figcaption>"Ant Lion" nails "Rabbit With Gun".</figcaption>
|
||||
<script type="text/javascript">
|
||||
start("antlion", antlion);
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue