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