tanks

Blow up enemy tanks using code
git clone https://git.woozle.org/neale/tanks.git

tanks / docs / _site
Neale Pickett  ·  2024-12-05

index.html

 1<!DOCTYPE html>
 2<html lang="en-US">
 3  <head>
 4    <meta charset='utf-8'>
 5    <meta name="viewport" content="width=device-width">
 6    <link rel="stylesheet" href="/assets/css/dirtbags.css?v=">
 7    <link rel="icon" type="image/png" href="/assets/images/icon.png">
 8
 9	    <script src="assets/js/tanks.js"></script>
10
11	    <script src="assets/js/figures.js"></script>
12
13    <title> by </title>
14  </head>
15
16  <body>
17    <h1 id="title">Tanks</h1>
18
19<table class="figure">
20  <caption>"Ant Lion" nails "Rabbit With Gun".</caption>
21  <tr><td>
22    <canvas id="antlion"></canvas>
23    <script type="application/javascript">
24      start("antlion", antlion);
25    </script>
26  </td></tr>
27</table>
28
29<p>Dirtbags Tanks is a game in which you pit your coding abilities
30against other hackers.  You write a program for your tank, set it out
31on the battlefield, and watch how your program fares against tanks
32written by other players.  Dirtbags Tanks is frequently a component of
33<a href="/ctf/">Dirtbags Capture The Flag</a>.</p>
34
35<p>Each tank has a turret-mounted laser, two treads, up to ten sensors,
36and a diagnostic LED.  Sensors are used to detect when other tanks are
37inside a given arc.  In the examples on this page, “triggered” sensors
38turn black.  Most tanks will take some action if a sensor is
39triggered, such as changing speed of the treads, turning the turret,
40or firing.</p>
41
42<p>Tanks are programmed in Forf, a stack-based language similar to
43PostScript.</p>
44
45<h2 id="other-versions">Other Versions</h2>
46
47<p>Everybody loves tanks!
48If you’ve made a port or done something fun with it,
49please let me know and I’ll link it here!</p>
50
51<ul>
52  <li><a href="https://github.com/Arctem/nmt_python_labs/tree/master/labs/project">Class Lab</a> at New Mexico Tech, by Russell White</li>
53</ul>
54
55<h2 id="author">Author</h2>
56
57<p>Neale Pickett <a href="&#109;&#097;&#105;&#108;&#116;&#111;:&#110;&#101;&#097;&#108;&#101;&#064;&#119;&#111;&#111;&#122;&#108;&#101;&#046;&#111;&#114;&#103;">&#110;&#101;&#097;&#108;&#101;&#064;&#119;&#111;&#111;&#122;&#108;&#101;&#046;&#111;&#114;&#103;</a></p>
58
59
60    <nav>
61      <ul>
62        <li><a href="/">Home</a></li>
63        <li><a href="/running">Running</a></li>
64        <li><a href="/history">History</a></li>
65        <li><a href="/thanks">Thanks</a></li>
66        <li><a href="https://github.com/dirtbags/tanks" title="Tanks on Github">Source</a></li>
67      </ul>
68    </nav>
69  </body>
70</html>