diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2021-11-26 20:17:43 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2021-11-26 20:17:43 +1300 |
commit | 14025d22ce3d66c9d235e57221ec4653e00f972c (patch) | |
tree | dac7c0f2cd22007aa1c396b460a1f2d90445a4d3 /project/templates/sokoban.xhtml | |
parent | 03ea6ba48bfbb25dc74a0a369b5aa15bf10e91b9 (diff) |
Switched to .xhtml extension, fixed some minor bugs
Diffstat (limited to 'project/templates/sokoban.xhtml')
-rw-r--r-- | project/templates/sokoban.xhtml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/project/templates/sokoban.xhtml b/project/templates/sokoban.xhtml new file mode 100644 index 0000000..0ce990a --- /dev/null +++ b/project/templates/sokoban.xhtml @@ -0,0 +1,38 @@ + +{%- extends "base.xhtml" -%} + + + +{%- block title -%}Sokoban Clone{%- endblock -%} + + + +{%- block content %} +<h4>Sokoban Clone</h4> + +<p>Git repository: <a href="/cgi-bin/cgit.cgi/sokoban">Link</a></p> + +<h5>8/8/2017</h5> + +<p>Back when I was studying computer science at university, there was an assignment involving +<a href="https://en.wikipedia.org/wiki/Sokoban" class="external">Sokoban</a>. We were tasked with +completing a half written implementation in Java and Swing. This is not that implementation. It is, +however, based on it. Recently while going over old notes I found the assignment. The submission I +had originally made is lost to time, but it seemed like a nice quick diversion to get some more use +out of the FLTK Ada binding.</p> + +<div class="figure"> + <img src="/img/sokoban_level0.png" + alt="The first level" + height="568" + width="764" /> + <div class="figcaption">The first level</div> +</div> + +<p>This is a vanilla version, so the only mechanic is pushing blocks to specific goal tiles. +Controls are simple enough that instructions can be left permanently written at the bottom of the +window. An <a href="https://brilliant.org/wiki/a-star-search/" class="external">A* Search</a> +algorithm is used for the mouse control.</p> +{% endblock -%} + + |