Permalink
Browse files

Announce that Super Wumpus Land is playable online.

  • Loading branch information...
cpressey committed Mar 24, 2013
1 parent 72fe4e7 commit 81bcc0de5cc9d0faa93a942bad64edd2ffb9c863
Showing with 28 additions and 1 deletion.
  1. +14 −0 data/news.yaml
  2. +12 −0 data/original-platforms.yaml
  3. +2 −1 src/chrysoberyl/transformer.py
View
@@ -1,3 +1,17 @@
+"Super Wumpus Land now playable online":
+ type: Article
+ article-type: announcement
+ publication-date: Sun, 24 Mar 2013 12:28:33 GMT
+ blurb: |
+ [[Super Wumpus Land]] is now [[Super Wumpus Land (HTML5)|playable online]].
+ description: |
+ [[Super Wumpus Land]], our silly "extended dance mix" version of
+ [[Hunt the Wumpus]], has been converted to [[Javascript]], and is now
+ playable online here: [[Super Wumpus Land (HTML5)]].
+
+ This new implementation uses modules from [[yoob.js]] to simulate
+ a text-based terminal on an [[HTML5]] `<canvas>` element.
+
"Oops, I just turned Chrysoberyl into a blogging platform":
type: Article
article-type: announcement
@@ -82,6 +82,7 @@ tc.catseye.yoob:
- yoob
implementation-type: framework
in-distribution: yoob distribution
+ generally-recommended: true
license: Public Domain
host-language: Java
@@ -98,3 +99,14 @@ yoob distribution:
- version: "0.3"
revision: "2011.0920"
url: http://catseye.tc/distfiles/yoob-0.3-2011.0920.zip
+
+yoob.js:
+ type: Implementation
+ implementation-of:
+ - yoob
+ implementation-type: framework
+ license: Public Domain
+ host-language: Javascript
+ description: |
+ yoob.js is not strictly an implementation of yoob. In fact, it's
+ a different framework. But for now, you can think of it that way.
@@ -73,8 +73,9 @@ def convert_chrysoberyl_data(data):
for field in node.keys():
new_fields[field.replace('-', '_')] = node[field]
node.update(new_fields)
- for field in ('summary', 'description', 'commentary', 'blurb'):
+ for field in ('summary', 'description', 'commentary'):
node[field + '_html'] = markdown_field(data, node, field)
+ node['blurb_html'] = markdown_field(data, node, 'blurb', prefix='node/')
if node['blurb_html'] is not None:
match = re.match(r'^\s*\<p\>(.*?)\<\/p\>\s*$', node['blurb_html'])
if match:

0 comments on commit 81bcc0d

Please sign in to comment.