From 14025d22ce3d66c9d235e57221ec4653e00f972c Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Fri, 26 Nov 2021 20:17:43 +1300 Subject: Switched to .xhtml extension, fixed some minor bugs --- project/templates/sokoban.xhtml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 project/templates/sokoban.xhtml (limited to 'project/templates/sokoban.xhtml') 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 %} +

Sokoban Clone

+ +

Git repository: Link

+ +
8/8/2017
+ +

Back when I was studying computer science at university, there was an assignment involving +Sokoban. 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.

+ +
+ The first level +
The first level
+
+ +

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* Search +algorithm is used for the mouse control.

+{% endblock -%} + + -- cgit