Improved tutorial

This commit is contained in:
Thomas FORGIONE
2015-07-30 13:11:28 +02:00
parent c690accd4b
commit 3e442500ca
10 changed files with 59 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
module.exports.index = function(req, res) {
res.setHeader('Content-Type', 'text/html');
res.render('index.jade', res.locals, function(err, result) {
res.send(result);
});
};

View File

@@ -0,0 +1,3 @@
module.exports = {
'/before-begin': 'index',
};

View File

@@ -0,0 +1,12 @@
extends ../../../views/base.jade
block content
h1 Now, things are getting serious
p.
You completed the tutorial ! Now, things are getting serious. There
will be three scenes coming to you. Your mission is simple : you have
to find the 8 red coins. There may be recommendations like the ones you
saw in the tutorial : they are here to help you to move around. Use
them if they help you, ignore them if they seem useless.
p You can start <a href='/prototype/arrows'>when you're ready</a> !