mirror of https://github.com/dirtbags/tanks.git
71 lines
2.4 KiB
HTML
71 lines
2.4 KiB
HTML
|
<!DOCTYPE html>
|
|||
|
<html lang="en-US">
|
|||
|
<head>
|
|||
|
<meta charset='utf-8'>
|
|||
|
<meta name="viewport" content="width=device-width">
|
|||
|
<link rel="stylesheet" href="/assets/css/dirtbags.css?v=">
|
|||
|
<link rel="icon" type="image/png" href="/assets/images/icon.png">
|
|||
|
|
|||
|
<script src="assets/js/tanks.js"></script>
|
|||
|
|
|||
|
<script src="assets/js/figures.js"></script>
|
|||
|
|
|||
|
<title> by </title>
|
|||
|
</head>
|
|||
|
|
|||
|
<body>
|
|||
|
<h1 id="title">Tanks</h1>
|
|||
|
|
|||
|
<table class="figure">
|
|||
|
<caption>"Ant Lion" nails "Rabbit With Gun".</caption>
|
|||
|
<tr><td>
|
|||
|
<canvas id="antlion"></canvas>
|
|||
|
<script type="application/javascript">
|
|||
|
start("antlion", antlion);
|
|||
|
</script>
|
|||
|
</td></tr>
|
|||
|
</table>
|
|||
|
|
|||
|
<p>Dirtbags Tanks is a game in which you pit your coding abilities
|
|||
|
against other hackers. You write a program for your tank, set it out
|
|||
|
on the battlefield, and watch how your program fares against tanks
|
|||
|
written by other players. Dirtbags Tanks is frequently a component of
|
|||
|
<a href="/ctf/">Dirtbags Capture The Flag</a>.</p>
|
|||
|
|
|||
|
<p>Each tank has a turret-mounted laser, two treads, up to ten sensors,
|
|||
|
and a diagnostic LED. Sensors are used to detect when other tanks are
|
|||
|
inside a given arc. In the examples on this page, “triggered” sensors
|
|||
|
turn black. Most tanks will take some action if a sensor is
|
|||
|
triggered, such as changing speed of the treads, turning the turret,
|
|||
|
or firing.</p>
|
|||
|
|
|||
|
<p>Tanks are programmed in Forf, a stack-based language similar to
|
|||
|
PostScript.</p>
|
|||
|
|
|||
|
<h2 id="other-versions">Other Versions</h2>
|
|||
|
|
|||
|
<p>Everybody loves tanks!
|
|||
|
If you’ve made a port or done something fun with it,
|
|||
|
please let me know and I’ll link it here!</p>
|
|||
|
|
|||
|
<ul>
|
|||
|
<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>
|
|||
|
</ul>
|
|||
|
|
|||
|
<h2 id="author">Author</h2>
|
|||
|
|
|||
|
<p>Neale Pickett <a href="mailto:neale@woozle.org">neale@woozle.org</a></p>
|
|||
|
|
|||
|
|
|||
|
<nav>
|
|||
|
<ul>
|
|||
|
<li><a href="/">Home</a></li>
|
|||
|
<li><a href="/running">Running</a></li>
|
|||
|
<li><a href="/history">History</a></li>
|
|||
|
<li><a href="/thanks">Thanks</a></li>
|
|||
|
<li><a href="https://github.com/dirtbags/tanks" title="Tanks on Github">Source</a></li>
|
|||
|
</ul>
|
|||
|
</nav>
|
|||
|
</body>
|
|||
|
</html>
|