Twiddling tanks figures

This commit is contained in:
Neale Pickett 2024-12-05 11:49:54 -07:00
parent 14202511ec
commit f476b65c6f
3 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -239,8 +239,6 @@ function start(id, game) {
for (i in turn) {
tanks[i].draw_tank()
}
document.getElementById('frameid').innerHTML = idx;
}
function update() {

View File

@ -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>